canvas/Library_canvastools.mk | 1 canvas/Package_inc.mk | 1 canvas/inc/canvas/prioritybooster.hxx | 69 -- canvas/source/tools/prioritybooster.cxx | 83 --- chart2/source/controller/main/UndoGuard.cxx | 18 chart2/source/controller/main/UndoGuard.hxx | 13 comphelper/inc/comphelper/eventattachermgr.hxx | 7 comphelper/source/eventattachermgr/eventattachermgr.cxx | 12 hyphen/hyphen-2.7.1-2.8.3.patch | 399 ---------------- hyphen/hyphen-2.7.1-read-charset.patch | 20 hyphen/hyphen-2.7.1.patch | 72 -- hyphen/hyphen-android.patch | 4 hyphen/hyphen-build.patch | 70 ++ hyphen/makefile.mk | 8 hyphen/prj/d.lst | 4 ooo.lst.in | 2 sc/inc/clipparam.hxx | 13 sc/inc/document.hxx | 1 sc/source/core/data/clipparam.cxx | 17 sd/source/ui/slideshow/slideshowimpl.cxx | 1 unusedcode.easy | 8 21 files changed, 78 insertions(+), 745 deletions(-)
New commits: commit 27aa4dccf24fca018e19e563e000051f7f9af62e Author: Caolán McNamara <caol...@redhat.com> Date: Thu Dec 22 10:47:26 2011 +0000 bump hyphen to 2.8.3 diff --git a/hyphen/hyphen-2.7.1-2.8.3.patch b/hyphen/hyphen-2.7.1-2.8.3.patch deleted file mode 100644 index 51ab23a..0000000 --- a/hyphen/hyphen-2.7.1-2.8.3.patch +++ /dev/null @@ -1,399 +0,0 @@ ---- misc/build/hyphen-2.7.1/hyphen.c.old 2011-10-10 15:58:33.317260138 +0200 -+++ misc/build/hyphen-2.7.1/hyphen.c 2011-10-10 15:58:55.221260136 +0200 -@@ -226,115 +226,61 @@ - } - - #ifdef VERBOSE --HashTab *global; -+HashTab *global[1]; - - static char * --get_state_str (int state) -+get_state_str (int state, int level) - { - int i; - HashEntry *e; - - for (i = 0; i < HASH_SIZE; i++) -- for (e = global->entries[i]; e; e = e->next) -+ for (e = global[level]->entries[i]; e; e = e->next) - if (e->val == state) - return e->key; - return NULL; - } - #endif - --HyphenDict * --hnj_hyphen_load (const char *fn) --{ -- HyphenDict *dict[2]; -- HashTab *hashtab; -- FILE *f; -- char buf[MAX_CHARS]; -+void hnj_hyphen_load_line(char * buf, HyphenDict * dict, HashTab * hashtab) { -+ int i, j; - char word[MAX_CHARS]; - char pattern[MAX_CHARS]; - char * repl; - signed char replindex; - signed char replcut; -- int state_num = 0, last_state; -- int i, j, k; -+ int state_num = 0; -+ int last_state; - char ch; - int found; -- HashEntry *e; -- int nextlevel = 0; -- -- f = fopen (fn, "r"); -- if (f == NULL) -- return NULL; -- --// loading one or two dictionaries (separated by NEXTLEVEL keyword) --for (k = 0; k == 0 || (k == 1 && nextlevel); k++) { -- hashtab = hnj_hash_new (); --#ifdef VERBOSE -- global = hashtab; --#endif -- hnj_hash_insert (hashtab, "", 0); -- dict[k] = hnj_malloc (sizeof(HyphenDict)); -- dict[k]->num_states = 1; -- dict[k]->states = hnj_malloc (sizeof(HyphenState)); -- dict[k]->states[0].match = NULL; -- dict[k]->states[0].repl = NULL; -- dict[k]->states[0].fallback_state = -1; -- dict[k]->states[0].num_trans = 0; -- dict[k]->states[0].trans = NULL; -- dict[k]->nextlevel = NULL; -- dict[k]->lhmin = 0; -- dict[k]->rhmin = 0; -- dict[k]->clhmin = 0; -- dict[k]->crhmin = 0; -- dict[k]->nohyphen = NULL; -- dict[k]->nohyphenl = 0; -- -- /* read in character set info */ -- if (k == 0) { -- for (i=0;i<MAX_NAME;i++) dict[k]->cset[i]= 0; -- fgets(dict[k]->cset, sizeof(dict[k]->cset),f); -- for (i=0;i<MAX_NAME;i++) -- if ((dict[k]->cset[i] == '\r') || (dict[k]->cset[i] == '\n')) -- dict[k]->cset[i] = 0; -- dict[k]->utf8 = (strcmp(dict[k]->cset, "UTF-8") == 0); -- } else { -- strcpy(dict[k]->cset, dict[0]->cset); -- dict[k]->utf8 = dict[0]->utf8; -- } - -- while (fgets (buf, sizeof(buf), f) != NULL) -- { -- if (buf[0] != '%') -- { -- if (strncmp(buf, "NEXTLEVEL", 9) == 0) { -- nextlevel = 1; -- break; -- } else if (strncmp(buf, "LEFTHYPHENMIN", 13) == 0) { -- dict[k]->lhmin = atoi(buf + 13); -- continue; -+ if (strncmp(buf, "LEFTHYPHENMIN", 13) == 0) { -+ dict->lhmin = atoi(buf + 13); -+ return; - } else if (strncmp(buf, "RIGHTHYPHENMIN", 14) == 0) { -- dict[k]->rhmin = atoi(buf + 14); -- continue; -+ dict->rhmin = atoi(buf + 14); -+ return; - } else if (strncmp(buf, "COMPOUNDLEFTHYPHENMIN", 21) == 0) { -- dict[k]->clhmin = atoi(buf + 21); -- continue; -+ dict->clhmin = atoi(buf + 21); -+ return; - } else if (strncmp(buf, "COMPOUNDRIGHTHYPHENMIN", 22) == 0) { -- dict[k]->crhmin = atoi(buf + 22); -- continue; -+ dict->crhmin = atoi(buf + 22); -+ return; - } else if (strncmp(buf, "NOHYPHEN", 8) == 0) { - char * space = buf + 8; - while (*space != '\0' && (*space == ' ' || *space == '\t')) space++; -- if (*buf != '\0') dict[k]->nohyphen = hnj_strdup(space); -- if (dict[k]->nohyphen) { -- char * nhe = dict[k]->nohyphen + strlen(dict[k]->nohyphen) - 1; -+ if (*buf != '\0') dict->nohyphen = hnj_strdup(space); -+ if (dict->nohyphen) { -+ char * nhe = dict->nohyphen + strlen(dict->nohyphen) - 1; - *nhe = 0; -- for (nhe = nhe - 1; nhe > dict[k]->nohyphen; nhe--) { -+ for (nhe = nhe - 1; nhe > dict->nohyphen; nhe--) { - if (*nhe == ',') { -- dict[k]->nohyphenl++; -+ dict->nohyphenl++; - *nhe = 0; - } - } - } -- continue; -+ return; - } - j = 0; - pattern[j] = '0'; -@@ -379,7 +325,7 @@ - } else { - if (*word == '.') i++; - /* convert UTF-8 char. positions of discretionary hyph. replacements to 8-bit */ -- if (dict[k]->utf8) { -+ if (dict->utf8) { - int pu = -1; /* unicode character position */ - int ps = -1; /* unicode start position (original replindex) */ - int pc = (*word == '.') ? 1: 0; /* 8-bit character position */ -@@ -403,14 +349,14 @@ - printf ("word %s pattern %s, j = %d repl: %s\n", word, pattern + i, j, repl); - #endif - found = hnj_hash_lookup (hashtab, word); -- state_num = hnj_get_state (dict[k], hashtab, word); -- dict[k]->states[state_num].match = hnj_strdup (pattern + i); -- dict[k]->states[state_num].repl = repl; -- dict[k]->states[state_num].replindex = replindex; -+ state_num = hnj_get_state (dict, hashtab, word); -+ dict->states[state_num].match = hnj_strdup (pattern + i); -+ dict->states[state_num].repl = repl; -+ dict->states[state_num].replindex = replindex; - if (!replcut) { -- dict[k]->states[state_num].replcut = (signed char) strlen(word); -+ dict->states[state_num].replcut = (signed char) strlen(word); - } else { -- dict[k]->states[state_num].replcut = replcut; -+ dict->states[state_num].replcut = replcut; - } - - /* now, put in the prefix transitions */ -@@ -420,11 +366,82 @@ - ch = word[j - 1]; - word[j - 1] = '\0'; - found = hnj_hash_lookup (hashtab, word); -- state_num = hnj_get_state (dict[k], hashtab, word); -- hnj_add_trans (dict[k], state_num, last_state, ch); -+ state_num = hnj_get_state (dict, hashtab, word); -+ hnj_add_trans (dict, state_num, last_state, ch); - } -- } -+} -+ -+HyphenDict * -+hnj_hyphen_load (const char *fn) -+{ -+ HyphenDict *dict[2]; -+ HashTab *hashtab; -+ FILE *f; -+ char buf[MAX_CHARS]; -+ int nextlevel = 0; -+ int i, j, k; -+ HashEntry *e; -+ int state_num = 0; -+ -+ f = fopen (fn, "r"); -+ if (f == NULL) -+ return NULL; -+ -+// loading one or two dictionaries (separated by NEXTLEVEL keyword) -+for (k = 0; k < 2; k++) { -+ hashtab = hnj_hash_new (); -+#ifdef VERBOSE -+ global[k] = hashtab; -+#endif -+ hnj_hash_insert (hashtab, "", 0); -+ dict[k] = hnj_malloc (sizeof(HyphenDict)); -+ dict[k]->num_states = 1; -+ dict[k]->states = hnj_malloc (sizeof(HyphenState)); -+ dict[k]->states[0].match = NULL; -+ dict[k]->states[0].repl = NULL; -+ dict[k]->states[0].fallback_state = -1; -+ dict[k]->states[0].num_trans = 0; -+ dict[k]->states[0].trans = NULL; -+ dict[k]->nextlevel = NULL; -+ dict[k]->lhmin = 0; -+ dict[k]->rhmin = 0; -+ dict[k]->clhmin = 0; -+ dict[k]->crhmin = 0; -+ dict[k]->nohyphen = NULL; -+ dict[k]->nohyphenl = 0; -+ -+ /* read in character set info */ -+ if (k == 0) { -+ for (i=0;i<MAX_NAME;i++) dict[k]->cset[i]= 0; -+ fgets(dict[k]->cset, sizeof(dict[k]->cset),f); -+ for (i=0;i<MAX_NAME;i++) -+ if ((dict[k]->cset[i] == '\r') || (dict[k]->cset[i] == '\n')) -+ dict[k]->cset[i] = 0; -+ dict[k]->utf8 = (strcmp(dict[k]->cset, "UTF-8") == 0); -+ } else { -+ strcpy(dict[k]->cset, dict[0]->cset); -+ dict[k]->utf8 = dict[0]->utf8; -+ } -+ -+ if (k == 0 || nextlevel) { -+ while (fgets (buf, sizeof(buf), f) != NULL) { -+ if (strncmp(buf, "NEXTLEVEL", 9) == 0) { -+ nextlevel = 1; -+ break; -+ } else if (buf[0] != '%') hnj_hyphen_load_line(buf, dict[k], hashtab); -+ } -+ } else if (k == 1) { -+ /* default first level: hyphen and ASCII apostrophe */ -+ if (!dict[0]->utf8) hnj_hyphen_load_line("NOHYPHEN '\n", dict[k], hashtab); -+ else hnj_hyphen_load_line("NOHYPHEN ',\xe2\x80\x93,\xe2\x80\x99\n", dict[k], hashtab); -+ strcpy(buf, "1-1\n"); // buf rewritten by hnj_hyphen_load here -+ hnj_hyphen_load_line(buf, dict[k], hashtab); /* remove hyphen */ -+ hnj_hyphen_load_line("1'1\n", dict[k], hashtab); /* ASCII apostrophe */ -+ if (dict[0]->utf8) { -+ hnj_hyphen_load_line("1\xe2\x80\x93" "1\n", dict[k], hashtab); /* endash */ -+ hnj_hyphen_load_line("1\xe2\x80\x99" "1\n", dict[k], hashtab); /* apostrophe */ - } -+ } - - /* Could do unioning of matches here (instead of the preprocessor script). - If we did, the pseudocode would look something like this: -@@ -476,7 +493,20 @@ - state_num = 0; - } - fclose(f); -- if (k == 2) dict[0]->nextlevel = dict[1]; -+ if (nextlevel) dict[0]->nextlevel = dict[1]; -+ else { -+ dict[1] -> nextlevel = dict[0]; -+ dict[1]->lhmin = dict[0]->lhmin; -+ dict[1]->rhmin = dict[0]->rhmin; -+ dict[1]->clhmin = (dict[0]->clhmin) ? dict[0]->clhmin : ((dict[0]->lhmin) ? dict[0]->lhmin : 3); -+ dict[1]->crhmin = (dict[0]->crhmin) ? dict[0]->crhmin : ((dict[0]->rhmin) ? dict[0]->rhmin : 3); -+#ifdef VERBOSE -+ HashTab *r = global[0]; -+ global[0] = global[1]; -+ global[1] = r; -+#endif -+ return dict[1]; -+ } - return dict[0]; - } - -@@ -527,8 +557,13 @@ - j = 0; - prep_word[j++] = '.'; - -- for (i = 0; i < word_size; i++) -+ for (i = 0; i < word_size; i++) { -+ if (word[i] <= '9' && word[i] >= '0') { -+ prep_word[j++] = '.'; -+ } else { - prep_word[j++] = word[i]; -+ } -+ } - - prep_word[j++] = '.'; - prep_word[j] = '\0'; -@@ -557,7 +592,7 @@ - - #ifdef VERBOSE - char *state_str; -- state_str = get_state_str (state); -+ state_str = get_state_str (state, 0); - - for (k = 0; k < i - strlen (state_str); k++) - putchar (' '); -@@ -670,6 +705,9 @@ - i += hnj_ligature(word[2]); - } - -+ // ignore numbers -+ for (j = 0; word[j] <= '9' && word[j] >= '0'; j++) i--; -+ - for (j = 0; i < lhmin && word[j] != '\0'; i++) do { - // check length of the non-standard part - if (*rep && *pos && *cut && (*rep)[j]) { -@@ -696,9 +734,13 @@ - int hnj_hyphen_rhmin(int utf8, const char *word, int word_size, char * hyphens, - char *** rep, int ** pos, int ** cut, int rhmin) - { -- int i; -- int j = word_size - 2; -- for (i = 1; i < rhmin && j > 0; j--) { -+ int i = 1; -+ int j; -+ -+ // ignore numbers -+ for (j = word_size - 1; j > 0 && word[j] <= '9' && word[j] >= '0'; j--) i--; -+ -+ for (j = word_size - 2; i < rhmin && j > 0; j--) { - // check length of the non-standard part - if (*rep && *pos && *cut && (*rep)[j]) { - char * rh = strchr((*rep)[j], '='); -@@ -756,8 +798,15 @@ - j = 0; - prep_word[j++] = '.'; - -- for (i = 0; i < word_size; i++) -+ for (i = 0; i < word_size; i++) { -+ if (word[i] <= '9' && word[i] >= '0') { -+ prep_word[j++] = '.'; -+ } else { - prep_word[j++] = word[i]; -+ } -+ } -+ -+ - - prep_word[j++] = '.'; - prep_word[j] = '\0'; -@@ -786,7 +835,7 @@ - - #ifdef VERBOSE - char *state_str; -- state_str = get_state_str (state); -+ state_str = get_state_str (state, 1); - - for (k = 0; k < i - strlen (state_str); k++) - putchar (' '); -@@ -1033,6 +1082,9 @@ - } - } - hyphens[j + 1] = '\0'; -+#ifdef VERBOSE -+ printf ("nums: %s\n", hyphens); -+#endif - return 0; - } - -@@ -1074,8 +1126,8 @@ - for (nhi = 0; nhi <= dict->nohyphenl; nhi++) { - char * nhy = (char *) strstr(word, nh); - while (nhy) { -- hyphens[nhy - word + strlen(nh) - 1] = 0; -- if (nhy - word - 1 >= 0) hyphens[nhy - word - 1] = 0; -+ hyphens[nhy - word + strlen(nh) - 1] = '0'; -+ if (nhy - word - 1 >= 0) hyphens[nhy - word - 1] = '0'; - nhy = (char *) strstr(nhy + 1, nh); - } - nh = nh + strlen(nh) + 1; -@@ -1084,6 +1136,9 @@ - - if (hyphword) hnj_hyphen_hyphword(word, word_size, hyphens, hyphword, rep, pos, cut); - if (dict->utf8) return hnj_hyphen_norm(word, word_size, hyphens, rep, pos, cut); -+#ifdef VERBOSE -+ printf ("nums: %s\n", hyphens); -+#endif - return 0; - } - -@@ -1093,8 +1148,10 @@ - char *hyphword, char *** rep, int ** pos, int ** cut, - int lhmin, int rhmin, int clhmin, int crhmin) - { -- lhmin = (lhmin > 0 ? lhmin : dict->lhmin); -- rhmin = (rhmin > 0 ? rhmin : dict->rhmin); -+ lhmin = (lhmin > dict->lhmin) ? lhmin : dict->lhmin; -+ rhmin = (rhmin > dict->rhmin) ? rhmin : dict->rhmin; -+ clhmin = (clhmin > dict->clhmin) ? clhmin : dict->clhmin; -+ crhmin = (crhmin > dict->crhmin) ? crhmin : dict->crhmin; - hnj_hyphen_hyph_(dict, word, word_size, hyphens, rep, pos, cut, - clhmin, crhmin, 1, 1); - hnj_hyphen_lhmin(dict->utf8, word, word_size, hyphens, diff --git a/hyphen/hyphen-2.7.1-read-charset.patch b/hyphen/hyphen-2.7.1-read-charset.patch deleted file mode 100644 index e846955..0000000 --- a/hyphen/hyphen-2.7.1-read-charset.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- misc/hyphen-2.7.1/hyphen.c 2010-12-01 01:47:22.000000000 +0100 -+++ misc/build/hyphen-2.7.1/hyphen.c 2011-01-18 16:26:50.953125000 +0100 -@@ -291,13 +291,10 @@ - /* read in character set info */ - if (k == 0) { - for (i=0;i<MAX_NAME;i++) dict[k]->cset[i]= 0; -- if (fgets(dict[k]->cset, sizeof(dict[k]->cset),f) != NULL) { -- for (i=0;i<MAX_NAME;i++) -- if ((dict[k]->cset[i] == '\r') || (dict[k]->cset[i] == '\n')) -- dict[k]->cset[i] = 0; -- } else { -- dict[k]->cset[0] = 0; -- } -+ fgets(dict[k]->cset, sizeof(dict[k]->cset),f); -+ for (i=0;i<MAX_NAME;i++) -+ if ((dict[k]->cset[i] == '\r') || (dict[k]->cset[i] == '\n')) -+ dict[k]->cset[i] = 0; - dict[k]->utf8 = (strcmp(dict[k]->cset, "UTF-8") == 0); - } else { - strcpy(dict[k]->cset, dict[0]->cset); diff --git a/hyphen/hyphen-2.7.1.patch b/hyphen/hyphen-2.7.1.patch deleted file mode 100644 index 0e8eafa..0000000 --- a/hyphen/hyphen-2.7.1.patch +++ /dev/null @@ -1,72 +0,0 @@ ---- misc/hyphen-2.7.1/Makefile.am 2010-07-19 11:23:17.000000000 +0200 -+++ misc/build/hyphen-2.7.1/Makefile.am 2010-12-02 10:15:44.390625000 +0100 -@@ -25,14 +25,13 @@ - - hyphen.us3: - cp -f $(srcdir)/hyphen.tex hyphen.us -- patch < $(srcdir)/hyphen.patch -+ $(GNUPATCH) < $(srcdir)/hyphen.patch - $(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2 - cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3 - cat $(srcdir)/ligpatch.txt >>hyphen.us3 - --hyph_en_US.dic: hyphen.us3 -- perl $(srcdir)/substrings.pl hyphen.us3 hyphen.us4 UTF-8 2 3 >/dev/null -- cat hyphen.us4 | $(SED) -f $(srcdir)/ooopatch.sed >hyph_en_US.dic -+hyph_en_US.dic: -+ @echo "hyph_en_US.txt distributed with Hyphen library" - - clean-local: - rm -rf hyphen.us* hyph_en_US.dic ---- misc/hyphen-2.7.1/Makefile.in 2010-12-01 02:31:29.000000000 +0100 -+++ misc/build/hyphen-2.7.1/Makefile.in 2010-12-02 10:17:16.546875000 +0100 -@@ -940,14 +940,13 @@ - - hyphen.us3: - cp -f $(srcdir)/hyphen.tex hyphen.us -- patch < $(srcdir)/hyphen.patch -+ $(GNUPATCH) < $(srcdir)/hyphen.patch - $(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2 - cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3 - cat $(srcdir)/ligpatch.txt >>hyphen.us3 - --hyph_en_US.dic: hyphen.us3 -- perl $(srcdir)/substrings.pl hyphen.us3 hyphen.us4 UTF-8 2 3 >/dev/null -- cat hyphen.us4 | $(SED) -f $(srcdir)/ooopatch.sed >hyph_en_US.dic -+hyph_en_US.dic: -+ @echo "hyph_en_US.txt distributed with Hyphen library" - - clean-local: - rm -rf hyphen.us* hyph_en_US.dic ---- misc/hyphen-2.7.1/makefile.mk 2010-12-02 10:35:40.265625000 +0100 -+++ misc/build/hyphen-2.7.1/makefile.mk 2010-12-02 10:25:45.750000000 +0100 -@@ -1 +1,28 @@ --dummy -+PRJ = ..$/..$/..$/.. -+ -+PRJNAME = hyphen -+TARGET = hyphen -+CFLAGSCALL=gsd -+ -+USE_DEFFILE=TRUE -+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE -+UWINAPILIB= -+ -+.INCLUDE : settings.mk -+ -+# --- Files -------------------------------------------------------- -+ -+# !! not to be compiled because those belong to a stand alone programs: !! -+# $(SLO)$/createfp.obj\ -+# $(SLO)$/testtextcat.obj -+ -+SLOFILES= \ -+ $(SLO)$/hyphen.obj\ -+ $(SLO)$/hnjalloc.obj -+ -+# --- Targets ------------------------------------------------------ -+ -+ALL: ALLTAR -+ -+.INCLUDE : target.mk -+ diff --git a/hyphen/hyphen-android.patch b/hyphen/hyphen-android.patch index b49c4a0..1cc3365 100644 --- a/hyphen/hyphen-android.patch +++ b/hyphen/hyphen-android.patch @@ -1,5 +1,5 @@ ---- misc/hyphen-2.7.1/config.sub -+++ misc/build/hyphen-2.7.1/config.sub +--- misc/hyphen-2.8.3/config.sub ++++ misc/build/hyphen-2.8.3/config.sub @@ -120,7 +120,7 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` diff --git a/hyphen/hyphen-build.patch b/hyphen/hyphen-build.patch new file mode 100644 index 0000000..abd02ef --- /dev/null +++ b/hyphen/hyphen-build.patch @@ -0,0 +1,70 @@ +--- misc/hyphen-2.8.3/Makefile.am 2010-07-19 11:23:17.000000000 +0200 ++++ misc/build/hyphen-2.8.3/Makefile.am 2010-12-02 10:15:44.390625000 +0100 +@@ -25,13 +25,13 @@ + + hyphen.us3: + cp -f $(srcdir)/hyphen.tex hyphen.us +- patch < $(srcdir)/hyphen.patch ++ $(GNUPATCH) < $(srcdir)/hyphen.patch + $(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2 + cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3 + cat $(srcdir)/ligpatch.txt >>hyphen.us3 + +-hyph_en_US.dic: hyphen.us3 +- perl $(srcdir)/substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null ++hyph_en_US.dic: ++ @echo "hyph_en_US.txt distributed with Hyphen library" + + clean-local: + rm -rf hyphen.us* hyph_en_US.dic +--- misc/hyphen-2.8.3/Makefile.in 2010-12-01 02:31:29.000000000 +0100 ++++ misc/build/hyphen-2.8.3/Makefile.in 2010-12-02 10:17:16.546875000 +0100 +@@ -940,13 +940,13 @@ + + hyphen.us3: + cp -f $(srcdir)/hyphen.tex hyphen.us +- patch < $(srcdir)/hyphen.patch ++ $(GNUPATCH) < $(srcdir)/hyphen.patch + $(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2 + cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3 + cat $(srcdir)/ligpatch.txt >>hyphen.us3 + +-hyph_en_US.dic: hyphen.us3 +- perl $(srcdir)/substrings.pl hyphen.us3 hyph_en_US.dic UTF-8 2 3 >/dev/null ++hyph_en_US.dic: ++ @echo "hyph_en_US.txt distributed with Hyphen library" + + clean-local: + rm -rf hyphen.us* hyph_en_US.dic +--- misc/hyphen-2.8.3/makefile.mk 2010-12-02 10:35:40.265625000 +0100 ++++ misc/build/hyphen-2.8.3/makefile.mk 2010-12-02 10:25:45.750000000 +0100 +@@ -1 +1,28 @@ +-dummy ++PRJ = ..$/..$/..$/.. ++ ++PRJNAME = hyphen ++TARGET = hyphen ++CFLAGSCALL=gsd ++ ++USE_DEFFILE=TRUE ++EXTERNAL_WARNINGS_NOT_ERRORS := TRUE ++UWINAPILIB= ++ ++.INCLUDE : settings.mk ++ ++# --- Files -------------------------------------------------------- ++ ++# !! not to be compiled because those belong to a stand alone programs: !! ++# $(SLO)$/createfp.obj\ ++# $(SLO)$/testtextcat.obj ++ ++SLOFILES= \ ++ $(SLO)$/hyphen.obj\ ++ $(SLO)$/hnjalloc.obj ++ ++# --- Targets ------------------------------------------------------ ++ ++ALL: ALLTAR ++ ++.INCLUDE : target.mk ++ diff --git a/hyphen/makefile.mk b/hyphen/makefile.mk index d82c4b1..feb0ea7 100644 --- a/hyphen/makefile.mk +++ b/hyphen/makefile.mk @@ -36,15 +36,13 @@ TARGET=hyphen # --- Files -------------------------------------------------------- -TARFILE_NAME=hyphen-2.7.1 -TARFILE_MD5=48a9f787f43a09c0a9b7b00cd1fddbbf +TARFILE_NAME=hyphen-2.8.3 +TARFILE_MD5=86261f06c097d3e425a2f6d0b0635380 ADDITIONAL_FILES += makefile.mk PATCH_FILES= \ - hyphen-2.7.1.patch \ - hyphen-2.7.1-read-charset.patch \ - hyphen-2.7.1-2.8.3.patch \ + hyphen-build.patch \ hyphen-android.patch .IF "$(GUI)"=="UNX" diff --git a/hyphen/prj/d.lst b/hyphen/prj/d.lst index 4758ed7..dbaf96e 100644 --- a/hyphen/prj/d.lst +++ b/hyphen/prj/d.lst @@ -1,5 +1,5 @@ ..\%__SRC%\slb\hyphen.lib %_DEST%\lib\hyphen.lib ..\%__SRC%\inc\hyphen.h %_DEST%\inc\hyphen.h -..\%__SRC%\misc\build\hyphen-2.7.1\.libs\libhyphen.a %_DEST%\lib\libhyphen.a -..\%__SRC%\misc\build\hyphen-2.7.1\hyph_en_US.dic %_DEST%\bin\hyph_en_US.dic +..\%__SRC%\misc\build\hyphen-2.8.3\.libs\libhyphen.a %_DEST%\lib\libhyphen.a +..\%__SRC%\misc\build\hyphen-2.8.3\hyph_en_US.dic %_DEST%\bin\hyph_en_US.dic diff --git a/ooo.lst.in b/ooo.lst.in index b06780a..9085d9c 100644 --- a/ooo.lst.in +++ b/ooo.lst.in @@ -1,5 +1,5 @@ http://dev-www.libreoffice.org/src -48a9f787f43a09c0a9b7b00cd1fddbbf-hyphen-2.7.1.tar.gz +86261f06c097d3e425a2f6d0b0635380-hyphen-2.8.3.tar.gz 63ddc5116488985e820075e65fbe6aa4-openssl-0.9.8o.tar.gz db5ffcd50064421176e8afb7b85fd1a7-pixman-0.24.0.tar.bz2 0b49ede71c21c0599b0cc19b353a6cb3-README_apache-commons.txt commit 5c1dc778d6ce38d563462a76cdc454ed476cf15b Author: Caolán McNamara <caol...@redhat.com> Date: Thu Dec 22 10:46:58 2011 +0000 remove some unused code diff --git a/canvas/Library_canvastools.mk b/canvas/Library_canvastools.mk index d9adfca..d0b11a2 100644 --- a/canvas/Library_canvastools.mk +++ b/canvas/Library_canvastools.mk @@ -64,7 +64,6 @@ $(eval $(call gb_Library_add_exception_objects,canvastools,\ canvas/source/tools/page \ canvas/source/tools/pagemanager \ canvas/source/tools/parametricpolypolygon \ - canvas/source/tools/prioritybooster \ canvas/source/tools/propertysethelper \ canvas/source/tools/spriteredrawmanager \ canvas/source/tools/surface \ diff --git a/canvas/Package_inc.mk b/canvas/Package_inc.mk index f3892ca..500ed44 100644 --- a/canvas/Package_inc.mk +++ b/canvas/Package_inc.mk @@ -46,7 +46,6 @@ $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/canvastoolsdllapi.h,canv $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/debug.hxx,canvas/debug.hxx)) $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/elapsedtime.hxx,canvas/elapsedtime.hxx)) $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/parametricpolypolygon.hxx,canvas/parametricpolypolygon.hxx)) -$(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/prioritybooster.hxx,canvas/prioritybooster.hxx)) $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/propertysethelper.hxx,canvas/propertysethelper.hxx)) $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/rendering/bitmap.hxx,canvas/rendering/bitmap.hxx)) $(eval $(call gb_Package_add_file,canvas_inc,inc/canvas/rendering/icachedprimitive.hxx,canvas/rendering/icachedprimitive.hxx)) diff --git a/canvas/inc/canvas/prioritybooster.hxx b/canvas/inc/canvas/prioritybooster.hxx deleted file mode 100644 index dfa2196..0000000 --- a/canvas/inc/canvas/prioritybooster.hxx +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org 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 Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef INCLUDED_CANVAS_PRIORITYBOOSTER_HXX -#define INCLUDED_CANVAS_PRIORITYBOOSTER_HXX - -#include <sal/types.h> - -#include <memory> -#include <canvas/canvastoolsdllapi.h> - - -namespace canvas -{ - namespace tools - { - struct PriorityBooster_Impl; - - /** Simplistic RAII object, to temporarily boost execution - priority for the current scope. - */ - class PriorityBooster - { - public: - /** Create booster, with given priority delta - - @param nDelta - Difference in execution priority. Positive values - increase prio, negative values decrease prio. - */ - CANVASTOOLS_DLLPUBLIC explicit PriorityBooster( sal_Int32 nDelta ); - CANVASTOOLS_DLLPUBLIC ~PriorityBooster(); - - private: - // also disables copy constructor and assignment operator - const ::std::auto_ptr< PriorityBooster_Impl > mpImpl; - }; - } -} - -#endif /* INCLUDED_CANVAS_PRIORITYBOOSTER_HXX */ -// eof - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/tools/prioritybooster.cxx b/canvas/source/tools/prioritybooster.cxx deleted file mode 100644 index 837ebb8..0000000 --- a/canvas/source/tools/prioritybooster.cxx +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org 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 Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - - - -#ifdef WNT -# if defined _MSC_VER -# pragma warning(push,1) -# endif - -# include <windows.h> - -# if defined _MSC_VER -# pragma warning(pop) -# endif -#endif - -#include "osl/diagnose.h" -#include "canvas/prioritybooster.hxx" - - -namespace canvas -{ - namespace tools - { - struct PriorityBooster_Impl - { - int mnOldPriority; - }; - - PriorityBooster::PriorityBooster( sal_Int32 nDelta ) : - mpImpl( new PriorityBooster_Impl ) - { -#ifdef WNT - HANDLE aCurrThread = GetCurrentThread(); - mpImpl->mnOldPriority = GetThreadPriority( aCurrThread ); - - if ( 0 == SetThreadPriority( aCurrThread, mpImpl->mnOldPriority + nDelta ) ) - { - OSL_FAIL( "PriorityBooster::PriorityBooster(): Was not able to modify thread priority" ); - } -#else - (void)nDelta; -#endif - } - - PriorityBooster::~PriorityBooster() - { -#ifdef WNT - SetThreadPriority( GetCurrentThread(), - mpImpl->mnOldPriority ); -#endif - } - } // namespace tools - -} // namespace canvas - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/main/UndoGuard.cxx b/chart2/source/controller/main/UndoGuard.cxx index 3bcdc9f..4069b3e 100644 --- a/chart2/source/controller/main/UndoGuard.cxx +++ b/chart2/source/controller/main/UndoGuard.cxx @@ -145,24 +145,6 @@ UndoGuardWithSelection::~UndoGuardWithSelection() rollback(); } -//----------------------------------------------------------------------------- - -UndoContext::UndoContext( const Reference< document::XUndoManager > & i_undoManager, const ::rtl::OUString& i_undoTitle ) - :m_xUndoManager( i_undoManager ) -{ - ENSURE_OR_THROW( m_xUndoManager.is(), "invalid undo manager!" ); - m_xUndoManager->enterUndoContext( i_undoTitle ); -} - -//----------------------------------------------------------------------------- - -UndoContext::~UndoContext() -{ - m_xUndoManager->leaveUndoContext(); -} - -//----------------------------------------------------------------------------- - HiddenUndoContext::HiddenUndoContext( const Reference< document::XUndoManager > & i_undoManager ) :m_xUndoManager( i_undoManager ) { diff --git a/chart2/source/controller/main/UndoGuard.hxx b/chart2/source/controller/main/UndoGuard.hxx index ccf2504..61e4a47 100644 --- a/chart2/source/controller/main/UndoGuard.hxx +++ b/chart2/source/controller/main/UndoGuard.hxx @@ -108,19 +108,6 @@ public: virtual ~UndoGuardWithSelection(); }; -class UndoContext -{ -public: - UndoContext( - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > & i_undoManager, - const ::rtl::OUString& i_undoTitle - ); - ~UndoContext(); - -private: - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > m_xUndoManager; -}; - class HiddenUndoContext { public: diff --git a/comphelper/inc/comphelper/eventattachermgr.hxx b/comphelper/inc/comphelper/eventattachermgr.hxx index f534ba2..6d2d7f5 100644 --- a/comphelper/inc/comphelper/eventattachermgr.hxx +++ b/comphelper/inc/comphelper/eventattachermgr.hxx @@ -53,13 +53,6 @@ namespace comphelper COMPHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager > createEventAttacherManager( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospection > & rIntrospection, - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr ) - throw( ::com::sun::star::uno::Exception ); - - -COMPHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager > -createEventAttacherManager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr ) throw( ::com::sun::star::uno::Exception ); diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index ca63729..9c119a1 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -360,18 +360,6 @@ void SAL_CALL AttacherAllListener_Impl::disposing(const EventObject& ) } -//======================================================================== -//======================================================================== -//======================================================================== - -// Create-Methode fuer EventAttacherManager -Reference< XEventAttacherManager > createEventAttacherManager( const Reference< XIntrospection > & rIntrospection, - const Reference< XMultiServiceFactory > & rSMgr ) - throw( Exception ) -{ - return new ImplEventAttacherManager( rIntrospection, rSMgr ); -} - // Create-Methode fuer EventAttacherManager Reference< XEventAttacherManager > createEventAttacherManager( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception ) diff --git a/sc/inc/clipparam.hxx b/sc/inc/clipparam.hxx index f8a4038..63b4c9a 100644 --- a/sc/inc/clipparam.hxx +++ b/sc/inc/clipparam.hxx @@ -79,19 +79,6 @@ struct ScClipParam void setSourceDocID( sal_uInt32 nVal ) { mnSourceDocID = nVal; } }; -// ============================================================================ - -struct ScClipRangeNameData -{ - ScRangeData::IndexMap maRangeMap; - ::std::vector<ScRangeData*> mpRangeNames; // Don't insert NULL pointers. - bool mbReplace; - - ScClipRangeNameData(); - ~ScClipRangeNameData(); - void insert(sal_uInt16 nOldIndex, sal_uInt16 nNewIndex); -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 83ad4a1..8e41fea 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -146,7 +146,6 @@ struct ScLookupCacheMapImpl; class SfxUndoManager; class ScFormulaParserPool; struct ScClipParam; -struct ScClipRangeNameData; class ScRowBreakIterator; struct ScSetStringParam; class ScDocRowHeightUpdater; diff --git a/sc/source/core/data/clipparam.cxx b/sc/source/core/data/clipparam.cxx index b7e4414..6515540 100644 --- a/sc/source/core/data/clipparam.cxx +++ b/sc/source/core/data/clipparam.cxx @@ -192,21 +192,4 @@ void ScClipParam::transpose() maRanges = aNewRanges; } -// ============================================================================ - -ScClipRangeNameData::ScClipRangeNameData() : - mbReplace(false) -{ -} - -ScClipRangeNameData::~ScClipRangeNameData() -{ -} - -void ScClipRangeNameData::insert(sal_uInt16 nOldIndex, sal_uInt16 nNewIndex) -{ - maRangeMap.insert( - ScRangeData::IndexMap::value_type(nOldIndex, nNewIndex)); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 1da357b..63eb11d 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -80,7 +80,6 @@ #include "rtl/ref.hxx" #include "slideshow.hrc" #include "canvas/elapsedtime.hxx" -#include "canvas/prioritybooster.hxx" #include "avmedia/mediawindow.hxx" #include "svtools/colrdlg.hxx" diff --git a/unusedcode.easy b/unusedcode.easy index eadbb2f..050005d 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -298,9 +298,6 @@ ScCellObj::SetFormulaResultDouble(double) ScCellObj::SetFormulaResultString(rtl::OUString const&) ScCellObj::SetFormulaWithGrammar(rtl::OUString const&, rtl::OUString const&, formula::FormulaGrammar::Grammar) ScChangeActionContent::SetNewValue(String const&, ScDocument*) -ScClipRangeNameData::ScClipRangeNameData() -ScClipRangeNameData::insert(unsigned short, unsigned short) -ScClipRangeNameData::~ScClipRangeNameData() ScCompressedArray<int, unsigned char>::GetEntryCount() const ScCompressedArray<int, unsigned short>::CopyFrom(ScCompressedArray<int, unsigned short> const&, int, int, long) ScCompressedArray<int, unsigned short>::GetValue(int) const @@ -1607,8 +1604,6 @@ canvas::ParametricPolyPolygon::ParametricPolyPolygon(com::sun::star::uno::Refere canvas::PropertySetHelper::PropertySetHelper(std::__debug::vector<canvas::tools::ValueMap<canvas::PropertySetHelper::Callbacks>::MapEntry, std::allocator<canvas::tools::ValueMap<canvas::PropertySetHelper::Callbacks>::MapEntry> > const&) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) canvas::tools::ElapsedTime::getTimeBase() const -canvas::tools::PriorityBooster::PriorityBooster(int) -canvas::tools::PriorityBooster::~PriorityBooster() canvas::tools::appendToViewState(com::sun::star::rendering::ViewState&, basegfx::B2DHomMatrix const&) canvas::tools::calcRectToRectTransform(basegfx::B2DHomMatrix&, basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DHomMatrix const&) canvas::tools::clipBlit(basegfx::B2IRange&, basegfx::B2IPoint&, basegfx::B2IRange const&, basegfx::B2IRange const&) @@ -1619,8 +1614,6 @@ canvas::tools::verifyInput(com::sun::star::rendering::FloatingPointBitmapLayout chart::EquidistantTickIter::getCurrentIndex() const chart::EquidistantTickIter::getMaxIndex() const chart::EquidistantTickIter::gotoIndex(int) -chart::UndoContext::UndoContext(com::sun::star::uno::Reference<com::sun::star::document::XUndoManager> const&, rtl::OUString const&) -chart::UndoContext::~UndoContext() cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) cmis::Content::queryChildren(std::__debug::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) codemaker::cpp::typeToPrefix(TypeManager const&, rtl::OString const&) @@ -1651,7 +1644,6 @@ comphelper::PropertySetInfo::add(comphelper::PropertyMapEntry*, int) comphelper::ResourceBasedEventLogger::ResourceBasedEventLogger(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&) comphelper::SequenceAsHashMap::getAsConstAnyList(unsigned char) const comphelper::ServiceInfoHelper::concatSequences(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Sequence<rtl::OUString> const&) -comphelper::createEventAttacherManager(com::sun::star::uno::Reference<com::sun::star::beans::XIntrospection> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) comphelper::findProperty(com::sun::star::beans::Property&, com::sun::star::uno::Sequence<com::sun::star::beans::Property>&, rtl::OUString const&) comphelper::string::isalnumAsciiString(rtl::OUString const&) comphelper::string::islowerAsciiString(rtl::OUString const&)
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits