[UPDATE] Include "precompiledHeaders.h" in several files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1200 f5eea248-9336-0410-98b8-ebc06183d4e3remotes/trunk
parent
545f4f943f
commit
1302b354ad
|
@ -5269,7 +5269,7 @@ struct Quote{
|
||||||
const char *_quote;
|
const char *_quote;
|
||||||
};
|
};
|
||||||
|
|
||||||
const int nbQuote = 194;
|
const int nbQuote = 195;
|
||||||
Quote quotes[nbQuote] = {
|
Quote quotes[nbQuote] = {
|
||||||
{"Notepad++", "Good programmers use Notepad++ to code.\nExtreme programmers use MS Word to code, in Comic Sans, center aligned."},
|
{"Notepad++", "Good programmers use Notepad++ to code.\nExtreme programmers use MS Word to code, in Comic Sans, center aligned."},
|
||||||
{"Martin Golding", "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."},
|
{"Martin Golding", "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."},
|
||||||
|
@ -5425,7 +5425,7 @@ Quote quotes[nbQuote] = {
|
||||||
{"Anonymous #121", "Thing to do today:\n1. Get up\n2. Go back to bed"},
|
{"Anonymous #121", "Thing to do today:\n1. Get up\n2. Go back to bed"},
|
||||||
{"Anonymous #122", "Nerd?\nI prefer the term \"Intellectual badass\"."},
|
{"Anonymous #122", "Nerd?\nI prefer the term \"Intellectual badass\"."},
|
||||||
{"Anonymous #123", "How can you face your problem if your problem is your face?"},
|
{"Anonymous #123", "How can you face your problem if your problem is your face?"},
|
||||||
//{"Anonymous #124", ""},
|
{"Anonymous #124", "You don't need religion to have morals.\nIf you can't determine right from wrong then you lack empathy, not religion."},
|
||||||
{"Anonymous #125", "Pooping with the door opened is the meaning of true freedom."},
|
{"Anonymous #125", "Pooping with the door opened is the meaning of true freedom."},
|
||||||
{"Anonymous #126", "Social media does not make people stupid.\nIt just makes stupid people more visible."},
|
{"Anonymous #126", "Social media does not make people stupid.\nIt just makes stupid people more visible."},
|
||||||
{"Anonymous #127", "Don't give up your dreams.\nKeep sleeping."},
|
{"Anonymous #127", "Don't give up your dreams.\nKeep sleeping."},
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "CharDistribution.h"
|
#include "CharDistribution.h"
|
||||||
|
|
||||||
#include "JISFreq.tab"
|
#include "JISFreq.tab"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nscore.h"
|
#include "nscore.h"
|
||||||
#include "JpCntx.h"
|
#include "JpCntx.h"
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
255: Control characters that usually does not exist in any text
|
255: Control characters that usually does not exist in any text
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
255: Control characters that usually does not exist in any text
|
255: Control characters that usually does not exist in any text
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
255: Control characters that usually does not exist in any text
|
255: Control characters that usually does not exist in any text
|
||||||
|
|
|
@ -1,213 +1,213 @@
|
||||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
/* ***** BEGIN LICENSE BLOCK *****
|
||||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License Version
|
* 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
|
* 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
|
* the License. You may obtain a copy of the License at
|
||||||
* http://www.mozilla.org/MPL/
|
* http://www.mozilla.org/MPL/
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
* for the specific language governing rights and limitations under the
|
* for the specific language governing rights and limitations under the
|
||||||
* License.
|
* License.
|
||||||
*
|
*
|
||||||
* The Original Code is Mozilla Communicator client code.
|
* The Original Code is Mozilla Communicator client code.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is
|
* The Initial Developer of the Original Code is
|
||||||
* Netscape Communications Corporation.
|
* Netscape Communications Corporation.
|
||||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
*
|
*
|
||||||
* Alternatively, the contents of this file may be used under the terms of
|
* 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
|
* 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"),
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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 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.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
255: Control characters that usually does not exist in any text
|
255: Control characters that usually does not exist in any text
|
||||||
254: Carriage/Return
|
254: Carriage/Return
|
||||||
253: symbol (punctuation) that does not belong to word
|
253: symbol (punctuation) that does not belong to word
|
||||||
252: 0 - 9
|
252: 0 - 9
|
||||||
|
|
||||||
*****************************************************************/
|
*****************************************************************/
|
||||||
|
|
||||||
//The following result for thai was collected from a limited sample (1M).
|
//The following result for thai was collected from a limited sample (1M).
|
||||||
|
|
||||||
//Character Mapping Table:
|
//Character Mapping Table:
|
||||||
static const unsigned char TIS620CharToOrderMap[] =
|
static const unsigned char TIS620CharToOrderMap[] =
|
||||||
{
|
{
|
||||||
255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255, //00
|
255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255, //00
|
||||||
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, //10
|
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, //10
|
||||||
+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253, //20
|
+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253, //20
|
||||||
252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253, //30
|
252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253, //30
|
||||||
253,182,106,107,100,183,184,185,101, 94,186,187,108,109,110,111, //40
|
253,182,106,107,100,183,184,185,101, 94,186,187,108,109,110,111, //40
|
||||||
188,189,190, 89, 95,112,113,191,192,193,194,253,253,253,253,253, //50
|
188,189,190, 89, 95,112,113,191,192,193,194,253,253,253,253,253, //50
|
||||||
253, 64, 72, 73,114, 74,115,116,102, 81,201,117, 90,103, 78, 82, //60
|
253, 64, 72, 73,114, 74,115,116,102, 81,201,117, 90,103, 78, 82, //60
|
||||||
96,202, 91, 79, 84,104,105, 97, 98, 92,203,253,253,253,253,253, //70
|
96,202, 91, 79, 84,104,105, 97, 98, 92,203,253,253,253,253,253, //70
|
||||||
209,210,211,212,213, 88,214,215,216,217,218,219,220,118,221,222,
|
209,210,211,212,213, 88,214,215,216,217,218,219,220,118,221,222,
|
||||||
223,224, 99, 85, 83,225,226,227,228,229,230,231,232,233,234,235,
|
223,224, 99, 85, 83,225,226,227,228,229,230,231,232,233,234,235,
|
||||||
236, 5, 30,237, 24,238, 75, 8, 26, 52, 34, 51,119, 47, 58, 57,
|
236, 5, 30,237, 24,238, 75, 8, 26, 52, 34, 51,119, 47, 58, 57,
|
||||||
49, 53, 55, 43, 20, 19, 44, 14, 48, 3, 17, 25, 39, 62, 31, 54,
|
49, 53, 55, 43, 20, 19, 44, 14, 48, 3, 17, 25, 39, 62, 31, 54,
|
||||||
45, 9, 16, 2, 61, 15,239, 12, 42, 46, 18, 21, 76, 4, 66, 63,
|
45, 9, 16, 2, 61, 15,239, 12, 42, 46, 18, 21, 76, 4, 66, 63,
|
||||||
22, 10, 1, 36, 23, 13, 40, 27, 32, 35, 86,240,241,242,243,244,
|
22, 10, 1, 36, 23, 13, 40, 27, 32, 35, 86,240,241,242,243,244,
|
||||||
11, 28, 41, 29, 33,245, 50, 37, 6, 7, 67, 77, 38, 93,246,247,
|
11, 28, 41, 29, 33,245, 50, 37, 6, 7, 67, 77, 38, 93,246,247,
|
||||||
68, 56, 59, 65, 69, 60, 70, 80, 71, 87,248,249,250,251,252,253,
|
68, 56, 59, 65, 69, 60, 70, 80, 71, 87,248,249,250,251,252,253,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Model Table:
|
//Model Table:
|
||||||
//total sequences: 100%
|
//total sequences: 100%
|
||||||
//first 512 sequences: 92.6386%
|
//first 512 sequences: 92.6386%
|
||||||
//first 1024 sequences:7.3177%
|
//first 1024 sequences:7.3177%
|
||||||
//rest sequences: 1.0230%
|
//rest sequences: 1.0230%
|
||||||
//negative sequences: 0.0436%
|
//negative sequences: 0.0436%
|
||||||
static const PRUint8 ThaiLangModel[] =
|
static const PRUint8 ThaiLangModel[] =
|
||||||
{
|
{
|
||||||
0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,
|
0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,
|
||||||
0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,
|
0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,
|
||||||
3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,
|
3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,
|
||||||
0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,
|
0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,
|
||||||
3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,2,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||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsBig5Prober.h"
|
#include "nsBig5Prober.h"
|
||||||
|
|
||||||
void nsBig5Prober::Reset(void)
|
void nsBig5Prober::Reset(void)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsCharSetProber.h"
|
#include "nsCharSetProber.h"
|
||||||
#include "prmem.h"
|
#include "prmem.h"
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
// 1, kana character (or hankaku?) often have hight frequency of appereance
|
// 1, kana character (or hankaku?) often have hight frequency of appereance
|
||||||
// 2, kana character often exist in group
|
// 2, kana character often exist in group
|
||||||
// 3, certain combination of kana is never used in japanese language
|
// 3, certain combination of kana is never used in japanese language
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsEUCJPProber.h"
|
#include "nsEUCJPProber.h"
|
||||||
|
|
||||||
void nsEUCJPProber::Reset(void)
|
void nsEUCJPProber::Reset(void)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsEUCKRProber.h"
|
#include "nsEUCKRProber.h"
|
||||||
|
|
||||||
void nsEUCKRProber::Reset(void)
|
void nsEUCKRProber::Reset(void)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsEUCTWProber.h"
|
#include "nsEUCTWProber.h"
|
||||||
|
|
||||||
void nsEUCTWProber::Reset(void)
|
void nsEUCTWProber::Reset(void)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsEscCharsetProber.h"
|
#include "nsEscCharsetProber.h"
|
||||||
#include "nsUniversalDetector.h"
|
#include "nsUniversalDetector.h"
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsCodingStateMachine.h"
|
#include "nsCodingStateMachine.h"
|
||||||
|
|
||||||
static const PRUint32 HZ_cls[ 256 / 8 ] = {
|
static const PRUint32 HZ_cls[ 256 / 8 ] = {
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
// 1, kana character (or hankaku?) often have hight frequency of appereance
|
// 1, kana character (or hankaku?) often have hight frequency of appereance
|
||||||
// 2, kana character often exist in group
|
// 2, kana character often exist in group
|
||||||
// 3, certain combination of kana is never used in japanese language
|
// 3, certain combination of kana is never used in japanese language
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsGB2312Prober.h"
|
#include "nsGB2312Prober.h"
|
||||||
|
|
||||||
void nsGB18030Prober::Reset(void)
|
void nsGB18030Prober::Reset(void)
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "nsMBCSGroupProber.h"
|
#include "nsMBCSGroupProber.h"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsCodingStateMachine.h"
|
#include "nsCodingStateMachine.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "prmem.h"
|
#include "prmem.h"
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "nsSBCharSetProber.h"
|
#include "nsSBCharSetProber.h"
|
||||||
|
|
||||||
|
|
|
@ -1,51 +1,51 @@
|
||||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
/* ***** BEGIN LICENSE BLOCK *****
|
||||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||||
*
|
*
|
||||||
* The contents of this file are subject to the Mozilla Public License Version
|
* 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
|
* 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
|
* the License. You may obtain a copy of the License at
|
||||||
* http://www.mozilla.org/MPL/
|
* http://www.mozilla.org/MPL/
|
||||||
*
|
*
|
||||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
* for the specific language governing rights and limitations under the
|
* for the specific language governing rights and limitations under the
|
||||||
* License.
|
* License.
|
||||||
*
|
*
|
||||||
* The Original Code is Mozilla Universal charset detector code.
|
* The Original Code is Mozilla Universal charset detector code.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is
|
* The Initial Developer of the Original Code is
|
||||||
* Netscape Communications Corporation.
|
* Netscape Communications Corporation.
|
||||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
* Shy Shalom <shooshX@gmail.com>
|
* Shy Shalom <shooshX@gmail.com>
|
||||||
*
|
*
|
||||||
* Alternatively, the contents of this file may be used under the terms of
|
* 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
|
* 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"),
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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 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.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
#ifndef nsSingleByteCharSetProber_h__
|
#ifndef nsSingleByteCharSetProber_h__
|
||||||
#define nsSingleByteCharSetProber_h__
|
#define nsSingleByteCharSetProber_h__
|
||||||
|
|
||||||
#include "nsCharSetProber.h"
|
#include "nsCharSetProber.h"
|
||||||
|
|
||||||
#define SAMPLE_SIZE 64
|
#define SAMPLE_SIZE 64
|
||||||
#define SB_ENOUGH_REL_THRESHOLD 1024
|
#define SB_ENOUGH_REL_THRESHOLD 1024
|
||||||
#define POSITIVE_SHORTCUT_THRESHOLD (float)0.95
|
#define POSITIVE_SHORTCUT_THRESHOLD (float)0.95
|
||||||
#define NEGATIVE_SHORTCUT_THRESHOLD (float)0.05
|
#define NEGATIVE_SHORTCUT_THRESHOLD (float)0.05
|
||||||
#define SYMBOL_CAT_ORDER 250
|
#define SYMBOL_CAT_ORDER 250
|
||||||
#define NUMBER_OF_SEQ_CAT 4
|
#define NUMBER_OF_SEQ_CAT 4
|
||||||
#define POSITIVE_CAT (NUMBER_OF_SEQ_CAT-1)
|
#define POSITIVE_CAT (NUMBER_OF_SEQ_CAT-1)
|
||||||
#define NEGATIVE_CAT 0
|
#define NEGATIVE_CAT 0
|
||||||
|
|
||||||
|
@ -64,8 +64,8 @@ struct SequenceModel
|
||||||
|
|
||||||
|
|
||||||
class nsSingleByteCharSetProber : public nsCharSetProber{
|
class nsSingleByteCharSetProber : public nsCharSetProber{
|
||||||
public:
|
public:
|
||||||
nsSingleByteCharSetProber(const SequenceModel *model)
|
nsSingleByteCharSetProber(const SequenceModel *model)
|
||||||
:mModel(model), mReversed(PR_FALSE), mNameProber(0) { Reset(); }
|
:mModel(model), mReversed(PR_FALSE), mNameProber(0) { Reset(); }
|
||||||
nsSingleByteCharSetProber(const SequenceModel *model, PRBool reversed, nsCharSetProber* nameProber)
|
nsSingleByteCharSetProber(const SequenceModel *model, PRBool reversed, nsCharSetProber* nameProber)
|
||||||
:mModel(model), mReversed(reversed), mNameProber(nameProber) { Reset(); }
|
:mModel(model), mReversed(reversed), mNameProber(nameProber) { Reset(); }
|
||||||
|
@ -73,14 +73,14 @@ public:
|
||||||
virtual const char* GetCharSetName();
|
virtual const char* GetCharSetName();
|
||||||
virtual nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
virtual nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||||
virtual nsProbingState GetState(void) {return mState;}
|
virtual nsProbingState GetState(void) {return mState;}
|
||||||
virtual void Reset(void);
|
virtual void Reset(void);
|
||||||
virtual float GetConfidence(void);
|
virtual float GetConfidence(void);
|
||||||
virtual void SetOpion() {}
|
virtual void SetOpion() {}
|
||||||
|
|
||||||
// This feature is not implemented yet. any current language model
|
// This feature is not implemented yet. any current language model
|
||||||
// contain this parameter as PR_FALSE. No one is looking at this
|
// contain this parameter as PR_FALSE. No one is looking at this
|
||||||
// parameter or calling this method.
|
// parameter or calling this method.
|
||||||
// Moreover, the nsSBCSGroupProber which calls the HandleData of this
|
// Moreover, the nsSBCSGroupProber which calls the HandleData of this
|
||||||
// prober has a hard-coded call to FilterWithoutEnglishLetters which gets rid
|
// prober has a hard-coded call to FilterWithoutEnglishLetters which gets rid
|
||||||
// of the English letters.
|
// of the English letters.
|
||||||
PRBool KeepEnglishLetters() {return mModel->keepEnglishLetter;} // (not implemented)
|
PRBool KeepEnglishLetters() {return mModel->keepEnglishLetter;} // (not implemented)
|
||||||
|
@ -88,43 +88,43 @@ public:
|
||||||
|
|
||||||
#ifdef DEBUG_chardet
|
#ifdef DEBUG_chardet
|
||||||
virtual void DumpStatus();
|
virtual void DumpStatus();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
nsProbingState mState;
|
nsProbingState mState;
|
||||||
const SequenceModel* const mModel;
|
const SequenceModel* const mModel;
|
||||||
const PRBool mReversed; // PR_TRUE if we need to reverse every pair in the model lookup
|
const PRBool mReversed; // PR_TRUE if we need to reverse every pair in the model lookup
|
||||||
|
|
||||||
//char order of last character
|
//char order of last character
|
||||||
unsigned char mLastOrder;
|
unsigned char mLastOrder;
|
||||||
|
|
||||||
PRUint32 mTotalSeqs;
|
PRUint32 mTotalSeqs;
|
||||||
PRUint32 mSeqCounters[NUMBER_OF_SEQ_CAT];
|
PRUint32 mSeqCounters[NUMBER_OF_SEQ_CAT];
|
||||||
|
|
||||||
PRUint32 mTotalChar;
|
PRUint32 mTotalChar;
|
||||||
//characters that fall in our sampling range
|
//characters that fall in our sampling range
|
||||||
PRUint32 mFreqChar;
|
PRUint32 mFreqChar;
|
||||||
|
|
||||||
// Optional auxiliary prober for name decision. created and destroyed by the GroupProber
|
// Optional auxiliary prober for name decision. created and destroyed by the GroupProber
|
||||||
nsCharSetProber* mNameProber;
|
nsCharSetProber* mNameProber;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
extern const SequenceModel Koi8rModel;
|
extern const SequenceModel Koi8rModel;
|
||||||
extern const SequenceModel Win1251Model;
|
extern const SequenceModel Win1251Model;
|
||||||
extern const SequenceModel Latin5Model;
|
extern const SequenceModel Latin5Model;
|
||||||
extern const SequenceModel MacCyrillicModel;
|
extern const SequenceModel MacCyrillicModel;
|
||||||
extern const SequenceModel Ibm866Model;
|
extern const SequenceModel Ibm866Model;
|
||||||
extern const SequenceModel Ibm855Model;
|
extern const SequenceModel Ibm855Model;
|
||||||
extern const SequenceModel Latin7Model;
|
extern const SequenceModel Latin7Model;
|
||||||
extern const SequenceModel Win1253Model;
|
extern const SequenceModel Win1253Model;
|
||||||
extern const SequenceModel Latin5BulgarianModel;
|
extern const SequenceModel Latin5BulgarianModel;
|
||||||
extern const SequenceModel Win1251BulgarianModel;
|
extern const SequenceModel Win1251BulgarianModel;
|
||||||
extern const SequenceModel Latin2HungarianModel;
|
extern const SequenceModel Latin2HungarianModel;
|
||||||
extern const SequenceModel Win1250HungarianModel;
|
extern const SequenceModel Win1250HungarianModel;
|
||||||
extern const SequenceModel Win1255Model;
|
extern const SequenceModel Win1255Model;
|
||||||
extern const SequenceModel TIS620ThaiModel;
|
extern const SequenceModel TIS620ThaiModel;
|
||||||
|
|
||||||
#endif /* nsSingleByteCharSetProber_h__ */
|
#endif /* nsSingleByteCharSetProber_h__ */
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
// 2, kana character often exist in group
|
// 2, kana character often exist in group
|
||||||
// 3, certain combination of kana is never used in japanese language
|
// 3, certain combination of kana is never used in japanese language
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsSJISProber.h"
|
#include "nsSJISProber.h"
|
||||||
|
|
||||||
void nsSJISProber::Reset(void)
|
void nsSJISProber::Reset(void)
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "nsUTF8Prober.h"
|
#include "nsUTF8Prober.h"
|
||||||
|
|
||||||
void nsUTF8Prober::Reset(void)
|
void nsUTF8Prober::Reset(void)
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
|
|
||||||
#include "nscore.h"
|
#include "nscore.h"
|
||||||
|
|
||||||
#include "nsUniversalDetector.h"
|
#include "nsUniversalDetector.h"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
#include "precompiledHeaders.h"
|
||||||
#include "uchardet.h"
|
#include "uchardet.h"
|
||||||
#include "nscore.h"
|
#include "nscore.h"
|
||||||
#include "nsUniversalDetector.h"
|
#include "nsUniversalDetector.h"
|
||||||
|
|
|
@ -240,22 +240,6 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\CharDistribution.cpp"
|
RelativePath="..\src\uchardet\CharDistribution.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\WinControls\ClipboardHistory\clipboardHistoryPanel.cpp"
|
RelativePath="..\src\WinControls\ClipboardHistory\clipboardHistoryPanel.cpp"
|
||||||
|
@ -352,142 +336,30 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\JpCntx.cpp"
|
RelativePath="..\src\uchardet\JpCntx.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangBulgarianModel.cpp"
|
RelativePath="..\src\uchardet\LangBulgarianModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangCyrillicModel.cpp"
|
RelativePath="..\src\uchardet\LangCyrillicModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangGreekModel.cpp"
|
RelativePath="..\src\uchardet\LangGreekModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangHebrewModel.cpp"
|
RelativePath="..\src\uchardet\LangHebrewModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangHungarianModel.cpp"
|
RelativePath="..\src\uchardet\LangHungarianModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\LangThaiModel.cpp"
|
RelativePath="..\src\uchardet\LangThaiModel.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\lastRecentFileList.cpp"
|
RelativePath="..\src\lastRecentFileList.cpp"
|
||||||
|
@ -536,342 +408,70 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsBig5Prober.cpp"
|
RelativePath="..\src\uchardet\nsBig5Prober.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsCharSetProber.cpp"
|
RelativePath="..\src\uchardet\nsCharSetProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsEscCharsetProber.cpp"
|
RelativePath="..\src\uchardet\nsEscCharsetProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsEscSM.cpp"
|
RelativePath="..\src\uchardet\nsEscSM.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsEUCJPProber.cpp"
|
RelativePath="..\src\uchardet\nsEUCJPProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsEUCKRProber.cpp"
|
RelativePath="..\src\uchardet\nsEUCKRProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsEUCTWProber.cpp"
|
RelativePath="..\src\uchardet\nsEUCTWProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsGB2312Prober.cpp"
|
RelativePath="..\src\uchardet\nsGB2312Prober.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsHebrewProber.cpp"
|
RelativePath="..\src\uchardet\nsHebrewProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsLatin1Prober.cpp"
|
RelativePath="..\src\uchardet\nsLatin1Prober.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsMBCSGroupProber.cpp"
|
RelativePath="..\src\uchardet\nsMBCSGroupProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsMBCSSM.cpp"
|
RelativePath="..\src\uchardet\nsMBCSSM.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsSBCharSetProber.cpp"
|
RelativePath="..\src\uchardet\nsSBCharSetProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsSBCSGroupProber.cpp"
|
RelativePath="..\src\uchardet\nsSBCSGroupProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsSJISProber.cpp"
|
RelativePath="..\src\uchardet\nsSJISProber.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsUniversalDetector.cpp"
|
RelativePath="..\src\uchardet\nsUniversalDetector.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\nsUTF8Prober.cpp"
|
RelativePath="..\src\uchardet\nsUTF8Prober.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\Parameters.cpp"
|
RelativePath="..\src\Parameters.cpp"
|
||||||
|
@ -1016,22 +616,6 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\uchardet\uchardet.cpp"
|
RelativePath="..\src\uchardet\uchardet.cpp"
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Debug|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration
|
|
||||||
Name="Unicode Release|Win32"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\UniConversion.cpp"
|
RelativePath="..\src\UniConversion.cpp"
|
||||||
|
|
Loading…
Reference in New Issue