3.0 source code
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
ECHO OFF
|
||||
SET DB_CONFIG_FILE=config_db.tmp
|
||||
SET DB_NAME=coAuthoring
|
||||
|
||||
ECHO.
|
||||
ECHO ----------------------------------------
|
||||
ECHO Configure %DB_NAME% database
|
||||
ECHO ----------------------------------------
|
||||
|
||||
ECHO db.createCollection("messages") > %DB_CONFIG_FILE%
|
||||
ECHO db.messages.ensureIndex({"docid":1}) >> %DB_CONFIG_FILE%
|
||||
ECHO db.createCollection("changes") >> %DB_CONFIG_FILE%
|
||||
ECHO db.changes.ensureIndex({"docid":1}) >> %DB_CONFIG_FILE%
|
||||
ECHO exit >> %DB_CONFIG_FILE%
|
||||
|
||||
call %~dp0..\mongodb\bin\mongo.exe %DB_NAME% < %DB_CONFIG_FILE% || exit /b 1
|
||||
|
||||
DEL /Q %DB_CONFIG_FILE%
|
||||
|
||||
exit /b 0
|
||||
@@ -1,22 +0,0 @@
|
||||
ECHO OFF
|
||||
|
||||
SET RUN_FOLDER=%CD%
|
||||
|
||||
CD /D %~dp0..\ || exit /b 1
|
||||
|
||||
ECHO.
|
||||
ECHO ----------------------------------------
|
||||
ECHO Install node.js modules
|
||||
ECHO ----------------------------------------
|
||||
|
||||
call npm install express@3.4.8 --production || exit /b 1
|
||||
call npm install underscore@1.5.2 --production || exit /b 1
|
||||
call npm install sockjs@0.3.8 --production|| exit /b 1
|
||||
call npm install mongodb@1.1.4 --production || exit /b 1
|
||||
|
||||
cd /D ..\Common || exit /b 1
|
||||
call npm install log4js@0.6.2 --production || exit /b 1
|
||||
|
||||
CD /D %RUN_FOLDER% || exit /b 1
|
||||
|
||||
exit /b 0
|
||||
@@ -1,5 +0,0 @@
|
||||
SET DB_FILE_PATH=..\data\db
|
||||
IF NOT EXIST %DB_FILE_PATH% MKDIR %DB_FILE_PATH%
|
||||
|
||||
call ..\mongodb\bin\mongod.exe --journal --dbpath "%DB_FILE_PATH%"
|
||||
pause
|
||||
@@ -1,2 +0,0 @@
|
||||
call node --debug ../sources/server.js
|
||||
pause
|
||||
13
NodeJsProjects/CoAuthoring/package.json
Normal file
13
NodeJsProjects/CoAuthoring/package.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "coauthoring",
|
||||
"version": "1.0.0",
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"express": "4.12.3",
|
||||
"sockjs": "0.3.15",
|
||||
"underscore": "1.8.2",
|
||||
"mysql": "2.6.1",
|
||||
"pg": "4.3.0"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
208
NodeJsProjects/CoAuthoring/sources/baseConnector.js
Normal file
208
NodeJsProjects/CoAuthoring/sources/baseConnector.js
Normal file
@@ -0,0 +1,208 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var sqlDataBaseType = {
|
||||
mySql: "mysql",
|
||||
postgreSql: "postgres"
|
||||
};
|
||||
var config = require("./config.json");
|
||||
var configSql = config["sql"];
|
||||
var baseConnector = (sqlDataBaseType.mySql === configSql["type"]) ? require("./mySqlBaseConnector") : require("./postgreSqlBaseConnector");
|
||||
var tableChanges = configSql["tableChanges"],
|
||||
tableCallbacks = configSql["tableCallbacks"],
|
||||
tableResult = configSql["tableResult"],
|
||||
tablePucker = configSql["tablePucker"];
|
||||
var g_oCriticalSection = {};
|
||||
var maxPacketSize = configSql["max_allowed_packet"];
|
||||
function getDataFromTable(tableId, data, getCondition, callback) {
|
||||
var table = getTableById(tableId);
|
||||
var sqlCommand = "SELECT " + data + " FROM " + table + " WHERE " + getCondition + ";";
|
||||
baseConnector.sqlQuery(sqlCommand, callback);
|
||||
}
|
||||
function deleteFromTable(tableId, deleteCondition) {
|
||||
var table = getTableById(tableId);
|
||||
var sqlCommand = "DELETE FROM " + table + " WHERE " + deleteCondition + ";";
|
||||
baseConnector.sqlQuery(sqlCommand);
|
||||
}
|
||||
var c_oTableId = {
|
||||
pucker: 1,
|
||||
callbacks: 2,
|
||||
changes: 3
|
||||
};
|
||||
function getTableById(id) {
|
||||
var res;
|
||||
switch (id) {
|
||||
case c_oTableId.pucker:
|
||||
res = tablePucker;
|
||||
break;
|
||||
case c_oTableId.callbacks:
|
||||
res = tableCallbacks;
|
||||
break;
|
||||
case c_oTableId.changes:
|
||||
res = tableChanges;
|
||||
break;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
exports.tableId = c_oTableId;
|
||||
exports.loadTable = function (tableId, callbackFunction) {
|
||||
var table = getTableById(tableId);
|
||||
var sqlCommand = "SELECT * FROM " + table + ";";
|
||||
baseConnector.sqlQuery(sqlCommand, callbackFunction);
|
||||
};
|
||||
exports.insertInTable = function (tableId) {
|
||||
var table = getTableById(tableId);
|
||||
var sqlCommand = "INSERT INTO " + table + " VALUES (";
|
||||
for (var i = 1, l = arguments.length; i < l; ++i) {
|
||||
sqlCommand += "'" + arguments[i] + "'";
|
||||
if (i !== l - 1) {
|
||||
sqlCommand += ",";
|
||||
}
|
||||
}
|
||||
sqlCommand += ");";
|
||||
baseConnector.sqlQuery(sqlCommand);
|
||||
};
|
||||
exports.insertChanges = function (objChanges, docId, index, user) {
|
||||
lockCriticalSection(docId, function () {
|
||||
_insertChanges(0, objChanges, docId, index, user);
|
||||
});
|
||||
};
|
||||
function _lengthInUtf8Bytes(s) {
|
||||
return~ - encodeURI(s).split(/%..|./).length;
|
||||
}
|
||||
function _getDateTime(nTime) {
|
||||
var oDate = new Date(nTime);
|
||||
return oDate.getUTCFullYear() + "-" + ("0" + (oDate.getUTCMonth() + 1)).slice(-2) + "-" + ("0" + oDate.getUTCDate()).slice(-2) + " " + ("0" + oDate.getUTCHours()).slice(-2) + ":" + ("0" + oDate.getUTCMinutes()).slice(-2) + ":" + ("0" + oDate.getUTCSeconds()).slice(-2);
|
||||
}
|
||||
function _insertChanges(startIndex, objChanges, docId, index, user) {
|
||||
var sqlCommand = "INSERT INTO " + tableChanges + " VALUES";
|
||||
var i = startIndex,
|
||||
l = objChanges.length,
|
||||
sqlNextRow = "",
|
||||
lengthUtf8Current = 0,
|
||||
lengthUtf8Row = 0;
|
||||
if (i === l) {
|
||||
return;
|
||||
}
|
||||
for (; i < l; ++i, ++index) {
|
||||
sqlNextRow = "('" + docId + "','" + index + "','" + user.id + "','" + user.idOriginal + "'," + baseConnector.sqlEscape(user.name) + ",'" + objChanges[i].change + "','" + _getDateTime(objChanges[i].time) + "')";
|
||||
lengthUtf8Row = _lengthInUtf8Bytes(sqlNextRow) + 1;
|
||||
if (i === startIndex) {
|
||||
lengthUtf8Current = _lengthInUtf8Bytes(sqlCommand);
|
||||
sqlCommand += sqlNextRow;
|
||||
} else {
|
||||
if (lengthUtf8Row + lengthUtf8Current >= maxPacketSize) {
|
||||
sqlCommand += ";";
|
||||
(function (tmpStart, tmpIndex) {
|
||||
baseConnector.sqlQuery(sqlCommand, function () {
|
||||
_insertChanges(tmpStart, objChanges, docId, tmpIndex, user);
|
||||
});
|
||||
})(i, index);
|
||||
return;
|
||||
} else {
|
||||
sqlCommand += ",";
|
||||
sqlCommand += sqlNextRow;
|
||||
}
|
||||
}
|
||||
lengthUtf8Current += lengthUtf8Row;
|
||||
}
|
||||
sqlCommand += ";";
|
||||
baseConnector.sqlQuery(sqlCommand, function () {
|
||||
unLockCriticalSection(docId);
|
||||
});
|
||||
}
|
||||
exports.deleteChanges = function (docId, deleteIndex) {
|
||||
lockCriticalSection(docId, function () {
|
||||
_deleteChanges(docId, deleteIndex);
|
||||
});
|
||||
};
|
||||
function _deleteChanges(docId, deleteIndex) {
|
||||
var sqlCommand = "DELETE FROM " + tableChanges + " WHERE dc_key='" + docId + "'";
|
||||
if (null !== deleteIndex) {
|
||||
sqlCommand += " AND dc_change_id >= " + deleteIndex;
|
||||
}
|
||||
sqlCommand += ";";
|
||||
baseConnector.sqlQuery(sqlCommand, function () {
|
||||
unLockCriticalSection(docId);
|
||||
});
|
||||
}
|
||||
exports.deleteCallback = function (docId) {
|
||||
deleteFromTable(c_oTableId.callbacks, "dc_key='" + docId + "'");
|
||||
};
|
||||
exports.deletePucker = function (docId) {
|
||||
deleteFromTable(c_oTableId.pucker, "dp_key='" + docId + "'");
|
||||
};
|
||||
exports.getChanges = function (docId, callback) {
|
||||
lockCriticalSection(docId, function () {
|
||||
_getChanges(docId, callback);
|
||||
});
|
||||
};
|
||||
function _getChanges(docId, callback) {
|
||||
getDataFromTable(c_oTableId.changes, "*", "dc_key='" + docId + "'", function (error, result) {
|
||||
unLockCriticalSection(docId);
|
||||
if (callback) {
|
||||
callback(error, result);
|
||||
}
|
||||
});
|
||||
}
|
||||
exports.checkStatusFile = function (docId, callbackFunction) {
|
||||
var sqlCommand = "SELECT tr_status FROM " + tableResult + " WHERE tr_key='" + docId + "';";
|
||||
baseConnector.sqlQuery(sqlCommand, callbackFunction);
|
||||
};
|
||||
exports.updateStatusFile = function (docId) {
|
||||
var sqlCommand = "UPDATE " + tableResult + " SET tr_status=1 WHERE tr_key='" + docId + "';";
|
||||
baseConnector.sqlQuery(sqlCommand);
|
||||
};
|
||||
exports.updateIndexUser = function (docId, indexUser) {
|
||||
var sqlCommand = "UPDATE " + tablePucker + " SET dp_indexUser=" + indexUser + " WHERE dp_key='" + docId + "' AND dp_indexUser<" + indexUser + ";";
|
||||
baseConnector.sqlQuery(sqlCommand);
|
||||
};
|
||||
exports.isLockCriticalSection = function (id) {
|
||||
return !! (g_oCriticalSection[id]);
|
||||
};
|
||||
function lockCriticalSection(id, callback) {
|
||||
if (g_oCriticalSection[id]) {
|
||||
g_oCriticalSection[id].push(callback);
|
||||
return;
|
||||
}
|
||||
g_oCriticalSection[id] = [];
|
||||
g_oCriticalSection[id].push(callback);
|
||||
callback();
|
||||
}
|
||||
function unLockCriticalSection(id) {
|
||||
var arrCallbacks = g_oCriticalSection[id];
|
||||
arrCallbacks.shift();
|
||||
if (0 < arrCallbacks.length) {
|
||||
arrCallbacks[0]();
|
||||
} else {
|
||||
delete g_oCriticalSection[id];
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,25 @@
|
||||
{
|
||||
"server": {
|
||||
"port": 8000,
|
||||
"mode": "development"
|
||||
},
|
||||
"no_mongodb": {
|
||||
"host": "localhost",
|
||||
"port": 8000,
|
||||
"database": "coAuthoring"
|
||||
}
|
||||
{
|
||||
"server": {
|
||||
"port": 8000,
|
||||
"mode": "development"
|
||||
},
|
||||
"nono_mongodb": {
|
||||
"host": "localhost",
|
||||
"port": 8000,
|
||||
"database": "coAuthoring"
|
||||
},
|
||||
"sql": {
|
||||
"type" : "mysql",
|
||||
"tableChanges" : "doc_changes",
|
||||
"tableCallbacks" : "doc_callbacks",
|
||||
"tableResult" : "tast_result",
|
||||
"tablePucker" : "doc_pucker",
|
||||
"host" : "localhost",
|
||||
"dbport" : 3306,
|
||||
"database" : "canvaseditors",
|
||||
"user" : "canvas_usr",
|
||||
"pass" : "canvas_usr",
|
||||
"charset" : "utf8",
|
||||
"max_allowed_packet" : 1048575
|
||||
}
|
||||
}
|
||||
@@ -1,116 +1,114 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var mongoDB = require("mongodb");
|
||||
var config = require("./config.json");
|
||||
var _errorConnection = true;
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
function CreateDbClient() {
|
||||
return new mongoDB.Db(config["mongodb"]["database"], new mongoDB.Server(config["mongodb"]["host"], config["mongodb"]["port"], {
|
||||
auto_reconnect: true
|
||||
}), {
|
||||
safe: false
|
||||
});
|
||||
}
|
||||
exports.insert = function (_collectionName, _newElement) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return;
|
||||
}
|
||||
_db.open(function (err, db) {
|
||||
if (!err) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
if (!err) {
|
||||
collection.insert(_newElement);
|
||||
} else {
|
||||
logger.error("Error collection");
|
||||
return;
|
||||
}
|
||||
db.close();
|
||||
});
|
||||
} else {
|
||||
logger.error("Error open database");
|
||||
return;
|
||||
}
|
||||
});
|
||||
};
|
||||
exports.remove = function (_collectionName, _removeElements) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return;
|
||||
}
|
||||
_db.open(function (err, db) {
|
||||
if (!err) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
if (!err) {
|
||||
collection.remove(_removeElements, function (err, collection) {
|
||||
logger.info("All elements remove");
|
||||
});
|
||||
} else {
|
||||
logger.error("Error collection");
|
||||
return;
|
||||
}
|
||||
db.close();
|
||||
});
|
||||
} else {
|
||||
logger.error("Error open database");
|
||||
return;
|
||||
}
|
||||
});
|
||||
};
|
||||
exports.load = function (_collectionName, callbackFunction) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return callbackFunction(null);
|
||||
}
|
||||
var result = [];
|
||||
_db.open(function (err, db) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
collection.find(function (err, cursor) {
|
||||
cursor.each(function (err, item) {
|
||||
if (item != null) {
|
||||
if (!result.hasOwnProperty(item.docid)) {
|
||||
result[item.docid] = [item];
|
||||
} else {
|
||||
result[item.docid].push(item);
|
||||
}
|
||||
} else {
|
||||
callbackFunction(result);
|
||||
}
|
||||
});
|
||||
db.close();
|
||||
});
|
||||
});
|
||||
});
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var mongoDB = require("mongodb");
|
||||
var config = require("./config.json");
|
||||
var _errorConnection = true;
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
function CreateDbClient() {
|
||||
return new mongoDB.Db(config["mongodb"]["database"], new mongoDB.Server(config["mongodb"]["host"], config["mongodb"]["port"], {
|
||||
auto_reconnect: true
|
||||
}), {
|
||||
safe: false
|
||||
});
|
||||
}
|
||||
exports.insert = function (_collectionName, _newElement) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return;
|
||||
}
|
||||
_db.open(function (err, db) {
|
||||
if (!err) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
if (!err) {
|
||||
collection.insert(_newElement);
|
||||
} else {
|
||||
logger.error("Error collection");
|
||||
return;
|
||||
}
|
||||
db.close();
|
||||
});
|
||||
} else {
|
||||
logger.error("Error open database");
|
||||
}
|
||||
});
|
||||
};
|
||||
exports.remove = function (_collectionName, _removeElements) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return;
|
||||
}
|
||||
_db.open(function (err, db) {
|
||||
if (!err) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
if (!err) {
|
||||
collection.remove(_removeElements, function (err, collection) {
|
||||
logger.info("All elements remove");
|
||||
});
|
||||
} else {
|
||||
logger.error("Error collection");
|
||||
return;
|
||||
}
|
||||
db.close();
|
||||
});
|
||||
} else {
|
||||
logger.error("Error open database");
|
||||
}
|
||||
});
|
||||
};
|
||||
exports.load = function (_collectionName, callbackFunction) {
|
||||
var _db = CreateDbClient();
|
||||
if (!_db) {
|
||||
logger.error("Error _db");
|
||||
return callbackFunction(null);
|
||||
}
|
||||
var result = [];
|
||||
_db.open(function (err, db) {
|
||||
db.collection(_collectionName, function (err, collection) {
|
||||
collection.find(function (err, cursor) {
|
||||
cursor.each(function (err, item) {
|
||||
if (item != null) {
|
||||
if (!result.hasOwnProperty(item.docid)) {
|
||||
result[item.docid] = [item];
|
||||
} else {
|
||||
result[item.docid].push(item);
|
||||
}
|
||||
} else {
|
||||
callbackFunction(result);
|
||||
}
|
||||
});
|
||||
db.close();
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
69
NodeJsProjects/CoAuthoring/sources/mySqlBaseConnector.js
Normal file
69
NodeJsProjects/CoAuthoring/sources/mySqlBaseConnector.js
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var mysql = require("mysql");
|
||||
var config = require("./config.json");
|
||||
var configSql = config["sql"];
|
||||
var pool = mysql.createPool({
|
||||
host: configSql["host"],
|
||||
port: configSql["dbport"],
|
||||
user: configSql["user"],
|
||||
password: configSql["pass"],
|
||||
database: configSql["database"],
|
||||
charset: configSql["charset"]
|
||||
});
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
exports.sqlQuery = function (sqlCommand, callbackFunction) {
|
||||
pool.getConnection(function (err, connection) {
|
||||
if (err) {
|
||||
logger.error("pool.getConnection error: %s", err);
|
||||
if (callbackFunction) {
|
||||
callbackFunction(err, null);
|
||||
}
|
||||
return;
|
||||
}
|
||||
connection.query(sqlCommand, function (error, result) {
|
||||
connection.release();
|
||||
if (error) {
|
||||
logger.error("________________________error_____________________");
|
||||
logger.error("sqlQuery: %s sqlCommand: %s", error.code, sqlCommand);
|
||||
logger.error(error);
|
||||
logger.error("_____________________end_error_____________________");
|
||||
}
|
||||
if (callbackFunction) {
|
||||
callbackFunction(error, result);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
exports.sqlEscape = function (value) {
|
||||
return pool.escape(value);
|
||||
};
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var pg = require("pg");
|
||||
var config = require("./config.json");
|
||||
var configSql = config["sql"];
|
||||
var connectionString = "postgres://" + configSql["user"] + ":" + configSql["pass"] + "@" + configSql["host"] + (configSql["dbport"] ? (":" + configSql["dbport"]) : "") + "/" + configSql["database"];
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
exports.sqlQuery = function (sqlCommand, callbackFunction) {
|
||||
pg.connect(connectionString, function (err, connection, done) {
|
||||
if (err) {
|
||||
logger.error("pool.getConnection error: %s", err);
|
||||
if (callbackFunction) {
|
||||
callbackFunction(err, null);
|
||||
}
|
||||
return;
|
||||
}
|
||||
connection.query(sqlCommand, function (error, result) {
|
||||
done();
|
||||
if (error) {
|
||||
logger.error("sqlQuery: %s sqlCommand: %s", error.message, sqlCommand.slice(0, 50));
|
||||
}
|
||||
if (callbackFunction) {
|
||||
callbackFunction(error, result ? result.rows : result);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
exports.sqlEscape = function (value) {
|
||||
return value.replace(/(\')/g, "\\'");
|
||||
};
|
||||
@@ -1,71 +1,97 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var config = require("./config.json");
|
||||
process.env.NODE_ENV = config["server"]["mode"];
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
var express = require("express");
|
||||
var http = require("http");
|
||||
var https = require("https");
|
||||
var fs = require("fs");
|
||||
var app = express();
|
||||
var server = {};
|
||||
if (config["ssl"]) {
|
||||
var privateKey = fs.readFileSync(config["ssl"]["key"]).toString();
|
||||
var certificateKey = fs.readFileSync(config["ssl"]["cert"]).toString();
|
||||
var trustedCertificate = fs.readFileSync(config["ssl"]["ca"]).toString();
|
||||
var options = {
|
||||
key: privateKey,
|
||||
cert: certificateKey,
|
||||
ca: [trustedCertificate]
|
||||
};
|
||||
server = https.createServer(options, app);
|
||||
} else {
|
||||
server = http.createServer(app);
|
||||
}
|
||||
app.configure("development", function () {
|
||||
app.use(express.errorHandler({
|
||||
dumpExceptions: true,
|
||||
showStack: true
|
||||
}));
|
||||
});
|
||||
app.configure("production", function () {
|
||||
app.use(express.errorHandler());
|
||||
});
|
||||
var docsCoServer = require("./DocsCoServer");
|
||||
docsCoServer.install(server, function () {
|
||||
server.listen(config["server"]["port"], function () {
|
||||
logger.info("Express server listening on port %d in %s mode", config["server"]["port"], app.settings.env);
|
||||
});
|
||||
app.get("/index.html", function (req, res) {
|
||||
res.send("Server is functioning normally");
|
||||
});
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var cluster = require("cluster");
|
||||
var config = require("./config.json");
|
||||
process.env.NODE_ENV = config["server"]["mode"];
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
var workersCount = 1;
|
||||
if (cluster.isMaster) {
|
||||
logger.warn("start cluster with %s workers", workersCount);
|
||||
for (var nIndexWorker = 0; nIndexWorker < workersCount; ++nIndexWorker) {
|
||||
var worker = cluster.fork().process;
|
||||
logger.warn("worker %s started.", worker.pid);
|
||||
}
|
||||
cluster.on("exit", function (worker) {
|
||||
logger.warn("worker %s died. restart...", worker.process.pid);
|
||||
cluster.fork();
|
||||
});
|
||||
} else {
|
||||
var express = require("express"),
|
||||
http = require("http"),
|
||||
https = require("https"),
|
||||
fs = require("fs"),
|
||||
docsCoServer = require("./DocsCoServer"),
|
||||
app = express(),
|
||||
server = null;
|
||||
logger.warn("Express server starting...");
|
||||
var configSSL = config["ssl"];
|
||||
if (configSSL) {
|
||||
var privateKey = fs.readFileSync(configSSL["key"]).toString(),
|
||||
certificateKey = fs.readFileSync(configSSL["cert"]).toString(),
|
||||
trustedCertificate = fs.readFileSync(configSSL["ca"]).toString(),
|
||||
options = {
|
||||
key: privateKey,
|
||||
cert: certificateKey,
|
||||
ca: [trustedCertificate]
|
||||
};
|
||||
server = https.createServer(options, app);
|
||||
} else {
|
||||
server = http.createServer(app);
|
||||
}
|
||||
docsCoServer.install(server, function () {
|
||||
server.listen(config["server"]["port"], function () {
|
||||
logger.warn("Express server listening on port %d in %s mode", config["server"]["port"], app.settings.env);
|
||||
});
|
||||
app.get("/index.html", function (req, res) {
|
||||
res.send("Server is functioning normally. Version: " + docsCoServer.version);
|
||||
});
|
||||
app.get("/CommandService.ashx", onServiceCall);
|
||||
app.post("/CommandService.ashx", onServiceCall);
|
||||
function onServiceCall(req, res) {
|
||||
var result = docsCoServer.commandFromServer(req.query);
|
||||
result = JSON.stringify({
|
||||
"key": req.query.key,
|
||||
"error": result
|
||||
});
|
||||
res.setHeader("Content-Type", "application/json");
|
||||
res.setHeader("Content-Length", result.length);
|
||||
res.send(result);
|
||||
}
|
||||
});
|
||||
}
|
||||
process.on("uncaughtException", function (err) {
|
||||
logger.error((new Date).toUTCString() + " uncaughtException:", err.message);
|
||||
logger.error(err.stack);
|
||||
logger.shutdown(function () {
|
||||
process.exit(1);
|
||||
});
|
||||
});
|
||||
9
NodeJsProjects/Common/package.json
Normal file
9
NodeJsProjects/Common/package.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "common",
|
||||
"version": "1.0.0",
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"log4js": "0.6.22"
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,13 @@
|
||||
{
|
||||
"log": {
|
||||
"appenders": [
|
||||
{
|
||||
"type": "console"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"filename": "../logs/serverLogs.log"
|
||||
}
|
||||
],
|
||||
"replaceConsole": "true",
|
||||
"levels": {
|
||||
"nodeJS": "WARN"
|
||||
}
|
||||
}
|
||||
{
|
||||
"log": {
|
||||
"appenders": [
|
||||
{
|
||||
"type": "console"
|
||||
}
|
||||
],
|
||||
"replaceConsole": "true",
|
||||
"levels": {
|
||||
"nodeJS": "WARN"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,53 +1,56 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var config = require("./config.json");
|
||||
var log4js = require("log4js");
|
||||
log4js.configure(config["log"]);
|
||||
var logger = log4js.getLogger("nodeJS");
|
||||
exports.trace = function () {
|
||||
return logger.trace.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.debug = function () {
|
||||
return logger.debug.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.info = function () {
|
||||
return logger.info.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.warn = function () {
|
||||
return logger.warn.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.error = function () {
|
||||
return logger.error.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.fatal = function () {
|
||||
return logger.fatal.apply(logger, Array.prototype.slice.call(arguments));
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var config = require("./config.json");
|
||||
var log4js = require("log4js");
|
||||
log4js.configure(config["log"]);
|
||||
var logger = log4js.getLogger("nodeJS");
|
||||
exports.trace = function () {
|
||||
return logger.trace.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.debug = function () {
|
||||
return logger.debug.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.info = function () {
|
||||
return logger.info.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.warn = function () {
|
||||
return logger.warn.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.error = function () {
|
||||
return logger.error.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.fatal = function () {
|
||||
return logger.fatal.apply(logger, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
exports.shutdown = function (callback) {
|
||||
return log4js.shutdown(callback);
|
||||
};
|
||||
1687
NodeJsProjects/Common/sources/sockjs-0.3.min.js
vendored
Normal file
1687
NodeJsProjects/Common/sources/sockjs-0.3.min.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
SET UTF-8
|
||||
TRY ÖŞşçə'-öüABCDEFGHKLMNOPQRSTUVXYZğabcdefghijİklımnopqrstuvxyzÇ
|
||||
19132
NodeJsProjects/SpellChecker/Dictionaries/az_Latn_AZ/az_Latn_AZ.dic
Normal file
19132
NodeJsProjects/SpellChecker/Dictionaries/az_Latn_AZ/az_Latn_AZ.dic
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,391 +1,391 @@
|
||||
Toto rozšíření obsahuje české slovníky pro OpenOffice.org.
|
||||
|
||||
Kontrola pravopisu
|
||||
------------------
|
||||
|
||||
Toto je cesky slovnik pro kontrolu pravopisu zalozeny na ceskem slovniku
|
||||
pro ispell, verze z 29. 10. 2006, ktery vytvoril Petr Kolar spolu s desitkami
|
||||
dalsich prispevatelu.
|
||||
|
||||
Jsou v nem provedeny drobne zmeny nutne pro kompatibilitu s OpenOffice.org.
|
||||
|
||||
Slovnik je licencovan pod GNU/GPL licenci, ktera je prilozena nize.
|
||||
|
||||
|
||||
Slovník synonym
|
||||
---------------
|
||||
|
||||
Copyright (c) 1994,2008 Karel Pala, Jan Všianský
|
||||
pala@fi.muni.cz
|
||||
|
||||
Slovník můžete volně využívat v kancelářském balíku OpenOffice.org (a odvozených).
|
||||
Nesmíte jej upravovat nebo využívat pro komerční účely bez souhlasu autora.
|
||||
|
||||
|
||||
Slovník pro dělení slov
|
||||
-----------------------
|
||||
|
||||
Language: Czech (Czech Republic) (cs CZ).
|
||||
Origin: Based on the TeX hyphenation tables
|
||||
License: GPL license, 2003
|
||||
Author: Pavel@Janik.cz (Pavel Janík)
|
||||
|
||||
HYPH cs CZ hyph_cs
|
||||
|
||||
These patterns were converted from TeX hyphenation patterns by the package
|
||||
lingucomponent-tools
|
||||
(http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/oo-cs/lingucomponent-tools/).
|
||||
|
||||
The license of original files is GNU GPL (they are both parts of csTeX). My
|
||||
work on them was to only run the scripts from lingucomponent-tools package
|
||||
(dual LGPL/SISSL license so it can be integrated).
|
||||
--
|
||||
Pavel Janík
|
||||
2003
|
||||
|
||||
|
||||
|
||||
===============
|
||||
LICENSE
|
||||
===============
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) 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
|
||||
this service 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 make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. 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.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
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
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the 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 a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE 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.
|
||||
|
||||
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
|
||||
convey 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) 19yy <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 2 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, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision 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, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This 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 Library General
|
||||
Public License instead of this License.
|
||||
|
||||
Toto rozšíření obsahuje české slovníky pro OpenOffice.org.
|
||||
|
||||
Kontrola pravopisu
|
||||
------------------
|
||||
|
||||
Toto je cesky slovnik pro kontrolu pravopisu zalozeny na ceskem slovniku
|
||||
pro ispell, verze z 29. 10. 2006, ktery vytvoril Petr Kolar spolu s desitkami
|
||||
dalsich prispevatelu.
|
||||
|
||||
Jsou v nem provedeny drobne zmeny nutne pro kompatibilitu s OpenOffice.org.
|
||||
|
||||
Slovnik je licencovan pod GNU/GPL licenci, ktera je prilozena nize.
|
||||
|
||||
|
||||
Slovník synonym
|
||||
---------------
|
||||
|
||||
Copyright (c) 1994,2008 Karel Pala, Jan Všianský
|
||||
pala@fi.muni.cz
|
||||
|
||||
Slovník můžete volně využívat v kancelářském balíku OpenOffice.org (a odvozených).
|
||||
Nesmíte jej upravovat nebo využívat pro komerční účely bez souhlasu autora.
|
||||
|
||||
|
||||
Slovník pro dělení slov
|
||||
-----------------------
|
||||
|
||||
Language: Czech (Czech Republic) (cs CZ).
|
||||
Origin: Based on the TeX hyphenation tables
|
||||
License: GPL license, 2003
|
||||
Author: Pavel@Janik.cz (Pavel Janík)
|
||||
|
||||
HYPH cs CZ hyph_cs
|
||||
|
||||
These patterns were converted from TeX hyphenation patterns by the package
|
||||
lingucomponent-tools
|
||||
(http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/oo-cs/lingucomponent-tools/).
|
||||
|
||||
The license of original files is GNU GPL (they are both parts of csTeX). My
|
||||
work on them was to only run the scripts from lingucomponent-tools package
|
||||
(dual LGPL/SISSL license so it can be integrated).
|
||||
--
|
||||
Pavel Janík
|
||||
2003
|
||||
|
||||
|
||||
|
||||
===============
|
||||
LICENSE
|
||||
===============
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) 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
|
||||
this service 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 make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. 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.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
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
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the 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 a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE 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.
|
||||
|
||||
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
|
||||
convey 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) 19yy <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 2 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, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision 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, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This 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 Library General
|
||||
Public License instead of this License.
|
||||
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
|
||||
COMMENT OF THE EXTENSION OWNER
|
||||
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
This extension is compatible with:
|
||||
- ApacheOpenOffice (Version 3.4)
|
||||
- LibreOffice (Versions 3.3, 3.4, 3.5)
|
||||
- OpenOffice.org (Versions 3.0 or later)
|
||||
|
||||
Spell checking
|
||||
==============
|
||||
de-AT_frami
|
||||
Version: 2012-06-09
|
||||
Author: Franz Michael Baumann <fm.baumann@uni-muenster.de>
|
||||
Based on igerman98 dictionary:
|
||||
Version: 2012-06-07
|
||||
Author: Björn Jacke <bjoern@j3e.de>
|
||||
Download: http://www.j3e.de/ispell/igerman98/dict/
|
||||
License: GNU GPL Version 2 or GPL Version 3 or OASIS 0.1
|
||||
|
||||
The frami dictionary contains the complete word list of igerman98
|
||||
and in addition numerous supplements by Franz Michael Baumann according to
|
||||
the reform of 2006-08-01.
|
||||
|
||||
Hyphenation
|
||||
===========
|
||||
Version: 2012-06-09
|
||||
Enhanced blacklist to improve the hyphenation module by Karl Zeiler
|
||||
Authors: Marco Huggenberger <marco@by-night.ch>
|
||||
Daniel Naber <naber@danielnaber.de>
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
|
||||
Thesaurus
|
||||
=========
|
||||
OpenThesaurus - Deutscher Thesaurus - Synonyme und Assoziationen
|
||||
Version: 2012-06-15 AT
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
http://www.openthesaurus.de
|
||||
|
||||
Please note
|
||||
===========
|
||||
Detecting errors or missing words, please contact the extension owner:
|
||||
|
||||
COMMENT OF THE EXTENSION OWNER
|
||||
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
This extension is compatible with:
|
||||
- ApacheOpenOffice (Version 3.4)
|
||||
- LibreOffice (Versions 3.3, 3.4, 3.5)
|
||||
- OpenOffice.org (Versions 3.0 or later)
|
||||
|
||||
Spell checking
|
||||
==============
|
||||
de-AT_frami
|
||||
Version: 2012-06-09
|
||||
Author: Franz Michael Baumann <fm.baumann@uni-muenster.de>
|
||||
Based on igerman98 dictionary:
|
||||
Version: 2012-06-07
|
||||
Author: Björn Jacke <bjoern@j3e.de>
|
||||
Download: http://www.j3e.de/ispell/igerman98/dict/
|
||||
License: GNU GPL Version 2 or GPL Version 3 or OASIS 0.1
|
||||
|
||||
The frami dictionary contains the complete word list of igerman98
|
||||
and in addition numerous supplements by Franz Michael Baumann according to
|
||||
the reform of 2006-08-01.
|
||||
|
||||
Hyphenation
|
||||
===========
|
||||
Version: 2012-06-09
|
||||
Enhanced blacklist to improve the hyphenation module by Karl Zeiler
|
||||
Authors: Marco Huggenberger <marco@by-night.ch>
|
||||
Daniel Naber <naber@danielnaber.de>
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
|
||||
Thesaurus
|
||||
=========
|
||||
OpenThesaurus - Deutscher Thesaurus - Synonyme und Assoziationen
|
||||
Version: 2012-06-15 AT
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
http://www.openthesaurus.de
|
||||
|
||||
Please note
|
||||
===========
|
||||
Detecting errors or missing words, please contact the extension owner:
|
||||
Karl Zeiler <karl.zeiler@t-online.de>
|
||||
@@ -1,45 +1,45 @@
|
||||
|
||||
COMMENT OF THE EXTENSION OWNER
|
||||
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
This extension is compatible with:
|
||||
- ApacheOpenOffice (Version 3.4)
|
||||
- LibreOffice (Versions 3.3, 3.4, 3.5)
|
||||
- OpenOffice.org (Versions 3.0 or later)
|
||||
|
||||
Spell checking
|
||||
==============
|
||||
de-CH_frami
|
||||
Version: 2012-06-09
|
||||
Author: Franz Michael Baumann <fm.baumann@uni-muenster.de>
|
||||
Based on igerman98 dictionary:
|
||||
Version: 2012-06-07
|
||||
Author: Björn Jacke <bjoern@j3e.de>
|
||||
Download: http://www.j3e.de/ispell/igerman98/dict/
|
||||
License: GNU GPL Version 2 or GPL Version 3 or OASIS 0.1
|
||||
|
||||
The frami dictionary contains the complete word list of igerman98
|
||||
and in addition numerous supplements by Franz Michael Baumann according to
|
||||
the reform of 2006-08-01.
|
||||
|
||||
Hyphenation
|
||||
===========
|
||||
Version: 2012-06-09
|
||||
Enhanced blacklist to improve the hyphenation module by Karl Zeiler
|
||||
Authors: Marco Huggenberger <marco@by-night.ch>
|
||||
Daniel Naber <naber@danielnaber.de>
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
|
||||
Thesaurus
|
||||
=========
|
||||
OpenThesaurus - Deutscher Thesaurus - Synonyme und Assoziationen
|
||||
Version: 2012-06-15 CH
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
http://www.openthesaurus.de
|
||||
|
||||
Please note
|
||||
===========
|
||||
Detecting errors or missing words, please contact the extension owner:
|
||||
Karl Zeiler <karl.zeiler@t-online.de>
|
||||
|
||||
COMMENT OF THE EXTENSION OWNER
|
||||
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
This extension is compatible with:
|
||||
- ApacheOpenOffice (Version 3.4)
|
||||
- LibreOffice (Versions 3.3, 3.4, 3.5)
|
||||
- OpenOffice.org (Versions 3.0 or later)
|
||||
|
||||
Spell checking
|
||||
==============
|
||||
de-CH_frami
|
||||
Version: 2012-06-09
|
||||
Author: Franz Michael Baumann <fm.baumann@uni-muenster.de>
|
||||
Based on igerman98 dictionary:
|
||||
Version: 2012-06-07
|
||||
Author: Björn Jacke <bjoern@j3e.de>
|
||||
Download: http://www.j3e.de/ispell/igerman98/dict/
|
||||
License: GNU GPL Version 2 or GPL Version 3 or OASIS 0.1
|
||||
|
||||
The frami dictionary contains the complete word list of igerman98
|
||||
and in addition numerous supplements by Franz Michael Baumann according to
|
||||
the reform of 2006-08-01.
|
||||
|
||||
Hyphenation
|
||||
===========
|
||||
Version: 2012-06-09
|
||||
Enhanced blacklist to improve the hyphenation module by Karl Zeiler
|
||||
Authors: Marco Huggenberger <marco@by-night.ch>
|
||||
Daniel Naber <naber@danielnaber.de>
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
|
||||
Thesaurus
|
||||
=========
|
||||
OpenThesaurus - Deutscher Thesaurus - Synonyme und Assoziationen
|
||||
Version: 2012-06-15 CH
|
||||
License: GNU LGPL Version 2.1 or later
|
||||
http://www.openthesaurus.de
|
||||
|
||||
Please note
|
||||
===========
|
||||
Detecting errors or missing words, please contact the extension owner:
|
||||
Karl Zeiler <karl.zeiler@t-online.de>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1526
NodeJsProjects/SpellChecker/Dictionaries/en_AU/en_AU.aff
Normal file
1526
NodeJsProjects/SpellChecker/Dictionaries/en_AU/en_AU.aff
Normal file
File diff suppressed because it is too large
Load Diff
54288
NodeJsProjects/SpellChecker/Dictionaries/en_AU/en_AU.dic
Normal file
54288
NodeJsProjects/SpellChecker/Dictionaries/en_AU/en_AU.dic
Normal file
File diff suppressed because it is too large
Load Diff
11388
NodeJsProjects/SpellChecker/Dictionaries/en_AU/hyph_en_AU.dic
Normal file
11388
NodeJsProjects/SpellChecker/Dictionaries/en_AU/hyph_en_AU.dic
Normal file
File diff suppressed because it is too large
Load Diff
1150
NodeJsProjects/SpellChecker/Dictionaries/en_GB/en_GB.aff
Normal file
1150
NodeJsProjects/SpellChecker/Dictionaries/en_GB/en_GB.aff
Normal file
File diff suppressed because it is too large
Load Diff
47253
NodeJsProjects/SpellChecker/Dictionaries/en_GB/en_GB.dic
Normal file
47253
NodeJsProjects/SpellChecker/Dictionaries/en_GB/en_GB.dic
Normal file
File diff suppressed because it is too large
Load Diff
14334
NodeJsProjects/SpellChecker/Dictionaries/en_GB/hyph_en_GB.dic
Normal file
14334
NodeJsProjects/SpellChecker/Dictionaries/en_GB/hyph_en_GB.dic
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,22 +0,0 @@
|
||||
ECHO OFF
|
||||
|
||||
SET RUN_FOLDER=%CD%
|
||||
|
||||
CD /D %~dp0..\ || exit /b 1
|
||||
|
||||
ECHO.
|
||||
ECHO ----------------------------------------
|
||||
ECHO Build node.js module spellCheck (nodehun)
|
||||
ECHO ----------------------------------------
|
||||
|
||||
call npm list -g node-gyp || call npm install -g node-gyp || exit /b 1
|
||||
|
||||
XCOPY /S nodehun node_modules\nodehun\ /Y
|
||||
|
||||
cd /D node_modules\nodehun\src || exit /b 1
|
||||
call node-gyp configure || exit /b 1
|
||||
call node-gyp build || exit /b 1
|
||||
|
||||
CD /D %RUN_FOLDER% || exit /b 1
|
||||
|
||||
exit /b 0
|
||||
@@ -1,20 +0,0 @@
|
||||
ECHO OFF
|
||||
|
||||
SET RUN_FOLDER=%CD%
|
||||
|
||||
CD /D %~dp0..\ || exit /b 1
|
||||
|
||||
ECHO.
|
||||
ECHO ----------------------------------------
|
||||
ECHO Install node.js module spellCheck (nodehun)
|
||||
ECHO ----------------------------------------
|
||||
|
||||
call npm install express@3.4.8 --production || exit /b 1
|
||||
call npm install sockjs@0.3.8 --production || exit /b 1
|
||||
|
||||
cd /D ..\Common || exit /b 1
|
||||
call npm install log4js@0.6.2 --production || exit /b 1
|
||||
|
||||
CD /D %RUN_FOLDER% || exit /b 1
|
||||
|
||||
exit /b 0
|
||||
@@ -1,2 +0,0 @@
|
||||
call node --debug ../sources/server.js
|
||||
pause
|
||||
@@ -1,168 +1,168 @@
|
||||
# Microsoft Developer Studio Project File - Name="hunspell" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=hunspell - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "hunspell.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "hunspell.mak" CFG="hunspell - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "hunspell - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "hunspell - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "hunspell - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "W32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /D "W32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x40e /d "NDEBUG"
|
||||
# ADD RSC /l 0x40e /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "hunspell - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "W32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "W32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x40e /d "_DEBUG"
|
||||
# ADD RSC /l 0x40e /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "hunspell - Win32 Release"
|
||||
# Name "hunspell - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affentry.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affixmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\csutil.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dictmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hashmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hunspell.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\suggestmgr.cxx
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affentry.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affixmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\atypes.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\baseaffix.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\csutil.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dictmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hashmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\htypes.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\istrmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\langnum.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hunspell.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\suggestmgr.hxx
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
# Microsoft Developer Studio Project File - Name="hunspell" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||
|
||||
CFG=hunspell - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "hunspell.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "hunspell.mak" CFG="hunspell - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "hunspell - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "hunspell - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "hunspell - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "W32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /D "W32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x40e /d "NDEBUG"
|
||||
# ADD RSC /l 0x40e /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ELSEIF "$(CFG)" == "hunspell - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "W32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "W32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x40e /d "_DEBUG"
|
||||
# ADD RSC /l 0x40e /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=link.exe -lib
|
||||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "hunspell - Win32 Release"
|
||||
# Name "hunspell - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affentry.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affixmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\csutil.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dictmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hashmgr.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hunspell.cxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\suggestmgr.cxx
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affentry.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\affixmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\atypes.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\baseaffix.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\csutil.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dictmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hashmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\htypes.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\istrmgr.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\langnum.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\hunspell.hxx
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\suggestmgr.hxx
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,3,1,0
|
||||
PRODUCTVERSION 1,3,1,0
|
||||
FILEFLAGSMASK 0x17L
|
||||
FILEFLAGS 0
|
||||
FILEOS VOS_NT_WINDOWS32
|
||||
FILETYPE VFT_APP
|
||||
FILESUBTYPE VFT2_UNKNOWN
|
||||
BEGIN
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "Comments", "Hunspell (http://hunspell.sourceforge.net/) by L<>szl<7A> N<>meth"
|
||||
VALUE "CompanyName", "http://hunspell.sourceforge.net/"
|
||||
VALUE "FileDescription", "libhunspell"
|
||||
VALUE "FileVersion", "1.3.2"
|
||||
VALUE "InternalName", "libhunspell"
|
||||
VALUE "LegalCopyright", "Copyright (c) 2007-2011"
|
||||
VALUE "OriginalFilename", "libhunspell.dll"
|
||||
VALUE "ProductName", "Hunspell Dynamic Link Library"
|
||||
VALUE "ProductVersion", "1.3.2"
|
||||
END
|
||||
END
|
||||
END
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,3,1,0
|
||||
PRODUCTVERSION 1,3,1,0
|
||||
FILEFLAGSMASK 0x17L
|
||||
FILEFLAGS 0
|
||||
FILEOS VOS_NT_WINDOWS32
|
||||
FILETYPE VFT_APP
|
||||
FILESUBTYPE VFT2_UNKNOWN
|
||||
BEGIN
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "Comments", "Hunspell (http://hunspell.sourceforge.net/) by L<>szl<7A> N<>meth"
|
||||
VALUE "CompanyName", "http://hunspell.sourceforge.net/"
|
||||
VALUE "FileDescription", "libhunspell"
|
||||
VALUE "FileVersion", "1.3.2"
|
||||
VALUE "InternalName", "libhunspell"
|
||||
VALUE "LegalCopyright", "Copyright (c) 2007-2011"
|
||||
VALUE "OriginalFilename", "libhunspell.dll"
|
||||
VALUE "ProductName", "Hunspell Dynamic Link Library"
|
||||
VALUE "ProductVersion", "1.3.2"
|
||||
END
|
||||
END
|
||||
END
|
||||
|
||||
@@ -1,52 +1,52 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libhunspell", "libhunspell.vcproj", "{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testparser", "testparser.vcproj", "{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B} = {53609BB3-D874-465C-AF7B-DF626DB0D89B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hunspell", "hunspell.vcproj", "{6A0453F4-B12A-4810-B9A2-8AB059316ED7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B} = {53609BB3-D874-465C-AF7B-DF626DB0D89B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug_dll|Win32 = Debug_dll|Win32
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release_dll|Win32 = Release_dll|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.ActiveCfg = Debug_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.Build.0 = Debug_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.ActiveCfg = Release_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.Build.0 = Release_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.Build.0 = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.ActiveCfg = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.Build.0 = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.ActiveCfg = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.Build.0 = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.Build.0 = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.ActiveCfg = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.Build.0 = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.ActiveCfg = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.Build.0 = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libhunspell", "libhunspell.vcproj", "{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testparser", "testparser.vcproj", "{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B} = {53609BB3-D874-465C-AF7B-DF626DB0D89B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hunspell", "hunspell.vcproj", "{6A0453F4-B12A-4810-B9A2-8AB059316ED7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B} = {53609BB3-D874-465C-AF7B-DF626DB0D89B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug_dll|Win32 = Debug_dll|Win32
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release_dll|Win32 = Release_dll|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.ActiveCfg = Debug_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug_dll|Win32.Build.0 = Debug_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.ActiveCfg = Release_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release_dll|Win32.Build.0 = Release_dll|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.Build.0 = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.ActiveCfg = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug_dll|Win32.Build.0 = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.ActiveCfg = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release_dll|Win32.Build.0 = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}.Release|Win32.Build.0 = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.ActiveCfg = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug_dll|Win32.Build.0 = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.ActiveCfg = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release_dll|Win32.Build.0 = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{6A0453F4-B12A-4810-B9A2-8AB059316ED7}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
@@ -1,232 +1,232 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="hunspell"
|
||||
ProjectGUID="{6A0453F4-B12A-4810-B9A2-8AB059316ED7}"
|
||||
RootNamespace="hunspell"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
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="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="tools"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\tools\hunspell.cxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="parsers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="hunspell"
|
||||
ProjectGUID="{6A0453F4-B12A-4810-B9A2-8AB059316ED7}"
|
||||
RootNamespace="hunspell"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
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="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="tools"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\tools\hunspell.cxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="parsers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
[Project]
|
||||
FileName=hunspelldll.dev
|
||||
Name=Hunspell DLL
|
||||
UnitCount=3
|
||||
Type=3
|
||||
Ver=1
|
||||
ObjFiles=
|
||||
Includes="D:\New Folder\hunspell-1.1.4\src\hunspell"
|
||||
Libs="D:\New Folder\hunspell-1.1.4\src\hunspell"
|
||||
PrivateResource=
|
||||
ResourceIncludes=
|
||||
MakeIncludes=
|
||||
Compiler=-DBUILDING_DLL=1_@@_
|
||||
CppCompiler=-DBUILDING_DLL=1_@@_
|
||||
Linker=--no-export-all-symbols --add-stdcall-alias_@@_-lhunspell_@@_-lstdc++_@@_
|
||||
IsCpp=0
|
||||
Icon=
|
||||
ExeOutput=
|
||||
ObjectOutput=
|
||||
OverrideOutput=0
|
||||
OverrideOutputName=hunspelldll.dll
|
||||
HostApplication=
|
||||
Folders=
|
||||
CommandLine=
|
||||
UseCustomMakefile=0
|
||||
CustomMakefile=
|
||||
IncludeVersionInfo=0
|
||||
SupportXPThemes=0
|
||||
CompilerSet=0
|
||||
CompilerSettings=0000000001100000000100
|
||||
|
||||
[Unit2]
|
||||
FileName=hunspelldll.h
|
||||
CompileCpp=0
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit1]
|
||||
FileName=hunspelldll.c
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=$(CPP) -c hunspelldll.c -o hunspelldll.o $(CXXFLAGS)
|
||||
|
||||
[VersionInfo]
|
||||
Major=0
|
||||
Minor=1
|
||||
Release=1
|
||||
Build=1
|
||||
LanguageID=1033
|
||||
CharsetID=1252
|
||||
CompanyName=
|
||||
FileVersion=
|
||||
FileDescription=Developed using the Dev-C++ IDE
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=
|
||||
AutoIncBuildNr=0
|
||||
|
||||
[Unit3]
|
||||
FileName=..\hunspell\hunspell.hxx
|
||||
CompileCpp=0
|
||||
Folder=Project2
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Project]
|
||||
FileName=hunspelldll.dev
|
||||
Name=Hunspell DLL
|
||||
UnitCount=3
|
||||
Type=3
|
||||
Ver=1
|
||||
ObjFiles=
|
||||
Includes="D:\New Folder\hunspell-1.1.4\src\hunspell"
|
||||
Libs="D:\New Folder\hunspell-1.1.4\src\hunspell"
|
||||
PrivateResource=
|
||||
ResourceIncludes=
|
||||
MakeIncludes=
|
||||
Compiler=-DBUILDING_DLL=1_@@_
|
||||
CppCompiler=-DBUILDING_DLL=1_@@_
|
||||
Linker=--no-export-all-symbols --add-stdcall-alias_@@_-lhunspell_@@_-lstdc++_@@_
|
||||
IsCpp=0
|
||||
Icon=
|
||||
ExeOutput=
|
||||
ObjectOutput=
|
||||
OverrideOutput=0
|
||||
OverrideOutputName=hunspelldll.dll
|
||||
HostApplication=
|
||||
Folders=
|
||||
CommandLine=
|
||||
UseCustomMakefile=0
|
||||
CustomMakefile=
|
||||
IncludeVersionInfo=0
|
||||
SupportXPThemes=0
|
||||
CompilerSet=0
|
||||
CompilerSettings=0000000001100000000100
|
||||
|
||||
[Unit2]
|
||||
FileName=hunspelldll.h
|
||||
CompileCpp=0
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit1]
|
||||
FileName=hunspelldll.c
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=$(CPP) -c hunspelldll.c -o hunspelldll.o $(CXXFLAGS)
|
||||
|
||||
[VersionInfo]
|
||||
Major=0
|
||||
Minor=1
|
||||
Release=1
|
||||
Build=1
|
||||
LanguageID=1033
|
||||
CharsetID=1252
|
||||
CompanyName=
|
||||
FileVersion=
|
||||
FileDescription=Developed using the Dev-C++ IDE
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=
|
||||
AutoIncBuildNr=0
|
||||
|
||||
[Unit3]
|
||||
FileName=..\hunspell\hunspell.hxx
|
||||
CompileCpp=0
|
||||
Folder=Project2
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
|
||||
@@ -1,68 +1,68 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (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.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* Copyright (C) 2006
|
||||
* Miha Vrhovnik (http://simail.sf.net, http://xcollect.sf.net)
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** **/
|
||||
#include "hunspell.hxx"
|
||||
|
||||
#ifndef _DLL_H_
|
||||
#define _DLL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//returns pointer to spell object, params are aff file name and dict file name
|
||||
LIBHUNSPELL_DLL_EXPORTED void *hunspell_initialize(char *aff_file, char *dict_file);
|
||||
//frees spell object
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_uninitialize(Hunspell *pMS);
|
||||
//spellcheck word, returns 1 if word ok otherwise 0
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_spell(Hunspell *pMS, char *word);
|
||||
//suggest words for word, returns number of words in slst
|
||||
// YOU NEED TO CALL hunspell_suggest_free after you've done with words
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest(Hunspell *pMS, char *word, char ***slst);
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest_auto(Hunspell *pMS, char *word, char ***slst);
|
||||
//free slst array
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_free_list(Hunspell *pMS, char ***slst, int len);
|
||||
// deprecated (use hunspell_free_list)
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_suggest_free(Hunspell *pMS, char **slst, int len);
|
||||
//make local copy of returned string!!
|
||||
LIBHUNSPELL_DLL_EXPORTED char * hunspell_get_dic_encoding(Hunspell *pMS);
|
||||
//add word to dict (word is valid until spell object is not destroyed)
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_add(Hunspell *pMS, char *word);
|
||||
//add word to dict with affixes of the modelword (word is valid until spell object is not destroyed)
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_add_with_affix(Hunspell *pMS, char *word, char *modelword);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _DLL_H_ */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (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.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* Copyright (C) 2006
|
||||
* Miha Vrhovnik (http://simail.sf.net, http://xcollect.sf.net)
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** **/
|
||||
#include "hunspell.hxx"
|
||||
|
||||
#ifndef _DLL_H_
|
||||
#define _DLL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//returns pointer to spell object, params are aff file name and dict file name
|
||||
LIBHUNSPELL_DLL_EXPORTED void *hunspell_initialize(char *aff_file, char *dict_file);
|
||||
//frees spell object
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_uninitialize(Hunspell *pMS);
|
||||
//spellcheck word, returns 1 if word ok otherwise 0
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_spell(Hunspell *pMS, char *word);
|
||||
//suggest words for word, returns number of words in slst
|
||||
// YOU NEED TO CALL hunspell_suggest_free after you've done with words
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest(Hunspell *pMS, char *word, char ***slst);
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest_auto(Hunspell *pMS, char *word, char ***slst);
|
||||
//free slst array
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_free_list(Hunspell *pMS, char ***slst, int len);
|
||||
// deprecated (use hunspell_free_list)
|
||||
LIBHUNSPELL_DLL_EXPORTED void hunspell_suggest_free(Hunspell *pMS, char **slst, int len);
|
||||
//make local copy of returned string!!
|
||||
LIBHUNSPELL_DLL_EXPORTED char * hunspell_get_dic_encoding(Hunspell *pMS);
|
||||
//add word to dict (word is valid until spell object is not destroyed)
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_add(Hunspell *pMS, char *word);
|
||||
//add word to dict with affixes of the modelword (word is valid until spell object is not destroyed)
|
||||
LIBHUNSPELL_DLL_EXPORTED int hunspell_add_with_affix(Hunspell *pMS, char *word, char *modelword);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _DLL_H_ */
|
||||
|
||||
@@ -1,494 +1,494 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="libhunspell"
|
||||
ProjectGUID="{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
|
||||
RootNamespace="Hunspell"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="false"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalOptions="/MACHINE:X86"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release_dll|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILDING_LIBHUNSPELL;_CRT_SECURE_NO_DEPRECATE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="0"
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="Debug_dll|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;BUILDING_LIBHUNSPELL"
|
||||
MinimalRebuild="false"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="_Main"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\config.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Hunspell.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hunspelldll.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release_dll|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug_dll|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hunspelldll.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="hunspell"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\hunspell\affentry.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affentry.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affixmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affixmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\atypes.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\baseaffix.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\csutil.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\csutil.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\dictmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\dictmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\filemgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\filemgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hashmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hashmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\htypes.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunzip.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunzip.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\langnum.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\phonet.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\phonet.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\replist.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\replist.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\suggestmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\suggestmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\w_char.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="libhunspell"
|
||||
ProjectGUID="{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
|
||||
RootNamespace="Hunspell"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="false"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalOptions="/MACHINE:X86"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="false"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release_dll|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILDING_LIBHUNSPELL;_CRT_SECURE_NO_DEPRECATE"
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="1033"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="0"
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="Debug_dll|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="2"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="false"
|
||||
CharacterSet="2"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;BUILDING_LIBHUNSPELL"
|
||||
MinimalRebuild="false"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="_Main"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\config.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Hunspell.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hunspelldll.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release_dll|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug_dll|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
CompileAs="2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\hunspelldll.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="hunspell"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\hunspell\affentry.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affentry.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affixmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\affixmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\atypes.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\baseaffix.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\csutil.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\csutil.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\dictmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\dictmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\filemgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\filemgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hashmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hashmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\htypes.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunspell.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunzip.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\hunzip.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\langnum.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\phonet.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\phonet.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\replist.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\replist.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\suggestmgr.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\suggestmgr.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\hunspell\w_char.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,228 +1,228 @@
|
||||
<?xml version="1.0" encoding="windows-1257"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="testparser"
|
||||
ProjectGUID="{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}"
|
||||
RootNamespace="testparser"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
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="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="parsers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\testparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
<?xml version="1.0" encoding="windows-1257"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="testparser"
|
||||
ProjectGUID="{611BF6C7-332A-49BB-B2A3-80AFD5B785D9}"
|
||||
RootNamespace="testparser"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;_DEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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)$(ConfigurationName)\$(ProjectName)"
|
||||
IntermediateDirectory="$(ConfigurationName)\$(ProjectName)"
|
||||
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="3"
|
||||
InlineFunctionExpansion="2"
|
||||
AdditionalIncludeDirectories="..\hunspell;..\parsers;."
|
||||
PreprocessorDefinitions="W32;WIN32;NDEBUG;_CONSOLE;HUNSPELL_STATIC;_CRT_SECURE_NO_WARNINGS"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="false"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
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="parsers"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\firstparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\htmlparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\latexparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\manparser.hxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\testparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.cxx"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\parsers\textparser.hxx"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
10
NodeJsProjects/SpellChecker/package.json
Normal file
10
NodeJsProjects/SpellChecker/package.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "spellchecker",
|
||||
"version": "1.0.0",
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"express": "4.12.3",
|
||||
"sockjs": "0.3.15"
|
||||
}
|
||||
}
|
||||
@@ -1,36 +1,39 @@
|
||||
{
|
||||
"server": {
|
||||
"port": 8080,
|
||||
"mode": "development"
|
||||
},
|
||||
"dictionaries": [
|
||||
{"name": "ca_ES", "id": 1027},
|
||||
{"name": "cs_CZ", "id": 1029},
|
||||
{"name": "da_DK", "id": 1030},
|
||||
{"name": "de_DE", "id": 1031},
|
||||
{"name": "el_GR", "id": 1032},
|
||||
{"name": "en_US", "id": 1033},
|
||||
{"name": "fr_FR", "id": 1036},
|
||||
{"name": "hu_HU", "id": 1038},
|
||||
{"name": "it_IT", "id": 1040},
|
||||
{"name": "ko_KR", "id": 1042},
|
||||
{"name": "nl_NL", "id": 1043},
|
||||
{"name": "nb_NO", "id": 1044},
|
||||
{"name": "pl_PL", "id": 1045},
|
||||
{"name": "pt_BR", "id": 1046},
|
||||
{"name": "ro_RO", "id": 1048},
|
||||
{"name": "ru_RU", "id": 1049},
|
||||
{"name": "sk_SK", "id": 1051},
|
||||
{"name": "sv_SE", "id": 1053},
|
||||
{"name": "tr_TR", "id": 1055},
|
||||
{"name": "uk_UA", "id": 1058},
|
||||
{"name": "lv_LV", "id": 1062},
|
||||
{"name": "lt_LT", "id": 1063},
|
||||
{"name": "vi_VN", "id": 1066},
|
||||
{"name": "de_CH", "id": 2055},
|
||||
{"name": "nn_NO", "id": 2068},
|
||||
{"name": "pt_PT", "id": 2070},
|
||||
{"name": "de_AT", "id": 3079},
|
||||
{"name": "es_ES", "id": 3082}
|
||||
]
|
||||
{
|
||||
"server": {
|
||||
"port": 8080,
|
||||
"mode": "development"
|
||||
},
|
||||
"dictionaries": [
|
||||
{"name": "ca_ES", "id": 1027},
|
||||
{"name": "cs_CZ", "id": 1029},
|
||||
{"name": "da_DK", "id": 1030},
|
||||
{"name": "de_DE", "id": 1031},
|
||||
{"name": "el_GR", "id": 1032},
|
||||
{"name": "en_US", "id": 1033},
|
||||
{"name": "fr_FR", "id": 1036},
|
||||
{"name": "hu_HU", "id": 1038},
|
||||
{"name": "it_IT", "id": 1040},
|
||||
{"name": "ko_KR", "id": 1042},
|
||||
{"name": "nl_NL", "id": 1043},
|
||||
{"name": "nb_NO", "id": 1044},
|
||||
{"name": "pl_PL", "id": 1045},
|
||||
{"name": "pt_BR", "id": 1046},
|
||||
{"name": "ro_RO", "id": 1048},
|
||||
{"name": "ru_RU", "id": 1049},
|
||||
{"name": "sk_SK", "id": 1051},
|
||||
{"name": "sv_SE", "id": 1053},
|
||||
{"name": "tr_TR", "id": 1055},
|
||||
{"name": "uk_UA", "id": 1058},
|
||||
{"name": "lv_LV", "id": 1062},
|
||||
{"name": "lt_LT", "id": 1063},
|
||||
{"name": "vi_VN", "id": 1066},
|
||||
{"name": "az_Latn_AZ", "id": 1068},
|
||||
{"name": "de_CH", "id": 2055},
|
||||
{"name": "en_GB", "id": 2057},
|
||||
{"name": "nn_NO", "id": 2068},
|
||||
{"name": "pt_PT", "id": 2070},
|
||||
{"name": "de_AT", "id": 3079},
|
||||
{"name": "en_AU", "id": 3081},
|
||||
{"name": "es_ES", "id": 3082}
|
||||
]
|
||||
}
|
||||
@@ -1,71 +1,60 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var config = require("./config.json");
|
||||
process.env.NODE_ENV = config["server"]["mode"];
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
var express = require("express");
|
||||
var http = require("http");
|
||||
var https = require("https");
|
||||
var fs = require("fs");
|
||||
var app = express();
|
||||
var server = {};
|
||||
if (config["ssl"]) {
|
||||
var privateKey = fs.readFileSync(config["ssl"]["key"]).toString();
|
||||
var certificateKey = fs.readFileSync(config["ssl"]["cert"]).toString();
|
||||
var trustedCertificate = fs.readFileSync(config["ssl"]["ca"]).toString();
|
||||
var options = {
|
||||
key: privateKey,
|
||||
cert: certificateKey,
|
||||
ca: [trustedCertificate]
|
||||
};
|
||||
server = https.createServer(options, app);
|
||||
} else {
|
||||
server = http.createServer(app);
|
||||
}
|
||||
app.configure("development", function () {
|
||||
app.use(express.errorHandler({
|
||||
dumpExceptions: true,
|
||||
showStack: true
|
||||
}));
|
||||
});
|
||||
app.configure("production", function () {
|
||||
app.use(express.errorHandler());
|
||||
});
|
||||
var spellCheck = require("./spellCheck");
|
||||
spellCheck.install(server, function () {
|
||||
server.listen(config["server"]["port"], function () {
|
||||
logger.info("Express server listening on port %d in %s mode", config["server"]["port"], app.settings.env);
|
||||
});
|
||||
app.get("/index.html", function (req, res) {
|
||||
res.send("Server is functioning normally");
|
||||
});
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var config = require("./config.json");
|
||||
process.env.NODE_ENV = config["server"]["mode"];
|
||||
var logger = require("./../../Common/sources/logger");
|
||||
var express = require("express");
|
||||
var http = require("http");
|
||||
var https = require("https");
|
||||
var fs = require("fs");
|
||||
var app = express();
|
||||
var server = {};
|
||||
if (config["ssl"]) {
|
||||
var privateKey = fs.readFileSync(config["ssl"]["key"]).toString();
|
||||
var certificate = fs.readFileSync(config["ssl"]["cert"]).toString();
|
||||
var options = {
|
||||
key: privateKey,
|
||||
cert: certificate
|
||||
};
|
||||
server = https.createServer(options, app);
|
||||
} else {
|
||||
server = http.createServer(app);
|
||||
}
|
||||
var spellCheck = require("./spellCheck");
|
||||
spellCheck.install(server, function () {
|
||||
server.listen(config["server"]["port"], function () {
|
||||
logger.info("Express server listening on port %d in %s mode", config["server"]["port"], app.settings.env);
|
||||
});
|
||||
app.get("/index.html", function (req, res) {
|
||||
res.send("Server is functioning normally");
|
||||
});
|
||||
});
|
||||
@@ -1,131 +1,131 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var sockjs = require("sockjs"),
|
||||
nodehun = require("nodehun"),
|
||||
config = require("./config.json"),
|
||||
logger = require("./../../Common/sources/logger");
|
||||
var arrDictionaries = {};
|
||||
(function () {
|
||||
var arrDictionariesConfig = config["dictionaries"];
|
||||
var oDictTmp = null,
|
||||
pathTmp = "",
|
||||
oDictName = null;
|
||||
for (var indexDict = 0, lengthDict = arrDictionariesConfig.length; indexDict < lengthDict; ++indexDict) {
|
||||
oDictTmp = arrDictionariesConfig[indexDict];
|
||||
oDictName = oDictTmp.name;
|
||||
pathTmp = __dirname + "/../Dictionaries/" + oDictName + "/" + oDictName + ".";
|
||||
arrDictionaries[oDictTmp.id] = new nodehun.Dictionary(pathTmp + "aff", pathTmp + "dic");
|
||||
}
|
||||
})();
|
||||
exports.install = function (server, callbackFunction) {
|
||||
var sockjs_opts = {
|
||||
sockjs_url: "http://cdn.sockjs.org/sockjs-0.3.min.js"
|
||||
},
|
||||
sockjs_echo = sockjs.createServer(sockjs_opts),
|
||||
dataHandler;
|
||||
sockjs_echo.on("connection", function (conn) {
|
||||
if (null == conn) {
|
||||
logger.error("null == conn");
|
||||
return;
|
||||
}
|
||||
conn.on("data", function (message) {
|
||||
try {
|
||||
var data = JSON.parse(message);
|
||||
dataHandler[data.type](conn, data);
|
||||
} catch(e) {
|
||||
logger.error("error receiving response:" + e);
|
||||
}
|
||||
});
|
||||
conn.on("error", function () {
|
||||
logger.error("On error");
|
||||
});
|
||||
conn.on("close", function () {
|
||||
logger.info("Connection closed or timed out");
|
||||
});
|
||||
});
|
||||
function sendData(conn, data) {
|
||||
conn.write(JSON.stringify(data));
|
||||
}
|
||||
dataHandler = (function () {
|
||||
function spellCheck(conn, data) {
|
||||
function checkEnd() {
|
||||
if (0 === data.usrWordsLength) {
|
||||
sendData(conn, {
|
||||
type: "spellCheck",
|
||||
spellCheckData: JSON.stringify(data)
|
||||
});
|
||||
}
|
||||
}
|
||||
function spellSuggest(index, word, lang) {
|
||||
var oDictionary = arrDictionaries[lang];
|
||||
if (undefined === oDictionary) {
|
||||
data.usrCorrect[index] = false;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
} else {
|
||||
if ("spell" === data.type) {
|
||||
oDictionary.spellSuggest(word, function (a, b) {
|
||||
data.usrCorrect[index] = a;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
});
|
||||
} else {
|
||||
if ("suggest" === data.type) {
|
||||
oDictionary.spellSuggestions(word, function (a, b) {
|
||||
data.usrSuggest[index] = b;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
data = JSON.parse(data.spellCheckData);
|
||||
data.usrCorrect = [];
|
||||
data.usrSuggest = [];
|
||||
data.usrWordsLength = data.usrWords.length;
|
||||
for (var i = 0, length = data.usrWords.length; i < length; ++i) {
|
||||
spellSuggest(i, data.usrWords[i], data.usrLang[i]);
|
||||
}
|
||||
}
|
||||
return {
|
||||
spellCheck: spellCheck
|
||||
};
|
||||
} ());
|
||||
sockjs_echo.installHandlers(server, {
|
||||
prefix: "/doc/[0-9-.a-zA-Z_=]*/c",
|
||||
log: function (severity, message) {
|
||||
logger.info(message);
|
||||
}
|
||||
});
|
||||
callbackFunction();
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var sockjs = require("sockjs"),
|
||||
nodehun = require("nodehun"),
|
||||
config = require("./config.json"),
|
||||
logger = require("./../../Common/sources/logger");
|
||||
var arrDictionaries = {};
|
||||
(function () {
|
||||
var arrDictionariesConfig = config["dictionaries"];
|
||||
var oDictTmp = null,
|
||||
pathTmp = "",
|
||||
oDictName = null;
|
||||
for (var indexDict = 0, lengthDict = arrDictionariesConfig.length; indexDict < lengthDict; ++indexDict) {
|
||||
oDictTmp = arrDictionariesConfig[indexDict];
|
||||
oDictName = oDictTmp.name;
|
||||
pathTmp = __dirname + "/../Dictionaries/" + oDictName + "/" + oDictName + ".";
|
||||
arrDictionaries[oDictTmp.id] = new nodehun.Dictionary(pathTmp + "aff", pathTmp + "dic");
|
||||
}
|
||||
})();
|
||||
exports.install = function (server, callbackFunction) {
|
||||
var sockjs_opts = {
|
||||
sockjs_url: "./../../Common/sources/sockjs-0.3.min.js"
|
||||
},
|
||||
sockjs_echo = sockjs.createServer(sockjs_opts),
|
||||
dataHandler;
|
||||
sockjs_echo.on("connection", function (conn) {
|
||||
if (null == conn) {
|
||||
logger.error("null == conn");
|
||||
return;
|
||||
}
|
||||
conn.on("data", function (message) {
|
||||
try {
|
||||
var data = JSON.parse(message);
|
||||
dataHandler[data.type](conn, data);
|
||||
} catch(e) {
|
||||
logger.error("error receiving response:" + e);
|
||||
}
|
||||
});
|
||||
conn.on("error", function () {
|
||||
logger.error("On error");
|
||||
});
|
||||
conn.on("close", function () {
|
||||
logger.info("Connection closed or timed out");
|
||||
});
|
||||
});
|
||||
function sendData(conn, data) {
|
||||
conn.write(JSON.stringify(data));
|
||||
}
|
||||
dataHandler = (function () {
|
||||
function spellCheck(conn, data) {
|
||||
function checkEnd() {
|
||||
if (0 === data.usrWordsLength) {
|
||||
sendData(conn, {
|
||||
type: "spellCheck",
|
||||
spellCheckData: JSON.stringify(data)
|
||||
});
|
||||
}
|
||||
}
|
||||
function spellSuggest(index, word, lang) {
|
||||
var oDictionary = arrDictionaries[lang];
|
||||
if (undefined === oDictionary) {
|
||||
data.usrCorrect[index] = false;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
} else {
|
||||
if ("spell" === data.type) {
|
||||
oDictionary.spellSuggest(word, function (a, b) {
|
||||
data.usrCorrect[index] = a;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
});
|
||||
} else {
|
||||
if ("suggest" === data.type) {
|
||||
oDictionary.spellSuggestions(word, function (a, b) {
|
||||
data.usrSuggest[index] = b;
|
||||
--data.usrWordsLength;
|
||||
checkEnd();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
data = JSON.parse(data.spellCheckData);
|
||||
data.usrCorrect = [];
|
||||
data.usrSuggest = [];
|
||||
data.usrWordsLength = data.usrWords.length;
|
||||
for (var i = 0, length = data.usrWords.length; i < length; ++i) {
|
||||
spellSuggest(i, data.usrWords[i], data.usrLang[i]);
|
||||
}
|
||||
}
|
||||
return {
|
||||
spellCheck: spellCheck
|
||||
};
|
||||
} ());
|
||||
sockjs_echo.installHandlers(server, {
|
||||
prefix: "/doc/[0-9-.a-zA-Z_=]*/c",
|
||||
log: function (severity, message) {
|
||||
logger.info(message);
|
||||
}
|
||||
});
|
||||
callbackFunction();
|
||||
};
|
||||
Reference in New Issue
Block a user