? abi/mybuildlog.log ? abi/abibuild.txt ? abi/src/WIN32_1.1.2_i386_OBJ ? abi/src/af/util/xp/stringpool.diff ? abi/src/af/util/xp/growbuf.diff ? abi/src/wp/ap/xp/ap_wp_sidebar.cpp ? abi/src/wp/ap/xp/ap_wp_splash.cpp ? expat/xmltok/nametab.h ? libiconv/config.log ? libiconv/config.cache ? libiconv/libtool ? libiconv/config.status ? libiconv/Makefile ? libiconv/include/libiconv.h ? libiconv/man/Makefile ? libiconv/src/Makefile ? libiconv/src/config.h ? libiconv/tests/Makefile ? wv/config.log ? wv/config.h ? wv/config.cache ? wv/libtool ? wv/config.status ? wv/Makefile ? wv/expat/Makefile ? wv/expat/xmlparse/Makefile ? wv/expat/xmltok/Makefile ? wv/glib-wv/Makefile ? wv/iconv/Makefile ? wv/libole2/Makefile ? wv/magick/Makefile ? wv/oledecod/Makefile Index: abi/src/af/util/xp/ut_bytebuf.cpp =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_bytebuf.cpp,v retrieving revision 1.7 diff -r1.7 ut_bytebuf.cpp 124,125d123 < < Index: abi/src/af/util/xp/ut_string.h =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_string.h,v retrieving revision 1.37 diff -r1.37 ut_string.h 84a85,86 > UT_UCSChar UT_UCS_tolower(UT_UCSChar c); > Index: abi/src/af/util/xp/ut_vector.cpp =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_vector.cpp,v retrieving revision 1.24 diff -r1.24 ut_vector.cpp 114c114 < int err = grow(0); --- > UT_sint32 err = grow(0); Index: abi/src/hello/ap/xp/ap_View.cpp =================================================================== RCS file: /cvsroot/abi/src/hello/ap/xp/ap_View.cpp,v retrieving revision 1.5 diff -r1.5 ap_View.cpp 104a105,107 > <<<<<<< ap_View.cpp > return UT_FALSE; > ======= 106a110 > >>>>>>> 1.5 Index: abi/src/text/fmt/xp/fv_View.cpp =================================================================== RCS file: /cvsroot/abi/src/text/fmt/xp/fv_View.cpp,v retrieving revision 1.288 diff -r1.288 fv_View.cpp 2432,2436d2431 < UT_sint32 xPoint; < UT_sint32 yPoint; < UT_sint32 iPointHeight; < < 3092c3087 < if (!isSelectionEmpty()) --- > if (!isSelectionEmpty()) 3115a3111 > 3132c3128,3165 < --- > > //Now we compute the static prefix function > //Which can be done based soley on the find string > > UT_uint32 m = UT_UCS_strlen(find); > UT_uint32 *prefix; > UT_uint32 k = 0; > UT_uint32 q = 1; > > prefix = (UT_uint32*) calloc (m, sizeof(UT_uint32)); > > prefix[0] = 0; //Must be this reguardless of the string > > if (matchCase) > { > for (q = 1; q < m; q++) > { > while (k > 0 && find[k] != find[q]) > k = prefix[k - 1]; > if(find[k] == find[q]) > k++; > prefix[q] = k; > } > } > else //!matchCase > { > for (q = 1; q < m; q++) > { > while (k > 0 && UT_UCS_tolower(find[k]) != UT_UCS_tolower(find[q])) > k = prefix[k - 1]; > if(UT_UCS_tolower(find[k]) == UT_UCS_tolower(find[q])) > k++; > prefix[q] = k; > } > } > > //Now we use this prefix function (stored as an array) > //to search through the document text. 3134a3168 > 3136,3144c3170,3188 < UT_sint32 foundAt = -1; < < // Change the ordering of searches to accomodate new searches (like < // regular expressions, case-sensitive, or reverse searches). < // Right now we just work off case searches. < if (matchCase == UT_TRUE) < { < // this search will do case-sensitive work < foundAt = _findBlockSearchDumbCase(buffer, find); --- > UT_sint32 foundAt = -1; > UT_uint32 i = 0; > UT_uint32 t = 0; > > if (matchCase) > { > while (buffer[i] /*|| foundAt == -1*/) > { > while (t > 0 && find[t] != buffer[i]) > t = prefix[t-1]; > if (find[t] == buffer[i]) > t++; > i++; > if (t == m) > { > foundAt = i - m; > break; > } > } 3146c3190 < else if (matchCase == UT_FALSE) --- > else //!matchCase 3148,3149c3192,3204 < // do the case-insensitive search < foundAt = _findBlockSearchDumbNoCase(buffer, find); --- > while (buffer[i] /*|| foundAt == -1*/) > { > while (t > 0 && UT_UCS_tolower(find[t]) != UT_UCS_tolower(buffer[i])) > t = prefix[t-1]; > if (UT_UCS_tolower(find[t]) == UT_UCS_tolower(buffer[i])) > t++; > i++; > if (t == m) > { > foundAt = i - m; > break; > } > } 3160c3215 < --- >