Changeset 846 for trunk/tools/assistant/lib/fulltextsearch
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/assistant/lib/fulltextsearch/fulltextsearch.pro
r631 r846 32 32 CONFIG -= exceptions_off 33 33 CONFIG += exceptions 34 !win32|win32-g++ {34 !win32|win32-g++* { 35 35 QMAKE_CFLAGS -= -fno-exceptions 36 36 QMAKE_CXXFLAGS -= -fno-exceptions … … 49 49 # the following define could be set globally in case we need it elsewhere 50 50 solaris* { 51 DEFINES += Q_SOLARIS_VERSION=$$system(uname -r | sed -e 's/5\ .//')51 DEFINES += Q_SOLARIS_VERSION=$$system(uname -r | sed -e 's/5\\.//') 52 52 } -
trunk/tools/assistant/lib/fulltextsearch/qanalyzer.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qanalyzer_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qclucene-config_p.h
r769 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** … … 315 315 #endif 316 316 317 // Do not use the tchar.h that ships with mingw, this causes the qt build to 318 // fail (211547, 211401, etc...), reuse the replacement as with any other compiler 319 // #if defined(__MINGW32__) 320 // /* Define to 1 if you have the <tchar.h> header file. */ 321 // # ifndef _CL_HAVE_TCHAR_H 322 // # define _CL_HAVE_TCHAR_H 1 323 // # endif 324 // #endif 317 #if defined(__MINGW32__) 318 /* Define to 1 if you have the <tchar.h> header file. */ 319 # ifndef _CL_HAVE_TCHAR_H 320 # define _CL_HAVE_TCHAR_H 1 321 # endif 322 #endif 325 323 326 324 #if defined(__MINGW32__) || defined(__SUNPRO_CC) || defined(__SUNPRO_C) -
trunk/tools/assistant/lib/fulltextsearch/qclucene_global_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** … … 37 37 #include <QtCore/QString> 38 38 39 #if !defined(_MSC_VER) 39 #if !defined(_MSC_VER) && !defined(__MINGW32__) && defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T) 40 40 # if !defined(TCHAR) 41 41 # if defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T) && !defined(_ASCII) -
trunk/tools/assistant/lib/fulltextsearch/qdocument.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qdocument_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qfield.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qfield_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qfilter.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qfilter_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qhits.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qhits_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qindexreader.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qindexreader_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** … … 89 89 90 90 d->writer->addIndexes(readerArray); 91 delete readerArray;91 delete [] readerArray; 92 92 } 93 93 -
trunk/tools/assistant/lib/fulltextsearch/qindexwriter_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qquery.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qquery_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qqueryparser.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qqueryparser_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qreader.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qreader_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qsearchable.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qsearchable_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qsort.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** … … 85 85 for (int i = 0; i < fieldNames.count(); ++i) 86 86 delete [] nameArray[i]; 87 delete nameArray;87 delete [] nameArray; 88 88 } 89 89 -
trunk/tools/assistant/lib/fulltextsearch/qsort_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** … … 65 65 { 66 66 public: 67 68 69 QCLuceneSort(const QString &field, bool reverse = false);67 QCLuceneSort(); 68 explicit QCLuceneSort(const QStringList &fieldNames); 69 explicit QCLuceneSort(const QString &field, bool reverse = false); 70 70 71 71 virtual ~QCLuceneSort(); … … 73 73 QString toString() const; 74 74 void setSort(const QStringList &fieldNames); 75 75 void setSort(const QString &field, bool reverse = false); 76 76 77 77 protected: -
trunk/tools/assistant/lib/fulltextsearch/qterm.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qterm_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtoken.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtoken_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtokenizer.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtokenizer_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtokenstream.cpp
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 ** -
trunk/tools/assistant/lib/fulltextsearch/qtokenstream_p.h
r651 r846 4 4 ** All rights reserved. 5 5 ** 6 ** Portion Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).6 ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 7 7 ** All rights reserved. 8 8 **
Note:
See TracChangeset
for help on using the changeset viewer.