From 40a923afbacee91de0e2e7346b0d3b2e6ceed60f Mon Sep 17 00:00:00 2001 From: mbr Date: Wed, 5 Mar 2003 00:47:02 +0000 Subject: Add missing patches for PR 48789 Submitted by: Alexandr Kovalenko --- ...patch-i18npool+source+localedata+localedata.cxx | 10 + ...ch-i18npool+source+localedata_ascii+makefile.mk | 18 + ...atch-i18npool+source+localedata_ascii+uk_UA.xml | 454 +++++++++++++++++++++ .../files/patch-sal+inc+rtl+textenc.h | 21 + .../files/patch-sal+textenc+tcvtest1.tab | 173 ++++++++ .../files/patch-sal+textenc+textenc.c | 12 + .../files/patch-solenv+inc+postset.mk | 22 + .../files/patch-svx+source+dialog+txenctab.src | 44 ++ .../files/patch-sw+source+filter+basflt+fltini.cxx | 22 + .../files/patch-sysui+unix+office+cde+locales.tab | 10 + .../files/patch-tools+source+inet+inetmime.cxx | 54 +++ .../files/patch-tools+source+rc+resmgr.cxx | 19 + .../files/patch-transex3+inc+export.hxx | 29 ++ .../files/patch-transex3+source+export.cxx | 11 + .../files/patch-transex3+source+export2.cxx | 43 ++ .../files/patch-transex3+source+gsiconv.cxx | 10 + .../files/patch-transex3+source+merge.cxx | 10 + .../files/patch-vcl+unx+source+gdi+salcvt.cxx | 20 + .../files/patch-vcl+unx+source+gdi+xlfd_extd.cxx | 10 + ...patch-i18npool+source+localedata+localedata.cxx | 10 + ...ch-i18npool+source+localedata_ascii+makefile.mk | 18 + ...atch-i18npool+source+localedata_ascii+uk_UA.xml | 454 +++++++++++++++++++++ .../files/patch-sal+inc+rtl+textenc.h | 21 + .../files/patch-sal+textenc+tcvtest1.tab | 173 ++++++++ .../files/patch-sal+textenc+textenc.c | 12 + .../files/patch-solenv+inc+postset.mk | 22 + .../files/patch-svx+source+dialog+txenctab.src | 44 ++ .../files/patch-sw+source+filter+basflt+fltini.cxx | 22 + .../files/patch-sysui+unix+office+cde+locales.tab | 10 + .../files/patch-tools+source+inet+inetmime.cxx | 54 +++ .../files/patch-tools+source+rc+resmgr.cxx | 19 + .../files/patch-transex3+inc+export.hxx | 29 ++ .../files/patch-transex3+source+export.cxx | 11 + .../files/patch-transex3+source+export2.cxx | 43 ++ .../files/patch-transex3+source+gsiconv.cxx | 10 + .../files/patch-transex3+source+merge.cxx | 10 + .../files/patch-vcl+unx+source+gdi+salcvt.cxx | 20 + .../files/patch-vcl+unx+source+gdi+xlfd_extd.cxx | 10 + ...patch-i18npool+source+localedata+localedata.cxx | 10 + ...ch-i18npool+source+localedata_ascii+makefile.mk | 18 + ...atch-i18npool+source+localedata_ascii+uk_UA.xml | 454 +++++++++++++++++++++ .../openoffice/files/patch-sal+inc+rtl+textenc.h | 21 + .../files/patch-sal+textenc+tcvtest1.tab | 173 ++++++++ .../openoffice/files/patch-sal+textenc+textenc.c | 12 + .../openoffice/files/patch-solenv+inc+postset.mk | 22 + .../files/patch-svx+source+dialog+txenctab.src | 44 ++ .../files/patch-sw+source+filter+basflt+fltini.cxx | 22 + .../files/patch-sysui+unix+office+cde+locales.tab | 10 + .../files/patch-tools+source+inet+inetmime.cxx | 54 +++ .../files/patch-tools+source+rc+resmgr.cxx | 19 + .../openoffice/files/patch-transex3+inc+export.hxx | 29 ++ .../files/patch-transex3+source+export.cxx | 11 + .../files/patch-transex3+source+export2.cxx | 43 ++ .../files/patch-transex3+source+gsiconv.cxx | 10 + .../files/patch-transex3+source+merge.cxx | 10 + .../files/patch-vcl+unx+source+gdi+salcvt.cxx | 20 + .../files/patch-vcl+unx+source+gdi+xlfd_extd.cxx | 10 + 57 files changed, 2976 insertions(+) create mode 100644 editors/openoffice-1.0/files/patch-i18npool+source+localedata+localedata.cxx create mode 100644 editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk create mode 100644 editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml create mode 100644 editors/openoffice-1.0/files/patch-sal+inc+rtl+textenc.h create mode 100644 editors/openoffice-1.0/files/patch-sal+textenc+tcvtest1.tab create mode 100644 editors/openoffice-1.0/files/patch-sal+textenc+textenc.c create mode 100644 editors/openoffice-1.0/files/patch-solenv+inc+postset.mk create mode 100644 editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src create mode 100644 editors/openoffice-1.0/files/patch-sw+source+filter+basflt+fltini.cxx create mode 100644 editors/openoffice-1.0/files/patch-sysui+unix+office+cde+locales.tab create mode 100644 editors/openoffice-1.0/files/patch-tools+source+inet+inetmime.cxx create mode 100644 editors/openoffice-1.0/files/patch-tools+source+rc+resmgr.cxx create mode 100644 editors/openoffice-1.0/files/patch-transex3+inc+export.hxx create mode 100644 editors/openoffice-1.0/files/patch-transex3+source+export.cxx create mode 100644 editors/openoffice-1.0/files/patch-transex3+source+export2.cxx create mode 100644 editors/openoffice-1.0/files/patch-transex3+source+gsiconv.cxx create mode 100644 editors/openoffice-1.0/files/patch-transex3+source+merge.cxx create mode 100644 editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx create mode 100644 editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-i18npool+source+localedata+localedata.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk create mode 100644 editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml create mode 100644 editors/openoffice.org-1.0/files/patch-sal+inc+rtl+textenc.h create mode 100644 editors/openoffice.org-1.0/files/patch-sal+textenc+tcvtest1.tab create mode 100644 editors/openoffice.org-1.0/files/patch-sal+textenc+textenc.c create mode 100644 editors/openoffice.org-1.0/files/patch-solenv+inc+postset.mk create mode 100644 editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src create mode 100644 editors/openoffice.org-1.0/files/patch-sw+source+filter+basflt+fltini.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-sysui+unix+office+cde+locales.tab create mode 100644 editors/openoffice.org-1.0/files/patch-tools+source+inet+inetmime.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-tools+source+rc+resmgr.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-transex3+inc+export.hxx create mode 100644 editors/openoffice.org-1.0/files/patch-transex3+source+export.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-transex3+source+export2.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-transex3+source+gsiconv.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-transex3+source+merge.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx create mode 100644 editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx create mode 100644 editors/openoffice/files/patch-i18npool+source+localedata+localedata.cxx create mode 100644 editors/openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk create mode 100644 editors/openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml create mode 100644 editors/openoffice/files/patch-sal+inc+rtl+textenc.h create mode 100644 editors/openoffice/files/patch-sal+textenc+tcvtest1.tab create mode 100644 editors/openoffice/files/patch-sal+textenc+textenc.c create mode 100644 editors/openoffice/files/patch-solenv+inc+postset.mk create mode 100644 editors/openoffice/files/patch-svx+source+dialog+txenctab.src create mode 100644 editors/openoffice/files/patch-sw+source+filter+basflt+fltini.cxx create mode 100644 editors/openoffice/files/patch-sysui+unix+office+cde+locales.tab create mode 100644 editors/openoffice/files/patch-tools+source+inet+inetmime.cxx create mode 100644 editors/openoffice/files/patch-tools+source+rc+resmgr.cxx create mode 100644 editors/openoffice/files/patch-transex3+inc+export.hxx create mode 100644 editors/openoffice/files/patch-transex3+source+export.cxx create mode 100644 editors/openoffice/files/patch-transex3+source+export2.cxx create mode 100644 editors/openoffice/files/patch-transex3+source+gsiconv.cxx create mode 100644 editors/openoffice/files/patch-transex3+source+merge.cxx create mode 100644 editors/openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx create mode 100644 editors/openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx (limited to 'editors') diff --git a/editors/openoffice-1.0/files/patch-i18npool+source+localedata+localedata.cxx b/editors/openoffice-1.0/files/patch-i18npool+source+localedata+localedata.cxx new file mode 100644 index 000000000000..dc4af11250f4 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-i18npool+source+localedata+localedata.cxx @@ -0,0 +1,10 @@ +--- ../i18npool/source/localedata/localedata.cxx.orig Mon Feb 24 17:47:22 2003 ++++ ../i18npool/source/localedata/localedata.cxx Tue Feb 25 16:41:58 2003 +@@ -150,6 +150,7 @@ + { "pt_BR", lcl_ASCII }, + { "pt_PT", lcl_ASCII }, + { "ru_RU", lcl_ASCII }, ++ { "uk_UA", lcl_ASCII }, + { "sv_FI", lcl_ASCII }, + { "tr_TR", lcl_ASCII }, + { "th_TH", lcl_ASCII }, // PlaDao convenience entry diff --git a/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk b/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk new file mode 100644 index 000000000000..47957effbdbf --- /dev/null +++ b/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk @@ -0,0 +1,18 @@ +--- ../i18npool/source/localedata_ascii/makefile.mk.orig Sun Nov 17 23:27:32 2002 ++++ ../i18npool/source/localedata_ascii/makefile.mk Tue Feb 25 16:43:21 2003 +@@ -138,6 +138,7 @@ + $(MISC)$/localedata_pt_BR.cxx \ + $(MISC)$/localedata_pt_PT.cxx \ + $(MISC)$/localedata_ru_RU.cxx \ ++ $(MISC)$/localedata_uk_UA.cxx \ + $(MISC)$/localedata_sv_FI.cxx \ + $(MISC)$/localedata_tr_TR.cxx \ + $(MISC)$/localedata_nb_NO.cxx \ +@@ -208,6 +209,7 @@ + $(SLO)$/localedata_pt_BR.obj \ + $(SLO)$/localedata_pt_PT.obj \ + $(SLO)$/localedata_ru_RU.obj \ ++ $(SLO)$/localedata_uk_UA.obj \ + $(SLO)$/localedata_sv_FI.obj \ + $(SLO)$/localedata_tr_TR.obj \ + $(SLO)$/localedata_nb_NO.obj \ diff --git a/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml b/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml new file mode 100644 index 000000000000..68325b32eff0 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml @@ -0,0 +1,454 @@ +--- ../i18npool/source/localedata_ascii/uk_UA.xml.orig Thu Jan 1 00:00:00 1970 ++++ ../i18npool/source/localedata_ascii/uk_UA.xml Fri Feb 28 13:04:01 2003 +@@ -0,0 +1,451 @@ ++ ++ ++ ++ ++ ++uk ++Ukrainian ++ ++ ++UA ++Ukraine ++ ++ ++generic ++ ++ ++ ++ ++ ++. ++ ++, ++: ++, ++; ++ ++ ++ ++ р. ++ ++ ++ ++ ++ ++ ++ ++AM ++PM ++Metric ++ ++ ++ ++M/D/YY ++ ++ ++ ++NN DD/MMM YY ++ ++ ++ ++MM/YY ++ ++ ++ ++MMM DD ++ ++ ++ ++MMMM ++ ++ ++ ++QQ YY ++ ++ ++ ++MM/DD/YYYY ++ ++ ++ ++MM/DD/YY ++ ++ ++ ++NNNNMMMM DD, YYYY ++ ++ ++ ++MMM D, YY ++ ++ ++ ++MMM D, YYYY ++ ++ ++ ++MMMM D, YYYY ++ ++ ++ ++NN, MMM D, YY ++ ++ ++ ++NN, MMMM D, YYYY ++ ++ ++ ++NNNNMMMM D, YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMM. YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMMM YYYY ++DIN 5008 (EN 28601) ++ ++ ++MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YY-MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YYYY-MM-DD ++ ++ ++ ++WW ++ ++ ++ ++HH:MM ++ ++ ++ ++HH:MM:SS ++ ++ ++ ++HH:MM AM/PM ++ ++ ++ ++HH:MM:SS AM/PM ++ ++ ++ ++[HH]:MM:SS ++ ++ ++ ++MM:SS,00 ++ ++ ++ ++[HH]:MM:SS,00 ++ ++ ++ ++MM/DD/YY HH:MM ++ ++ ++ ++MM/DD/YYYY HH:MM:SS ++ ++ ++ ++Standard ++ ++ ++ ++0 ++ ++ ++ ++0,00 ++ ++ ++ ++# ##0 ++ ++ ++ ++# ##0,00 ++ ++ ++ ++# ###,00 ++ ++ ++ ++[$грн.-419]# ##0;-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;-[$грн.-419]# ##0,00 ++ ++ ++ ++ [$грн.-419]# ##0;[RED]-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;[RED]-[$грн.-419]# ##0,00 ++ ++ ++ ++# ##0,00 CCC ++ ++ ++ ++[$грн.-419]# ##0,--;[RED]-[$грн.-419]# ##0,-- ++ ++ ++ ++0% ++ ++ ++ ++0,00% ++ ++ ++ ++0,00E+000 ++ ++ ++ ++0,00E+00 ++ ++ ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++ ++ ++sun ++Нд ++неділя ++ ++ ++mon ++Пн ++понеділок ++ ++ ++tue ++Вт ++вівторок ++ ++ ++wed ++Ср ++середа ++ ++ ++thu ++Чт ++четвер ++ ++ ++fri ++Пт ++п'ятниця ++ ++ ++sat ++Сб ++субота ++ ++ ++ ++ ++jan ++січ ++Січень ++ ++ ++feb ++лют ++Лютий ++ ++ ++mar ++бер ++Березень ++ ++ ++apr ++квт ++Квітень ++ ++ ++may ++трв ++Травень ++ ++ ++jun ++чер ++Червень ++ ++ ++jul ++лип ++Липень ++ ++ ++aug ++сер ++Серпень ++ ++ ++sep ++вер ++Вересень ++ ++ ++oct ++жов ++Жовтень ++ ++ ++nov ++лис ++Листопад ++ ++ ++dec ++гру ++Грудень ++ ++ ++ ++ ++bc ++до н.е. ++до н.е. ++ ++ ++ad ++н.е. ++н.е. ++ ++ ++ ++sun ++ ++1 ++ ++ ++ ++ ++грн. ++грн. ++UAH ++Hrivnya ++2 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++true ++false ++1st quarter ++2nd quarter ++3rd quarter ++4th quarter ++above ++below ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/editors/openoffice-1.0/files/patch-sal+inc+rtl+textenc.h b/editors/openoffice-1.0/files/patch-sal+inc+rtl+textenc.h new file mode 100644 index 000000000000..10731179cff5 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sal+inc+rtl+textenc.h @@ -0,0 +1,21 @@ +--- ../sal/inc/rtl/textenc.h.orig Mon Feb 24 17:46:26 2003 ++++ ../sal/inc/rtl/textenc.h Tue Feb 25 16:45:00 2003 +@@ -173,8 +173,9 @@ + #define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 )) + #define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 )) + #define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 )) ++#define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 87 )) + +-#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 87 )) ++#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 88 )) + + #define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 )) + #define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF )) +@@ -223,6 +224,7 @@ + Cyrillic (DOS/OS2-866/Russian) RTL_TEXTENCODING_IBM_866 + Cyrillic (ISO-8859-5) RTL_TEXTENCODING_ISO_8859_5 + Cyrillic (KOI8-R) RTL_TEXTENCODING_KOI8_R ++Cyrillic (KOI8-U) RTL_TEXTENCODING_KOI8_U + Cyrillic (Windows-1251) RTL_TEXTENCODING_MS_1251 + + Greek (Apple Macintosh) RTL_TEXTENCODING_APPLE_GREEK diff --git a/editors/openoffice-1.0/files/patch-sal+textenc+tcvtest1.tab b/editors/openoffice-1.0/files/patch-sal+textenc+tcvtest1.tab new file mode 100644 index 000000000000..3597a0587962 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sal+textenc+tcvtest1.tab @@ -0,0 +1,173 @@ +--- ../sal/textenc/tcvtest1.tab.orig Fri Oct 12 13:44:53 2001 ++++ ../sal/textenc/tcvtest1.tab Tue Feb 25 16:47:50 2003 +@@ -4328,3 +4328,170 @@ + "koi8-r", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; + /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ ++ ++/* ======================================================================= */ ++ ++/* KOI8_U */ ++/* Standard Charset for Ukrainian Cyrillic */ ++/* 1-Byte, 0x00-0x7F ASCII ohne Ausnahme */ ++/* Convert-Tables: typed per hand */ ++/* Last-Changes from us: */ ++ ++#define KOI8UUNI_START 0x80 ++#define KOI8UUNI_END 0xFF ++static sal_uInt16 const aImplKOI8UToUniTab[KOI8UUNI_END - KOI8UUNI_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, /* 0x80 */ ++ 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590, /* 0x80 */ ++ 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248, /* 0x90 */ ++ 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7, /* 0x90 */ ++ 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, /* 0xA0 */ ++ 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E, /* 0xA0 */ ++ 0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, /* 0xB0 */ ++ 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x0490, 0x256C, 0x00A9, /* 0xB0 */ ++ 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, /* 0xC0 */ ++ 0x0445, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, /* 0xC0 */ ++ 0x043F, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, /* 0xD0 */ ++ 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A, /* 0xD0 */ ++ 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, /* 0xE0 */ ++ 0x0425, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, /* 0xE0 */ ++ 0x041F, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, /* 0xF0 */ ++ 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A /* 0xF0 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UCHAR_START 0x0410 ++#define KOI8UCHAR_END 0x044F ++static sal_uChar const aImplKOI8UToCharTab[KOI8UCHAR_END - KOI8UCHAR_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA, /* 0x0410 */ ++ 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0, /* 0x0410 */ ++ 0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE, /* 0x0420 */ ++ 0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1, /* 0x0420 */ ++ 0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA, /* 0x0430 */ ++ 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, /* 0x0430 */ ++ 0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE, /* 0x0440 */ ++ 0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1 /* 0x0440 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UTOCHARTABEX_COUNT 72 ++static ImplUniCharTabData const aImplKOI8UToCharTabEx[KOI8UTOCHARTABEX_COUNT] = ++{ ++ { 0x00A0, 0x9A }, ++ { 0x00A9, 0xBF }, ++ { 0x00B0, 0x9C }, ++ { 0x00B2, 0x9D }, ++ { 0x00B7, 0x9E }, ++ { 0x00F7, 0x9F }, ++ { 0x0401, 0xB3 }, ++ { 0x0404, 0xB4 }, ++ { 0x0406, 0xB6 }, ++ { 0x0407, 0xB7 }, ++ { 0x0451, 0xA3 }, ++ { 0x0454, 0xA4 }, ++ { 0x0456, 0xA6 }, ++ { 0x0457, 0xA7 }, ++ { 0x0490, 0xBD }, ++ { 0x0491, 0xAD }, ++ { 0x2219, 0x95 }, ++ { 0x221A, 0x96 }, ++ { 0x2248, 0x97 }, ++ { 0x2264, 0x98 }, ++ { 0x2265, 0x99 }, ++ { 0x2320, 0x93 }, ++ { 0x2321, 0x9B }, ++ { 0x2500, 0x80 }, ++ { 0x2502, 0x81 }, ++ { 0x250C, 0x82 }, ++ { 0x2510, 0x83 }, ++ { 0x2514, 0x84 }, ++ { 0x2518, 0x85 }, ++ { 0x251C, 0x86 }, ++ { 0x2524, 0x87 }, ++ { 0x252C, 0x88 }, ++ { 0x2534, 0x89 }, ++ { 0x253C, 0x8A }, ++ { 0x2550, 0xA0 }, ++ { 0x2551, 0xA1 }, ++ { 0x2552, 0xA2 }, ++ { 0x2553, 0xA4 }, ++ { 0x2554, 0xA5 }, ++ { 0x2555, 0xA6 }, ++ { 0x2556, 0xA7 }, ++ { 0x2557, 0xA8 }, ++ { 0x2558, 0xA9 }, ++ { 0x2559, 0xAA }, ++ { 0x255A, 0xAB }, ++ { 0x255B, 0xAC }, ++ { 0x255C, 0xAD }, ++ { 0x255D, 0xAE }, ++ { 0x255E, 0xAF }, ++ { 0x255F, 0xB0 }, ++ { 0x2560, 0xB1 }, ++ { 0x2561, 0xB2 }, ++ { 0x2562, 0xB4 }, ++ { 0x2563, 0xB5 }, ++ { 0x2564, 0xB6 }, ++ { 0x2565, 0xB7 }, ++ { 0x2566, 0xB8 }, ++ { 0x2567, 0xB9 }, ++ { 0x2568, 0xBA }, ++ { 0x2569, 0xBB }, ++ { 0x256A, 0xBC }, ++ { 0x256B, 0xBD }, ++ { 0x256C, 0xBE }, ++ { 0x2580, 0x8B }, ++ { 0x2584, 0x8C }, ++ { 0x2588, 0x8D }, ++ { 0x258C, 0x8E }, ++ { 0x2590, 0x8F }, ++ { 0x2591, 0x90 }, ++ { 0x2592, 0x91 }, ++ { 0x2593, 0x92 }, ++ { 0x25A0, 0x94 } ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplByteConvertData const aImplKOI8UByteCvtData = ++{ ++ aImplKOI8UToUniTab, ++ NULL, ++ KOI8UUNI_START, KOI8UUNI_END, ++ NOTABUNI_START, NOTABUNI_END, ++ aImplKOI8UToCharTab, ++ NULL, ++ aImplKOI8UToCharTabEx, ++ KOI8UCHAR_START, KOI8UCHAR_END, ++ NOTABCHAR_START, NOTABCHAR_END, ++ KOI8UTOCHARTABEX_COUNT ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplTextEncodingData const aImplKOI8UTextEncodingData ++ = { { &aImplKOI8UByteCvtData, ++ ImplCharToUnicode, ++ ImplUnicodeToChar, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL }, ++ RTL_TEXTENCODING_KOI8_U, ++ 1, ++ 1, ++ 1, ++ 204, ++ "koi8-u", ++ "koi8-u", ++ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; ++ /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ diff --git a/editors/openoffice-1.0/files/patch-sal+textenc+textenc.c b/editors/openoffice-1.0/files/patch-sal+textenc+textenc.c new file mode 100644 index 000000000000..1e822ae076ce --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sal+textenc+textenc.c @@ -0,0 +1,12 @@ +--- ../sal/textenc/textenc.c.orig Mon Feb 24 17:46:29 2003 ++++ ../sal/textenc/textenc.c Tue Feb 25 16:51:28 2003 +@@ -254,7 +254,8 @@ + &aImplJISX0212TextEncodingData, /* JIS_X_0212 */ + &aImplMS1361TextEncodingData, /* MS_1361 */ + &aImplGb18030TextEncodingData, /* GB_18030 */ +- &aImplBig5HkscsTextEncodingData }; /* BIG5_HKSCS */ ++ &aImplBig5HkscsTextEncodingData, /* BIG5_HKSCS */ ++ &aImplKOI8UTextEncodingData }; /* KOI8_U */ + OSL_ENSURE(nEncoding >= RTL_TEXTENCODING_DONTKNOW + && nEncoding <= RTL_TEXTENCODING_UNICODE, + "specification violation"); diff --git a/editors/openoffice-1.0/files/patch-solenv+inc+postset.mk b/editors/openoffice-1.0/files/patch-solenv+inc+postset.mk new file mode 100644 index 000000000000..722ec086cc54 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-solenv+inc+postset.mk @@ -0,0 +1,22 @@ +--- ../solenv/inc/postset.mk.orig Tue Jan 7 17:22:04 2003 ++++ ../solenv/inc/postset.mk Tue Feb 25 16:52:34 2003 +@@ -220,6 +220,19 @@ + RCLANGFLAGS_07+= -d RUSS + iso_07=ru + ++.IF "$(RES_UKRA)"!="" || "$(give_me_all_languages)"!="" ++alllangext+=38 ++ukra$(LANG_GUI)*=$(default$(LANG_GUI)) ++cmd_ukra:=ukra 38 -lgUKRAINIAN $(IBM_PC_852) $(ukra$(LANG_GUI)) ++lang_38=ukra ++longlang_38=ukrainian ++langext_38=38 ++rsclang_38=-lgUKRAINIAN $(IBM_PC_852) ++rescharset_38=$(ukra$(LANG_GUI)) ++RCLANGFLAGS_38+= -d UKRA ++iso_38=uk ++.ENDIF ++ + .IF "$(RES_POL)"!="" || "$(give_me_all_languages)"!="" + alllangext+=48 + .ENDIF diff --git a/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src new file mode 100644 index 000000000000..b8178b78384c --- /dev/null +++ b/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src @@ -0,0 +1,44 @@ +--- ../svx/source/dialog/txenctab.src.orig Thu Oct 31 23:18:23 2002 ++++ ../svx/source/dialog/txenctab.src Tue Feb 25 16:57:06 2003 +@@ -147,6 +147,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -235,6 +236,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese Simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Central European (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -308,6 +310,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -378,6 +381,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -512,7 +516,8 @@ + < " (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; + < " (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; + < " (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; +- < " (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; ++ < " (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < " (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < " (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < " (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < " (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; diff --git a/editors/openoffice-1.0/files/patch-sw+source+filter+basflt+fltini.cxx b/editors/openoffice-1.0/files/patch-sw+source+filter+basflt+fltini.cxx new file mode 100644 index 000000000000..4029175a3236 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sw+source+filter+basflt+fltini.cxx @@ -0,0 +1,22 @@ +--- ../sw/source/filter/basflt/fltini.cxx.orig Mon Feb 24 17:46:43 2003 ++++ ../sw/source/filter/basflt/fltini.cxx Tue Feb 25 16:59:03 2003 +@@ -1007,7 +1007,8 @@ + sToken081[] = "JIS_X_212", + sToken082[] = "MS_1361", + sToken083[] = "GB_18030", +- sToken084[] = "UNICODE_2" ++ sToken084[] = "KOI8_U", ++ sToken085[] = "UNICODE_2" + ; + struct _Dummy_MAP + { +@@ -1099,7 +1100,8 @@ + RTL_TEXTENCODING_JIS_X_0212, sToken081, + RTL_TEXTENCODING_MS_1361, sToken082, + RTL_TEXTENCODING_GB_18030, sToken083, +- RTL_TEXTENCODING_UCS2, sToken084 ++ RTL_TEXTENCODING_KOI8_U, sToken084, ++ RTL_TEXTENCODING_UCS2, sToken085 + }; + + BOOL bFnd = FALSE; diff --git a/editors/openoffice-1.0/files/patch-sysui+unix+office+cde+locales.tab b/editors/openoffice-1.0/files/patch-sysui+unix+office+cde+locales.tab new file mode 100644 index 000000000000..0c91acc455d1 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-sysui+unix+office+cde+locales.tab @@ -0,0 +1,10 @@ +--- ../sysui/unix/office/cde/locales.tab.orig Tue Nov 20 19:26:28 2001 ++++ ../sysui/unix/office/cde/locales.tab Tue Feb 25 17:04:36 2003 +@@ -7,6 +7,7 @@ + locales+=$(assign locale_34 = es es.UTF-8) + locales+=$(assign locale_35 = fi fi.UTF-8) + locales+=$(assign locale_37 = ca) ++locales+=$(assign locale_38 = uk uk_UA.KOI8-U) + locales+=$(assign locale_39 = it it.UTF-8) + locales+=$(assign locale_45 = da da.UTF-8) + locales+=$(assign locale_46 = sv sv.UTF-8) diff --git a/editors/openoffice-1.0/files/patch-tools+source+inet+inetmime.cxx b/editors/openoffice-1.0/files/patch-tools+source+inet+inetmime.cxx new file mode 100644 index 000000000000..58fc8db2a85b --- /dev/null +++ b/editors/openoffice-1.0/files/patch-tools+source+inet+inetmime.cxx @@ -0,0 +1,54 @@ +--- ../tools/source/inet/inetmime.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/inet/inetmime.cxx Tue Feb 25 17:08:22 2003 +@@ -1633,7 +1633,8 @@ + "ISO-8859-10", // RTL_TEXTENCODING_ISO_8859_10, RFC 2047 + "ISO-8859-13", // RTL_TEXTENCODING_ISO_8859_13, RFC 2047 + "EUC-KR", // RTL_TEXTENCODING_EUC_KR +- "ISO-2022-KR" }; // RTL_TEXTENCODING_ISO_2022_KR ++ "ISO-2022-KR", // RTL_TEXTENCODING_ISO_2022_KR ++ "KOI8-U" }; // RTL_TEXTENCODING_KOI8_U + DBG_ASSERT(aMap[eEncoding], + "INetMIME::getCharsetName(): Unsupported encoding"); + return aMap[eEncoding]; +@@ -1841,7 +1842,8 @@ + { "ISO-10646-UCS-4", RTL_TEXTENCODING_UCS4 }, + { "CSUCS4", RTL_TEXTENCODING_UCS4 }, + { "ISO-10646-UCS-2", RTL_TEXTENCODING_UCS2 }, +- { "CSUNICODE", RTL_TEXTENCODING_UCS2 } }; ++ { "CSUNICODE", RTL_TEXTENCODING_UCS2 }, ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U } }; + + //============================================================================ + template< typename T > +@@ -2012,6 +2014,18 @@ + // + // version 1.0 of 18 August 1999 + ++ static const sal_uInt32 aKOI8URanges[] ++ = { 0, 0x7F, 0xA0, 0xA0, 0xA9, 0xA9, 0xB0, 0xB0, 0xB2, 0xB2, ++ 0xB7, 0xB7, 0xF7, 0xF7, 0x401, 0x401, 0x410, 0x44F, 0x451, 0x451, ++ 0x2219, 0x221A, 0x2248, 0x2248, 0x2264, 0x2265, 0x2320, 0x2321, ++ 0x2500, 0x2500, 0x2502, 0x2502, 0x250C, 0x250C, 0x2510, 0x2510, ++ 0x2514, 0x2514, 0x2518, 0x2518, 0x251C, 0x251C, 0x2524, 0x2524, ++ 0x252C, 0x252C, 0x2534, 0x2534, 0x253C, 0x253C, 0x2550, 0x256C, ++ 0x2580, 0x2580, 0x2584, 0x2584, 0x2588, 0x2588, 0x258C, 0x258C, ++ 0x2590, 0x2593, 0x25A0, 0x25A0, sal_uInt32(-1) }; ++ // ++ // version 1.0 of 18 August 1999 ++ + static const sal_uInt32 aWindows1252Ranges[] + = { 0, 0x7F, 0xA0, 0xFF, 0x152, 0x153, 0x160, 0x161, 0x178, 0x178, + 0x17D, 0x17E, 0x192, 0x192, 0x2C6, 0x2C6, 0x2DC, 0x2DC, +@@ -2133,6 +2147,12 @@ + pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, + aISO88595Ranges)); + pList->prepend(Charset(RTL_TEXTENCODING_KOI8_R, aKOI8RRanges)); ++ break; ++ ++ case RTL_TEXTENCODING_KOI8_U: ++ pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, ++ aISO88595Ranges)); ++ pList->prepend(Charset(RTL_TEXTENCODING_KOI8_U, aKOI8URanges)); + break; + + default: //@@@ more cases are missing! diff --git a/editors/openoffice-1.0/files/patch-tools+source+rc+resmgr.cxx b/editors/openoffice-1.0/files/patch-tools+source+rc+resmgr.cxx new file mode 100644 index 000000000000..7e6174dd56fe --- /dev/null +++ b/editors/openoffice-1.0/files/patch-tools+source+rc+resmgr.cxx @@ -0,0 +1,19 @@ +--- ../tools/source/rc/resmgr.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/rc/resmgr.cxx Tue Feb 25 17:09:39 2003 +@@ -1189,6 +1189,8 @@ + return "36"; + case LANGUAGE_RUSSIAN: + return "07"; ++ case LANGUAGE_UKRAINIAN: ++ return "38"; + case LANGUAGE_SLOVAK: + return "04"; + case LANGUAGE_GREEK: +@@ -1339,6 +1341,7 @@ + LANGUAGE_HUNGARIAN, + LANGUAGE_CZECH, + LANGUAGE_RUSSIAN, ++ LANGUAGE_UKRAINIAN, + LANGUAGE_ARABIC, + LANGUAGE_GREEK, + LANGUAGE_KOREAN, diff --git a/editors/openoffice-1.0/files/patch-transex3+inc+export.hxx b/editors/openoffice-1.0/files/patch-transex3+inc+export.hxx new file mode 100644 index 000000000000..1263573285d3 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-transex3+inc+export.hxx @@ -0,0 +1,29 @@ +--- ../transex3/inc/export.hxx.orig Fri May 24 15:26:18 2002 ++++ ../transex3/inc/export.hxx Tue Feb 25 17:13:09 2003 +@@ -187,18 +187,22 @@ + #define CATALAN_ISO "ca" + #define CATALAN_INDEX 28 + ++#define UKRAINIAN 38 ++#define UKRAINIAN_ISO "uk" ++#define UKRAINIAN_INDEX 29 ++ + #define THAI 66 + #define THAI_ISO "th" +-#define THAI_INDEX 29 ++#define THAI_INDEX 30 + + // special language for l10n framework + #define EXTERN 99 +-#define EXTERN_INDEX 30 ++#define EXTERN_INDEX 31 + +-#define LANGUAGES 31 ++#define LANGUAGES 32 + + #define LANGUAGE_ALLOWED( n ) (( n != 0xFFFF ) && ( Export::LanguageAllowed( Export::LangId[ n ] )) && \ +- (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || \ ++ (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || ( Export::LangId[ n ] == 38 ) || \ + ( Export::LangId[ n ] == 30 ) || ( Export::LangId[ n ] == 31 ) || ( Export::LangId[ n ] == 33 ) || \ + ( Export::LangId[ n ] == 34 ) || ( Export::LangId[ n ] == 35 ) || ( Export::LangId[ n ] == 37 ) || \ + ( Export::LangId[ n ] == 39 ) || ( Export::LangId[ n ] == 45 ) || ( Export::LangId[ n ] == 46 ) || \ diff --git a/editors/openoffice-1.0/files/patch-transex3+source+export.cxx b/editors/openoffice-1.0/files/patch-transex3+source+export.cxx new file mode 100644 index 000000000000..b5ee0d1b294e --- /dev/null +++ b/editors/openoffice-1.0/files/patch-transex3+source+export.cxx @@ -0,0 +1,11 @@ +--- ../transex3/source/export.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export.cxx Tue Feb 25 17:14:06 2003 +@@ -1205,6 +1205,8 @@ + return PORTUGUESE_INDEX; + else if ( sLang == "RUSSIAN" ) + return RUSSIAN_INDEX; ++ else if ( sLang == "UKRAINIAN" ) ++ return UKRAINIAN_INDEX; + else if ( sLang == "GREEK" ) + return GREEK_INDEX; + else if ( sLang == "DUTCH" ) diff --git a/editors/openoffice-1.0/files/patch-transex3+source+export2.cxx b/editors/openoffice-1.0/files/patch-transex3+source+export2.cxx new file mode 100644 index 000000000000..031b9bdf4b8f --- /dev/null +++ b/editors/openoffice-1.0/files/patch-transex3+source+export2.cxx @@ -0,0 +1,43 @@ +--- ../transex3/source/export2.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export2.cxx Tue Feb 25 17:19:19 2003 +@@ -144,6 +144,7 @@ + ARABIC, + HEBREW, + CATALAN, ++ UKRAINIAN, + THAI, + EXTERN + }; +@@ -192,6 +193,7 @@ + case ARABIC: return RTL_TEXTENCODING_MS_1256; + case HEBREW: return RTL_TEXTENCODING_MS_1255; + case CATALAN: return RTL_TEXTENCODING_MS_1252; ++ case UKRAINIAN: return RTL_TEXTENCODING_MS_1251; + case THAI: return RTL_TEXTENCODING_UTF8; + case EXTERN: return RTL_TEXTENCODING_UTF8; + } +@@ -214,6 +216,8 @@ + return PORTUGUESE; + else if ( sLang == ByteString( RUSSIAN_ISO ).ToUpperAscii()) + return RUSSIAN; ++ else if ( sLang == ByteString( UKRAINIAN_ISO ).ToUpperAscii()) ++ return UKRAINIAN; + else if ( sLang == ByteString( GREEK_ISO ).ToUpperAscii()) + return GREEK; + else if ( sLang == ByteString( DUTCH_ISO ).ToUpperAscii()) +@@ -279,6 +283,7 @@ + case ENGLISH_US_INDEX: return ENGLISH_US_ISO; + case PORTUGUESE_INDEX: return PORTUGUESE_ISO; + case RUSSIAN_INDEX: return RUSSIAN_ISO; ++ case UKRAINIAN_INDEX: return UKRAINIAN_ISO; + case GREEK_INDEX: return GREEK_ISO; + case DUTCH_INDEX: return DUTCH_ISO; + case FRENCH_INDEX: return FRENCH_ISO; +@@ -429,6 +434,7 @@ + "arabic", + "hebrew", + "catalan", ++ "ukrainian", + "thai", + "extern" + }; diff --git a/editors/openoffice-1.0/files/patch-transex3+source+gsiconv.cxx b/editors/openoffice-1.0/files/patch-transex3+source+gsiconv.cxx new file mode 100644 index 000000000000..4bad0a9b6b2b --- /dev/null +++ b/editors/openoffice-1.0/files/patch-transex3+source+gsiconv.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/gsiconv.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/gsiconv.cxx Tue Feb 25 17:20:08 2003 +@@ -210,6 +210,7 @@ + fprintf( stdout, " 34 => SPANISH\n" ); + fprintf( stdout, " 35 => FINNISH\n" ); + fprintf( stdout, " 36 => HUNGARIAN\n" ); ++ fprintf( stdout, " 38 => UKRAINIAN\n" ); + fprintf( stdout, " 39 => ITALIAN\n" ); + fprintf( stdout, " 42 => CZECH\n" ); + fprintf( stdout, " 44 => ENGLISH (UK)\n" ); diff --git a/editors/openoffice-1.0/files/patch-transex3+source+merge.cxx b/editors/openoffice-1.0/files/patch-transex3+source+merge.cxx new file mode 100644 index 000000000000..6137c2a2408d --- /dev/null +++ b/editors/openoffice-1.0/files/patch-transex3+source+merge.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/merge.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/merge.cxx Tue Feb 25 17:20:43 2003 +@@ -388,6 +388,7 @@ + case ENGLISH_US: return ENGLISH_US_INDEX; + case PORTUGUESE: return PORTUGUESE_INDEX; + case RUSSIAN: return RUSSIAN_INDEX; ++ case UKRAINIAN: return UKRAINIAN_INDEX; + case GREEK: return GREEK_INDEX; + case DUTCH: return DUTCH_INDEX; + case FRENCH: return FRENCH_INDEX; diff --git a/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx b/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx new file mode 100644 index 000000000000..8b588120c718 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx @@ -0,0 +1,20 @@ +--- ../vcl/unx/source/gdi/salcvt.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/salcvt.cxx Tue Feb 25 17:21:50 2003 +@@ -261,6 +261,17 @@ + || ( nChar >= 0x2500 && nChar <= 0x25a0 ); + break; + ++ case RTL_TEXTENCODING_KOI8_U: ++ bMatch = ( nChar >= 0x0020 && nChar <= 0x007e ) ++ || ( nChar >= 0x00a0 && nChar <= 0x00b7 ) ++ || ( nChar == 0x00f7 ) ++ || ( nChar >= 0x0401 && nChar <= 0x0491 ) ++ || ( nChar >= 0x2219 && nChar <= 0x221a ) ++ || ( nChar >= 0x2248 && nChar <= 0x2265 ) ++ || ( nChar >= 0x2320 && nChar <= 0x2321 ) ++ || ( nChar >= 0x2500 && nChar <= 0x25a0 ); ++ break; ++ + case RTL_TEXTENCODING_UNICODE: + bMatch = True; + break; diff --git a/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx b/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx new file mode 100644 index 000000000000..15142495e078 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx @@ -0,0 +1,10 @@ +--- ../vcl/unx/source/gdi/xlfd_extd.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/xlfd_extd.cxx Tue Feb 25 17:22:26 2003 +@@ -205,6 +205,7 @@ + case RTL_TEXTENCODING_ISO_8859_15: + case RTL_TEXTENCODING_MS_1251: + case RTL_TEXTENCODING_KOI8_R: ++ case RTL_TEXTENCODING_KOI8_U: + case RTL_TEXTENCODING_JIS_X_0201: + if ( nLargestRange < 0x0080 ) + { diff --git a/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata+localedata.cxx b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata+localedata.cxx new file mode 100644 index 000000000000..dc4af11250f4 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata+localedata.cxx @@ -0,0 +1,10 @@ +--- ../i18npool/source/localedata/localedata.cxx.orig Mon Feb 24 17:47:22 2003 ++++ ../i18npool/source/localedata/localedata.cxx Tue Feb 25 16:41:58 2003 +@@ -150,6 +150,7 @@ + { "pt_BR", lcl_ASCII }, + { "pt_PT", lcl_ASCII }, + { "ru_RU", lcl_ASCII }, ++ { "uk_UA", lcl_ASCII }, + { "sv_FI", lcl_ASCII }, + { "tr_TR", lcl_ASCII }, + { "th_TH", lcl_ASCII }, // PlaDao convenience entry diff --git a/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk new file mode 100644 index 000000000000..47957effbdbf --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+makefile.mk @@ -0,0 +1,18 @@ +--- ../i18npool/source/localedata_ascii/makefile.mk.orig Sun Nov 17 23:27:32 2002 ++++ ../i18npool/source/localedata_ascii/makefile.mk Tue Feb 25 16:43:21 2003 +@@ -138,6 +138,7 @@ + $(MISC)$/localedata_pt_BR.cxx \ + $(MISC)$/localedata_pt_PT.cxx \ + $(MISC)$/localedata_ru_RU.cxx \ ++ $(MISC)$/localedata_uk_UA.cxx \ + $(MISC)$/localedata_sv_FI.cxx \ + $(MISC)$/localedata_tr_TR.cxx \ + $(MISC)$/localedata_nb_NO.cxx \ +@@ -208,6 +209,7 @@ + $(SLO)$/localedata_pt_BR.obj \ + $(SLO)$/localedata_pt_PT.obj \ + $(SLO)$/localedata_ru_RU.obj \ ++ $(SLO)$/localedata_uk_UA.obj \ + $(SLO)$/localedata_sv_FI.obj \ + $(SLO)$/localedata_tr_TR.obj \ + $(SLO)$/localedata_nb_NO.obj \ diff --git a/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml new file mode 100644 index 000000000000..68325b32eff0 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-i18npool+source+localedata_ascii+uk_UA.xml @@ -0,0 +1,454 @@ +--- ../i18npool/source/localedata_ascii/uk_UA.xml.orig Thu Jan 1 00:00:00 1970 ++++ ../i18npool/source/localedata_ascii/uk_UA.xml Fri Feb 28 13:04:01 2003 +@@ -0,0 +1,451 @@ ++ ++ ++ ++ ++ ++uk ++Ukrainian ++ ++ ++UA ++Ukraine ++ ++ ++generic ++ ++ ++ ++ ++ ++. ++ ++, ++: ++, ++; ++ ++ ++ ++ р. ++ ++ ++ ++ ++ ++ ++ ++AM ++PM ++Metric ++ ++ ++ ++M/D/YY ++ ++ ++ ++NN DD/MMM YY ++ ++ ++ ++MM/YY ++ ++ ++ ++MMM DD ++ ++ ++ ++MMMM ++ ++ ++ ++QQ YY ++ ++ ++ ++MM/DD/YYYY ++ ++ ++ ++MM/DD/YY ++ ++ ++ ++NNNNMMMM DD, YYYY ++ ++ ++ ++MMM D, YY ++ ++ ++ ++MMM D, YYYY ++ ++ ++ ++MMMM D, YYYY ++ ++ ++ ++NN, MMM D, YY ++ ++ ++ ++NN, MMMM D, YYYY ++ ++ ++ ++NNNNMMMM D, YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMM. YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMMM YYYY ++DIN 5008 (EN 28601) ++ ++ ++MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YY-MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YYYY-MM-DD ++ ++ ++ ++WW ++ ++ ++ ++HH:MM ++ ++ ++ ++HH:MM:SS ++ ++ ++ ++HH:MM AM/PM ++ ++ ++ ++HH:MM:SS AM/PM ++ ++ ++ ++[HH]:MM:SS ++ ++ ++ ++MM:SS,00 ++ ++ ++ ++[HH]:MM:SS,00 ++ ++ ++ ++MM/DD/YY HH:MM ++ ++ ++ ++MM/DD/YYYY HH:MM:SS ++ ++ ++ ++Standard ++ ++ ++ ++0 ++ ++ ++ ++0,00 ++ ++ ++ ++# ##0 ++ ++ ++ ++# ##0,00 ++ ++ ++ ++# ###,00 ++ ++ ++ ++[$грн.-419]# ##0;-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;-[$грн.-419]# ##0,00 ++ ++ ++ ++ [$грн.-419]# ##0;[RED]-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;[RED]-[$грн.-419]# ##0,00 ++ ++ ++ ++# ##0,00 CCC ++ ++ ++ ++[$грн.-419]# ##0,--;[RED]-[$грн.-419]# ##0,-- ++ ++ ++ ++0% ++ ++ ++ ++0,00% ++ ++ ++ ++0,00E+000 ++ ++ ++ ++0,00E+00 ++ ++ ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++ ++ ++sun ++Нд ++неділя ++ ++ ++mon ++Пн ++понеділок ++ ++ ++tue ++Вт ++вівторок ++ ++ ++wed ++Ср ++середа ++ ++ ++thu ++Чт ++четвер ++ ++ ++fri ++Пт ++п'ятниця ++ ++ ++sat ++Сб ++субота ++ ++ ++ ++ ++jan ++січ ++Січень ++ ++ ++feb ++лют ++Лютий ++ ++ ++mar ++бер ++Березень ++ ++ ++apr ++квт ++Квітень ++ ++ ++may ++трв ++Травень ++ ++ ++jun ++чер ++Червень ++ ++ ++jul ++лип ++Липень ++ ++ ++aug ++сер ++Серпень ++ ++ ++sep ++вер ++Вересень ++ ++ ++oct ++жов ++Жовтень ++ ++ ++nov ++лис ++Листопад ++ ++ ++dec ++гру ++Грудень ++ ++ ++ ++ ++bc ++до н.е. ++до н.е. ++ ++ ++ad ++н.е. ++н.е. ++ ++ ++ ++sun ++ ++1 ++ ++ ++ ++ ++грн. ++грн. ++UAH ++Hrivnya ++2 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++true ++false ++1st quarter ++2nd quarter ++3rd quarter ++4th quarter ++above ++below ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/editors/openoffice.org-1.0/files/patch-sal+inc+rtl+textenc.h b/editors/openoffice.org-1.0/files/patch-sal+inc+rtl+textenc.h new file mode 100644 index 000000000000..10731179cff5 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sal+inc+rtl+textenc.h @@ -0,0 +1,21 @@ +--- ../sal/inc/rtl/textenc.h.orig Mon Feb 24 17:46:26 2003 ++++ ../sal/inc/rtl/textenc.h Tue Feb 25 16:45:00 2003 +@@ -173,8 +173,9 @@ + #define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 )) + #define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 )) + #define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 )) ++#define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 87 )) + +-#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 87 )) ++#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 88 )) + + #define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 )) + #define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF )) +@@ -223,6 +224,7 @@ + Cyrillic (DOS/OS2-866/Russian) RTL_TEXTENCODING_IBM_866 + Cyrillic (ISO-8859-5) RTL_TEXTENCODING_ISO_8859_5 + Cyrillic (KOI8-R) RTL_TEXTENCODING_KOI8_R ++Cyrillic (KOI8-U) RTL_TEXTENCODING_KOI8_U + Cyrillic (Windows-1251) RTL_TEXTENCODING_MS_1251 + + Greek (Apple Macintosh) RTL_TEXTENCODING_APPLE_GREEK diff --git a/editors/openoffice.org-1.0/files/patch-sal+textenc+tcvtest1.tab b/editors/openoffice.org-1.0/files/patch-sal+textenc+tcvtest1.tab new file mode 100644 index 000000000000..3597a0587962 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sal+textenc+tcvtest1.tab @@ -0,0 +1,173 @@ +--- ../sal/textenc/tcvtest1.tab.orig Fri Oct 12 13:44:53 2001 ++++ ../sal/textenc/tcvtest1.tab Tue Feb 25 16:47:50 2003 +@@ -4328,3 +4328,170 @@ + "koi8-r", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; + /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ ++ ++/* ======================================================================= */ ++ ++/* KOI8_U */ ++/* Standard Charset for Ukrainian Cyrillic */ ++/* 1-Byte, 0x00-0x7F ASCII ohne Ausnahme */ ++/* Convert-Tables: typed per hand */ ++/* Last-Changes from us: */ ++ ++#define KOI8UUNI_START 0x80 ++#define KOI8UUNI_END 0xFF ++static sal_uInt16 const aImplKOI8UToUniTab[KOI8UUNI_END - KOI8UUNI_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, /* 0x80 */ ++ 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590, /* 0x80 */ ++ 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248, /* 0x90 */ ++ 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7, /* 0x90 */ ++ 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, /* 0xA0 */ ++ 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E, /* 0xA0 */ ++ 0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, /* 0xB0 */ ++ 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x0490, 0x256C, 0x00A9, /* 0xB0 */ ++ 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, /* 0xC0 */ ++ 0x0445, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, /* 0xC0 */ ++ 0x043F, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, /* 0xD0 */ ++ 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A, /* 0xD0 */ ++ 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, /* 0xE0 */ ++ 0x0425, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, /* 0xE0 */ ++ 0x041F, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, /* 0xF0 */ ++ 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A /* 0xF0 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UCHAR_START 0x0410 ++#define KOI8UCHAR_END 0x044F ++static sal_uChar const aImplKOI8UToCharTab[KOI8UCHAR_END - KOI8UCHAR_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA, /* 0x0410 */ ++ 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0, /* 0x0410 */ ++ 0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE, /* 0x0420 */ ++ 0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1, /* 0x0420 */ ++ 0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA, /* 0x0430 */ ++ 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, /* 0x0430 */ ++ 0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE, /* 0x0440 */ ++ 0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1 /* 0x0440 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UTOCHARTABEX_COUNT 72 ++static ImplUniCharTabData const aImplKOI8UToCharTabEx[KOI8UTOCHARTABEX_COUNT] = ++{ ++ { 0x00A0, 0x9A }, ++ { 0x00A9, 0xBF }, ++ { 0x00B0, 0x9C }, ++ { 0x00B2, 0x9D }, ++ { 0x00B7, 0x9E }, ++ { 0x00F7, 0x9F }, ++ { 0x0401, 0xB3 }, ++ { 0x0404, 0xB4 }, ++ { 0x0406, 0xB6 }, ++ { 0x0407, 0xB7 }, ++ { 0x0451, 0xA3 }, ++ { 0x0454, 0xA4 }, ++ { 0x0456, 0xA6 }, ++ { 0x0457, 0xA7 }, ++ { 0x0490, 0xBD }, ++ { 0x0491, 0xAD }, ++ { 0x2219, 0x95 }, ++ { 0x221A, 0x96 }, ++ { 0x2248, 0x97 }, ++ { 0x2264, 0x98 }, ++ { 0x2265, 0x99 }, ++ { 0x2320, 0x93 }, ++ { 0x2321, 0x9B }, ++ { 0x2500, 0x80 }, ++ { 0x2502, 0x81 }, ++ { 0x250C, 0x82 }, ++ { 0x2510, 0x83 }, ++ { 0x2514, 0x84 }, ++ { 0x2518, 0x85 }, ++ { 0x251C, 0x86 }, ++ { 0x2524, 0x87 }, ++ { 0x252C, 0x88 }, ++ { 0x2534, 0x89 }, ++ { 0x253C, 0x8A }, ++ { 0x2550, 0xA0 }, ++ { 0x2551, 0xA1 }, ++ { 0x2552, 0xA2 }, ++ { 0x2553, 0xA4 }, ++ { 0x2554, 0xA5 }, ++ { 0x2555, 0xA6 }, ++ { 0x2556, 0xA7 }, ++ { 0x2557, 0xA8 }, ++ { 0x2558, 0xA9 }, ++ { 0x2559, 0xAA }, ++ { 0x255A, 0xAB }, ++ { 0x255B, 0xAC }, ++ { 0x255C, 0xAD }, ++ { 0x255D, 0xAE }, ++ { 0x255E, 0xAF }, ++ { 0x255F, 0xB0 }, ++ { 0x2560, 0xB1 }, ++ { 0x2561, 0xB2 }, ++ { 0x2562, 0xB4 }, ++ { 0x2563, 0xB5 }, ++ { 0x2564, 0xB6 }, ++ { 0x2565, 0xB7 }, ++ { 0x2566, 0xB8 }, ++ { 0x2567, 0xB9 }, ++ { 0x2568, 0xBA }, ++ { 0x2569, 0xBB }, ++ { 0x256A, 0xBC }, ++ { 0x256B, 0xBD }, ++ { 0x256C, 0xBE }, ++ { 0x2580, 0x8B }, ++ { 0x2584, 0x8C }, ++ { 0x2588, 0x8D }, ++ { 0x258C, 0x8E }, ++ { 0x2590, 0x8F }, ++ { 0x2591, 0x90 }, ++ { 0x2592, 0x91 }, ++ { 0x2593, 0x92 }, ++ { 0x25A0, 0x94 } ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplByteConvertData const aImplKOI8UByteCvtData = ++{ ++ aImplKOI8UToUniTab, ++ NULL, ++ KOI8UUNI_START, KOI8UUNI_END, ++ NOTABUNI_START, NOTABUNI_END, ++ aImplKOI8UToCharTab, ++ NULL, ++ aImplKOI8UToCharTabEx, ++ KOI8UCHAR_START, KOI8UCHAR_END, ++ NOTABCHAR_START, NOTABCHAR_END, ++ KOI8UTOCHARTABEX_COUNT ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplTextEncodingData const aImplKOI8UTextEncodingData ++ = { { &aImplKOI8UByteCvtData, ++ ImplCharToUnicode, ++ ImplUnicodeToChar, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL }, ++ RTL_TEXTENCODING_KOI8_U, ++ 1, ++ 1, ++ 1, ++ 204, ++ "koi8-u", ++ "koi8-u", ++ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; ++ /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ diff --git a/editors/openoffice.org-1.0/files/patch-sal+textenc+textenc.c b/editors/openoffice.org-1.0/files/patch-sal+textenc+textenc.c new file mode 100644 index 000000000000..1e822ae076ce --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sal+textenc+textenc.c @@ -0,0 +1,12 @@ +--- ../sal/textenc/textenc.c.orig Mon Feb 24 17:46:29 2003 ++++ ../sal/textenc/textenc.c Tue Feb 25 16:51:28 2003 +@@ -254,7 +254,8 @@ + &aImplJISX0212TextEncodingData, /* JIS_X_0212 */ + &aImplMS1361TextEncodingData, /* MS_1361 */ + &aImplGb18030TextEncodingData, /* GB_18030 */ +- &aImplBig5HkscsTextEncodingData }; /* BIG5_HKSCS */ ++ &aImplBig5HkscsTextEncodingData, /* BIG5_HKSCS */ ++ &aImplKOI8UTextEncodingData }; /* KOI8_U */ + OSL_ENSURE(nEncoding >= RTL_TEXTENCODING_DONTKNOW + && nEncoding <= RTL_TEXTENCODING_UNICODE, + "specification violation"); diff --git a/editors/openoffice.org-1.0/files/patch-solenv+inc+postset.mk b/editors/openoffice.org-1.0/files/patch-solenv+inc+postset.mk new file mode 100644 index 000000000000..722ec086cc54 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-solenv+inc+postset.mk @@ -0,0 +1,22 @@ +--- ../solenv/inc/postset.mk.orig Tue Jan 7 17:22:04 2003 ++++ ../solenv/inc/postset.mk Tue Feb 25 16:52:34 2003 +@@ -220,6 +220,19 @@ + RCLANGFLAGS_07+= -d RUSS + iso_07=ru + ++.IF "$(RES_UKRA)"!="" || "$(give_me_all_languages)"!="" ++alllangext+=38 ++ukra$(LANG_GUI)*=$(default$(LANG_GUI)) ++cmd_ukra:=ukra 38 -lgUKRAINIAN $(IBM_PC_852) $(ukra$(LANG_GUI)) ++lang_38=ukra ++longlang_38=ukrainian ++langext_38=38 ++rsclang_38=-lgUKRAINIAN $(IBM_PC_852) ++rescharset_38=$(ukra$(LANG_GUI)) ++RCLANGFLAGS_38+= -d UKRA ++iso_38=uk ++.ENDIF ++ + .IF "$(RES_POL)"!="" || "$(give_me_all_languages)"!="" + alllangext+=48 + .ENDIF diff --git a/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src new file mode 100644 index 000000000000..b8178b78384c --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src @@ -0,0 +1,44 @@ +--- ../svx/source/dialog/txenctab.src.orig Thu Oct 31 23:18:23 2002 ++++ ../svx/source/dialog/txenctab.src Tue Feb 25 16:57:06 2003 +@@ -147,6 +147,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -235,6 +236,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese Simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Central European (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -308,6 +310,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -378,6 +381,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -512,7 +516,8 @@ + < " (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; + < " (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; + < " (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; +- < " (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; ++ < " (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < " (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < " (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < " (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < " (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; diff --git a/editors/openoffice.org-1.0/files/patch-sw+source+filter+basflt+fltini.cxx b/editors/openoffice.org-1.0/files/patch-sw+source+filter+basflt+fltini.cxx new file mode 100644 index 000000000000..4029175a3236 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sw+source+filter+basflt+fltini.cxx @@ -0,0 +1,22 @@ +--- ../sw/source/filter/basflt/fltini.cxx.orig Mon Feb 24 17:46:43 2003 ++++ ../sw/source/filter/basflt/fltini.cxx Tue Feb 25 16:59:03 2003 +@@ -1007,7 +1007,8 @@ + sToken081[] = "JIS_X_212", + sToken082[] = "MS_1361", + sToken083[] = "GB_18030", +- sToken084[] = "UNICODE_2" ++ sToken084[] = "KOI8_U", ++ sToken085[] = "UNICODE_2" + ; + struct _Dummy_MAP + { +@@ -1099,7 +1100,8 @@ + RTL_TEXTENCODING_JIS_X_0212, sToken081, + RTL_TEXTENCODING_MS_1361, sToken082, + RTL_TEXTENCODING_GB_18030, sToken083, +- RTL_TEXTENCODING_UCS2, sToken084 ++ RTL_TEXTENCODING_KOI8_U, sToken084, ++ RTL_TEXTENCODING_UCS2, sToken085 + }; + + BOOL bFnd = FALSE; diff --git a/editors/openoffice.org-1.0/files/patch-sysui+unix+office+cde+locales.tab b/editors/openoffice.org-1.0/files/patch-sysui+unix+office+cde+locales.tab new file mode 100644 index 000000000000..0c91acc455d1 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sysui+unix+office+cde+locales.tab @@ -0,0 +1,10 @@ +--- ../sysui/unix/office/cde/locales.tab.orig Tue Nov 20 19:26:28 2001 ++++ ../sysui/unix/office/cde/locales.tab Tue Feb 25 17:04:36 2003 +@@ -7,6 +7,7 @@ + locales+=$(assign locale_34 = es es.UTF-8) + locales+=$(assign locale_35 = fi fi.UTF-8) + locales+=$(assign locale_37 = ca) ++locales+=$(assign locale_38 = uk uk_UA.KOI8-U) + locales+=$(assign locale_39 = it it.UTF-8) + locales+=$(assign locale_45 = da da.UTF-8) + locales+=$(assign locale_46 = sv sv.UTF-8) diff --git a/editors/openoffice.org-1.0/files/patch-tools+source+inet+inetmime.cxx b/editors/openoffice.org-1.0/files/patch-tools+source+inet+inetmime.cxx new file mode 100644 index 000000000000..58fc8db2a85b --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-tools+source+inet+inetmime.cxx @@ -0,0 +1,54 @@ +--- ../tools/source/inet/inetmime.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/inet/inetmime.cxx Tue Feb 25 17:08:22 2003 +@@ -1633,7 +1633,8 @@ + "ISO-8859-10", // RTL_TEXTENCODING_ISO_8859_10, RFC 2047 + "ISO-8859-13", // RTL_TEXTENCODING_ISO_8859_13, RFC 2047 + "EUC-KR", // RTL_TEXTENCODING_EUC_KR +- "ISO-2022-KR" }; // RTL_TEXTENCODING_ISO_2022_KR ++ "ISO-2022-KR", // RTL_TEXTENCODING_ISO_2022_KR ++ "KOI8-U" }; // RTL_TEXTENCODING_KOI8_U + DBG_ASSERT(aMap[eEncoding], + "INetMIME::getCharsetName(): Unsupported encoding"); + return aMap[eEncoding]; +@@ -1841,7 +1842,8 @@ + { "ISO-10646-UCS-4", RTL_TEXTENCODING_UCS4 }, + { "CSUCS4", RTL_TEXTENCODING_UCS4 }, + { "ISO-10646-UCS-2", RTL_TEXTENCODING_UCS2 }, +- { "CSUNICODE", RTL_TEXTENCODING_UCS2 } }; ++ { "CSUNICODE", RTL_TEXTENCODING_UCS2 }, ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U } }; + + //============================================================================ + template< typename T > +@@ -2012,6 +2014,18 @@ + // + // version 1.0 of 18 August 1999 + ++ static const sal_uInt32 aKOI8URanges[] ++ = { 0, 0x7F, 0xA0, 0xA0, 0xA9, 0xA9, 0xB0, 0xB0, 0xB2, 0xB2, ++ 0xB7, 0xB7, 0xF7, 0xF7, 0x401, 0x401, 0x410, 0x44F, 0x451, 0x451, ++ 0x2219, 0x221A, 0x2248, 0x2248, 0x2264, 0x2265, 0x2320, 0x2321, ++ 0x2500, 0x2500, 0x2502, 0x2502, 0x250C, 0x250C, 0x2510, 0x2510, ++ 0x2514, 0x2514, 0x2518, 0x2518, 0x251C, 0x251C, 0x2524, 0x2524, ++ 0x252C, 0x252C, 0x2534, 0x2534, 0x253C, 0x253C, 0x2550, 0x256C, ++ 0x2580, 0x2580, 0x2584, 0x2584, 0x2588, 0x2588, 0x258C, 0x258C, ++ 0x2590, 0x2593, 0x25A0, 0x25A0, sal_uInt32(-1) }; ++ // ++ // version 1.0 of 18 August 1999 ++ + static const sal_uInt32 aWindows1252Ranges[] + = { 0, 0x7F, 0xA0, 0xFF, 0x152, 0x153, 0x160, 0x161, 0x178, 0x178, + 0x17D, 0x17E, 0x192, 0x192, 0x2C6, 0x2C6, 0x2DC, 0x2DC, +@@ -2133,6 +2147,12 @@ + pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, + aISO88595Ranges)); + pList->prepend(Charset(RTL_TEXTENCODING_KOI8_R, aKOI8RRanges)); ++ break; ++ ++ case RTL_TEXTENCODING_KOI8_U: ++ pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, ++ aISO88595Ranges)); ++ pList->prepend(Charset(RTL_TEXTENCODING_KOI8_U, aKOI8URanges)); + break; + + default: //@@@ more cases are missing! diff --git a/editors/openoffice.org-1.0/files/patch-tools+source+rc+resmgr.cxx b/editors/openoffice.org-1.0/files/patch-tools+source+rc+resmgr.cxx new file mode 100644 index 000000000000..7e6174dd56fe --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-tools+source+rc+resmgr.cxx @@ -0,0 +1,19 @@ +--- ../tools/source/rc/resmgr.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/rc/resmgr.cxx Tue Feb 25 17:09:39 2003 +@@ -1189,6 +1189,8 @@ + return "36"; + case LANGUAGE_RUSSIAN: + return "07"; ++ case LANGUAGE_UKRAINIAN: ++ return "38"; + case LANGUAGE_SLOVAK: + return "04"; + case LANGUAGE_GREEK: +@@ -1339,6 +1341,7 @@ + LANGUAGE_HUNGARIAN, + LANGUAGE_CZECH, + LANGUAGE_RUSSIAN, ++ LANGUAGE_UKRAINIAN, + LANGUAGE_ARABIC, + LANGUAGE_GREEK, + LANGUAGE_KOREAN, diff --git a/editors/openoffice.org-1.0/files/patch-transex3+inc+export.hxx b/editors/openoffice.org-1.0/files/patch-transex3+inc+export.hxx new file mode 100644 index 000000000000..1263573285d3 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-transex3+inc+export.hxx @@ -0,0 +1,29 @@ +--- ../transex3/inc/export.hxx.orig Fri May 24 15:26:18 2002 ++++ ../transex3/inc/export.hxx Tue Feb 25 17:13:09 2003 +@@ -187,18 +187,22 @@ + #define CATALAN_ISO "ca" + #define CATALAN_INDEX 28 + ++#define UKRAINIAN 38 ++#define UKRAINIAN_ISO "uk" ++#define UKRAINIAN_INDEX 29 ++ + #define THAI 66 + #define THAI_ISO "th" +-#define THAI_INDEX 29 ++#define THAI_INDEX 30 + + // special language for l10n framework + #define EXTERN 99 +-#define EXTERN_INDEX 30 ++#define EXTERN_INDEX 31 + +-#define LANGUAGES 31 ++#define LANGUAGES 32 + + #define LANGUAGE_ALLOWED( n ) (( n != 0xFFFF ) && ( Export::LanguageAllowed( Export::LangId[ n ] )) && \ +- (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || \ ++ (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || ( Export::LangId[ n ] == 38 ) || \ + ( Export::LangId[ n ] == 30 ) || ( Export::LangId[ n ] == 31 ) || ( Export::LangId[ n ] == 33 ) || \ + ( Export::LangId[ n ] == 34 ) || ( Export::LangId[ n ] == 35 ) || ( Export::LangId[ n ] == 37 ) || \ + ( Export::LangId[ n ] == 39 ) || ( Export::LangId[ n ] == 45 ) || ( Export::LangId[ n ] == 46 ) || \ diff --git a/editors/openoffice.org-1.0/files/patch-transex3+source+export.cxx b/editors/openoffice.org-1.0/files/patch-transex3+source+export.cxx new file mode 100644 index 000000000000..b5ee0d1b294e --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-transex3+source+export.cxx @@ -0,0 +1,11 @@ +--- ../transex3/source/export.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export.cxx Tue Feb 25 17:14:06 2003 +@@ -1205,6 +1205,8 @@ + return PORTUGUESE_INDEX; + else if ( sLang == "RUSSIAN" ) + return RUSSIAN_INDEX; ++ else if ( sLang == "UKRAINIAN" ) ++ return UKRAINIAN_INDEX; + else if ( sLang == "GREEK" ) + return GREEK_INDEX; + else if ( sLang == "DUTCH" ) diff --git a/editors/openoffice.org-1.0/files/patch-transex3+source+export2.cxx b/editors/openoffice.org-1.0/files/patch-transex3+source+export2.cxx new file mode 100644 index 000000000000..031b9bdf4b8f --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-transex3+source+export2.cxx @@ -0,0 +1,43 @@ +--- ../transex3/source/export2.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export2.cxx Tue Feb 25 17:19:19 2003 +@@ -144,6 +144,7 @@ + ARABIC, + HEBREW, + CATALAN, ++ UKRAINIAN, + THAI, + EXTERN + }; +@@ -192,6 +193,7 @@ + case ARABIC: return RTL_TEXTENCODING_MS_1256; + case HEBREW: return RTL_TEXTENCODING_MS_1255; + case CATALAN: return RTL_TEXTENCODING_MS_1252; ++ case UKRAINIAN: return RTL_TEXTENCODING_MS_1251; + case THAI: return RTL_TEXTENCODING_UTF8; + case EXTERN: return RTL_TEXTENCODING_UTF8; + } +@@ -214,6 +216,8 @@ + return PORTUGUESE; + else if ( sLang == ByteString( RUSSIAN_ISO ).ToUpperAscii()) + return RUSSIAN; ++ else if ( sLang == ByteString( UKRAINIAN_ISO ).ToUpperAscii()) ++ return UKRAINIAN; + else if ( sLang == ByteString( GREEK_ISO ).ToUpperAscii()) + return GREEK; + else if ( sLang == ByteString( DUTCH_ISO ).ToUpperAscii()) +@@ -279,6 +283,7 @@ + case ENGLISH_US_INDEX: return ENGLISH_US_ISO; + case PORTUGUESE_INDEX: return PORTUGUESE_ISO; + case RUSSIAN_INDEX: return RUSSIAN_ISO; ++ case UKRAINIAN_INDEX: return UKRAINIAN_ISO; + case GREEK_INDEX: return GREEK_ISO; + case DUTCH_INDEX: return DUTCH_ISO; + case FRENCH_INDEX: return FRENCH_ISO; +@@ -429,6 +434,7 @@ + "arabic", + "hebrew", + "catalan", ++ "ukrainian", + "thai", + "extern" + }; diff --git a/editors/openoffice.org-1.0/files/patch-transex3+source+gsiconv.cxx b/editors/openoffice.org-1.0/files/patch-transex3+source+gsiconv.cxx new file mode 100644 index 000000000000..4bad0a9b6b2b --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-transex3+source+gsiconv.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/gsiconv.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/gsiconv.cxx Tue Feb 25 17:20:08 2003 +@@ -210,6 +210,7 @@ + fprintf( stdout, " 34 => SPANISH\n" ); + fprintf( stdout, " 35 => FINNISH\n" ); + fprintf( stdout, " 36 => HUNGARIAN\n" ); ++ fprintf( stdout, " 38 => UKRAINIAN\n" ); + fprintf( stdout, " 39 => ITALIAN\n" ); + fprintf( stdout, " 42 => CZECH\n" ); + fprintf( stdout, " 44 => ENGLISH (UK)\n" ); diff --git a/editors/openoffice.org-1.0/files/patch-transex3+source+merge.cxx b/editors/openoffice.org-1.0/files/patch-transex3+source+merge.cxx new file mode 100644 index 000000000000..6137c2a2408d --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-transex3+source+merge.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/merge.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/merge.cxx Tue Feb 25 17:20:43 2003 +@@ -388,6 +388,7 @@ + case ENGLISH_US: return ENGLISH_US_INDEX; + case PORTUGUESE: return PORTUGUESE_INDEX; + case RUSSIAN: return RUSSIAN_INDEX; ++ case UKRAINIAN: return UKRAINIAN_INDEX; + case GREEK: return GREEK_INDEX; + case DUTCH: return DUTCH_INDEX; + case FRENCH: return FRENCH_INDEX; diff --git a/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx new file mode 100644 index 000000000000..8b588120c718 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+salcvt.cxx @@ -0,0 +1,20 @@ +--- ../vcl/unx/source/gdi/salcvt.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/salcvt.cxx Tue Feb 25 17:21:50 2003 +@@ -261,6 +261,17 @@ + || ( nChar >= 0x2500 && nChar <= 0x25a0 ); + break; + ++ case RTL_TEXTENCODING_KOI8_U: ++ bMatch = ( nChar >= 0x0020 && nChar <= 0x007e ) ++ || ( nChar >= 0x00a0 && nChar <= 0x00b7 ) ++ || ( nChar == 0x00f7 ) ++ || ( nChar >= 0x0401 && nChar <= 0x0491 ) ++ || ( nChar >= 0x2219 && nChar <= 0x221a ) ++ || ( nChar >= 0x2248 && nChar <= 0x2265 ) ++ || ( nChar >= 0x2320 && nChar <= 0x2321 ) ++ || ( nChar >= 0x2500 && nChar <= 0x25a0 ); ++ break; ++ + case RTL_TEXTENCODING_UNICODE: + bMatch = True; + break; diff --git a/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx new file mode 100644 index 000000000000..15142495e078 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx @@ -0,0 +1,10 @@ +--- ../vcl/unx/source/gdi/xlfd_extd.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/xlfd_extd.cxx Tue Feb 25 17:22:26 2003 +@@ -205,6 +205,7 @@ + case RTL_TEXTENCODING_ISO_8859_15: + case RTL_TEXTENCODING_MS_1251: + case RTL_TEXTENCODING_KOI8_R: ++ case RTL_TEXTENCODING_KOI8_U: + case RTL_TEXTENCODING_JIS_X_0201: + if ( nLargestRange < 0x0080 ) + { diff --git a/editors/openoffice/files/patch-i18npool+source+localedata+localedata.cxx b/editors/openoffice/files/patch-i18npool+source+localedata+localedata.cxx new file mode 100644 index 000000000000..dc4af11250f4 --- /dev/null +++ b/editors/openoffice/files/patch-i18npool+source+localedata+localedata.cxx @@ -0,0 +1,10 @@ +--- ../i18npool/source/localedata/localedata.cxx.orig Mon Feb 24 17:47:22 2003 ++++ ../i18npool/source/localedata/localedata.cxx Tue Feb 25 16:41:58 2003 +@@ -150,6 +150,7 @@ + { "pt_BR", lcl_ASCII }, + { "pt_PT", lcl_ASCII }, + { "ru_RU", lcl_ASCII }, ++ { "uk_UA", lcl_ASCII }, + { "sv_FI", lcl_ASCII }, + { "tr_TR", lcl_ASCII }, + { "th_TH", lcl_ASCII }, // PlaDao convenience entry diff --git a/editors/openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk b/editors/openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk new file mode 100644 index 000000000000..47957effbdbf --- /dev/null +++ b/editors/openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk @@ -0,0 +1,18 @@ +--- ../i18npool/source/localedata_ascii/makefile.mk.orig Sun Nov 17 23:27:32 2002 ++++ ../i18npool/source/localedata_ascii/makefile.mk Tue Feb 25 16:43:21 2003 +@@ -138,6 +138,7 @@ + $(MISC)$/localedata_pt_BR.cxx \ + $(MISC)$/localedata_pt_PT.cxx \ + $(MISC)$/localedata_ru_RU.cxx \ ++ $(MISC)$/localedata_uk_UA.cxx \ + $(MISC)$/localedata_sv_FI.cxx \ + $(MISC)$/localedata_tr_TR.cxx \ + $(MISC)$/localedata_nb_NO.cxx \ +@@ -208,6 +209,7 @@ + $(SLO)$/localedata_pt_BR.obj \ + $(SLO)$/localedata_pt_PT.obj \ + $(SLO)$/localedata_ru_RU.obj \ ++ $(SLO)$/localedata_uk_UA.obj \ + $(SLO)$/localedata_sv_FI.obj \ + $(SLO)$/localedata_tr_TR.obj \ + $(SLO)$/localedata_nb_NO.obj \ diff --git a/editors/openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml b/editors/openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml new file mode 100644 index 000000000000..68325b32eff0 --- /dev/null +++ b/editors/openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml @@ -0,0 +1,454 @@ +--- ../i18npool/source/localedata_ascii/uk_UA.xml.orig Thu Jan 1 00:00:00 1970 ++++ ../i18npool/source/localedata_ascii/uk_UA.xml Fri Feb 28 13:04:01 2003 +@@ -0,0 +1,451 @@ ++ ++ ++ ++ ++ ++uk ++Ukrainian ++ ++ ++UA ++Ukraine ++ ++ ++generic ++ ++ ++ ++ ++ ++. ++ ++, ++: ++, ++; ++ ++ ++ ++ р. ++ ++ ++ ++ ++ ++ ++ ++AM ++PM ++Metric ++ ++ ++ ++M/D/YY ++ ++ ++ ++NN DD/MMM YY ++ ++ ++ ++MM/YY ++ ++ ++ ++MMM DD ++ ++ ++ ++MMMM ++ ++ ++ ++QQ YY ++ ++ ++ ++MM/DD/YYYY ++ ++ ++ ++MM/DD/YY ++ ++ ++ ++NNNNMMMM DD, YYYY ++ ++ ++ ++MMM D, YY ++ ++ ++ ++MMM D, YYYY ++ ++ ++ ++MMMM D, YYYY ++ ++ ++ ++NN, MMM D, YY ++ ++ ++ ++NN, MMMM D, YYYY ++ ++ ++ ++NNNNMMMM D, YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMM. YYYY ++DIN 5008 (EN 28601) ++ ++ ++D. MMMM YYYY ++DIN 5008 (EN 28601) ++ ++ ++MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YY-MM-DD ++DIN 5008 (EN 28601) ++ ++ ++YYYY-MM-DD ++ ++ ++ ++WW ++ ++ ++ ++HH:MM ++ ++ ++ ++HH:MM:SS ++ ++ ++ ++HH:MM AM/PM ++ ++ ++ ++HH:MM:SS AM/PM ++ ++ ++ ++[HH]:MM:SS ++ ++ ++ ++MM:SS,00 ++ ++ ++ ++[HH]:MM:SS,00 ++ ++ ++ ++MM/DD/YY HH:MM ++ ++ ++ ++MM/DD/YYYY HH:MM:SS ++ ++ ++ ++Standard ++ ++ ++ ++0 ++ ++ ++ ++0,00 ++ ++ ++ ++# ##0 ++ ++ ++ ++# ##0,00 ++ ++ ++ ++# ###,00 ++ ++ ++ ++[$грн.-419]# ##0;-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;-[$грн.-419]# ##0,00 ++ ++ ++ ++ [$грн.-419]# ##0;[RED]-[$грн.-419]# ##0 ++ ++ ++ ++[$грн.-419]# ##0,00;[RED]-[$грн.-419]# ##0,00 ++ ++ ++ ++# ##0,00 CCC ++ ++ ++ ++[$грн.-419]# ##0,--;[RED]-[$грн.-419]# ##0,-- ++ ++ ++ ++0% ++ ++ ++ ++0,00% ++ ++ ++ ++0,00E+000 ++ ++ ++ ++0,00E+00 ++ ++ ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++IGNORE_CASE ++ ++ ++ ++ ++ ++ ++sun ++Нд ++неділя ++ ++ ++mon ++Пн ++понеділок ++ ++ ++tue ++Вт ++вівторок ++ ++ ++wed ++Ср ++середа ++ ++ ++thu ++Чт ++четвер ++ ++ ++fri ++Пт ++п'ятниця ++ ++ ++sat ++Сб ++субота ++ ++ ++ ++ ++jan ++січ ++Січень ++ ++ ++feb ++лют ++Лютий ++ ++ ++mar ++бер ++Березень ++ ++ ++apr ++квт ++Квітень ++ ++ ++may ++трв ++Травень ++ ++ ++jun ++чер ++Червень ++ ++ ++jul ++лип ++Липень ++ ++ ++aug ++сер ++Серпень ++ ++ ++sep ++вер ++Вересень ++ ++ ++oct ++жов ++Жовтень ++ ++ ++nov ++лис ++Листопад ++ ++ ++dec ++гру ++Грудень ++ ++ ++ ++ ++bc ++до н.е. ++до н.е. ++ ++ ++ad ++н.е. ++н.е. ++ ++ ++ ++sun ++ ++1 ++ ++ ++ ++ ++грн. ++грн. ++UAH ++Hrivnya ++2 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++true ++false ++1st quarter ++2nd quarter ++3rd quarter ++4th quarter ++above ++below ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ diff --git a/editors/openoffice/files/patch-sal+inc+rtl+textenc.h b/editors/openoffice/files/patch-sal+inc+rtl+textenc.h new file mode 100644 index 000000000000..10731179cff5 --- /dev/null +++ b/editors/openoffice/files/patch-sal+inc+rtl+textenc.h @@ -0,0 +1,21 @@ +--- ../sal/inc/rtl/textenc.h.orig Mon Feb 24 17:46:26 2003 ++++ ../sal/inc/rtl/textenc.h Tue Feb 25 16:45:00 2003 +@@ -173,8 +173,9 @@ + #define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 )) + #define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 )) + #define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 )) ++#define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 87 )) + +-#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 87 )) ++#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 88 )) + + #define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 )) + #define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF )) +@@ -223,6 +224,7 @@ + Cyrillic (DOS/OS2-866/Russian) RTL_TEXTENCODING_IBM_866 + Cyrillic (ISO-8859-5) RTL_TEXTENCODING_ISO_8859_5 + Cyrillic (KOI8-R) RTL_TEXTENCODING_KOI8_R ++Cyrillic (KOI8-U) RTL_TEXTENCODING_KOI8_U + Cyrillic (Windows-1251) RTL_TEXTENCODING_MS_1251 + + Greek (Apple Macintosh) RTL_TEXTENCODING_APPLE_GREEK diff --git a/editors/openoffice/files/patch-sal+textenc+tcvtest1.tab b/editors/openoffice/files/patch-sal+textenc+tcvtest1.tab new file mode 100644 index 000000000000..3597a0587962 --- /dev/null +++ b/editors/openoffice/files/patch-sal+textenc+tcvtest1.tab @@ -0,0 +1,173 @@ +--- ../sal/textenc/tcvtest1.tab.orig Fri Oct 12 13:44:53 2001 ++++ ../sal/textenc/tcvtest1.tab Tue Feb 25 16:47:50 2003 +@@ -4328,3 +4328,170 @@ + "koi8-r", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; + /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ ++ ++/* ======================================================================= */ ++ ++/* KOI8_U */ ++/* Standard Charset for Ukrainian Cyrillic */ ++/* 1-Byte, 0x00-0x7F ASCII ohne Ausnahme */ ++/* Convert-Tables: typed per hand */ ++/* Last-Changes from us: */ ++ ++#define KOI8UUNI_START 0x80 ++#define KOI8UUNI_END 0xFF ++static sal_uInt16 const aImplKOI8UToUniTab[KOI8UUNI_END - KOI8UUNI_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, /* 0x80 */ ++ 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590, /* 0x80 */ ++ 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248, /* 0x90 */ ++ 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7, /* 0x90 */ ++ 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, /* 0xA0 */ ++ 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E, /* 0xA0 */ ++ 0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, /* 0xB0 */ ++ 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x0490, 0x256C, 0x00A9, /* 0xB0 */ ++ 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, /* 0xC0 */ ++ 0x0445, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, /* 0xC0 */ ++ 0x043F, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, /* 0xD0 */ ++ 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A, /* 0xD0 */ ++ 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, /* 0xE0 */ ++ 0x0425, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, /* 0xE0 */ ++ 0x041F, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, /* 0xF0 */ ++ 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A /* 0xF0 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UCHAR_START 0x0410 ++#define KOI8UCHAR_END 0x044F ++static sal_uChar const aImplKOI8UToCharTab[KOI8UCHAR_END - KOI8UCHAR_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA, /* 0x0410 */ ++ 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0, /* 0x0410 */ ++ 0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE, /* 0x0420 */ ++ 0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1, /* 0x0420 */ ++ 0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA, /* 0x0430 */ ++ 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, /* 0x0430 */ ++ 0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE, /* 0x0440 */ ++ 0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1 /* 0x0440 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UTOCHARTABEX_COUNT 72 ++static ImplUniCharTabData const aImplKOI8UToCharTabEx[KOI8UTOCHARTABEX_COUNT] = ++{ ++ { 0x00A0, 0x9A }, ++ { 0x00A9, 0xBF }, ++ { 0x00B0, 0x9C }, ++ { 0x00B2, 0x9D }, ++ { 0x00B7, 0x9E }, ++ { 0x00F7, 0x9F }, ++ { 0x0401, 0xB3 }, ++ { 0x0404, 0xB4 }, ++ { 0x0406, 0xB6 }, ++ { 0x0407, 0xB7 }, ++ { 0x0451, 0xA3 }, ++ { 0x0454, 0xA4 }, ++ { 0x0456, 0xA6 }, ++ { 0x0457, 0xA7 }, ++ { 0x0490, 0xBD }, ++ { 0x0491, 0xAD }, ++ { 0x2219, 0x95 }, ++ { 0x221A, 0x96 }, ++ { 0x2248, 0x97 }, ++ { 0x2264, 0x98 }, ++ { 0x2265, 0x99 }, ++ { 0x2320, 0x93 }, ++ { 0x2321, 0x9B }, ++ { 0x2500, 0x80 }, ++ { 0x2502, 0x81 }, ++ { 0x250C, 0x82 }, ++ { 0x2510, 0x83 }, ++ { 0x2514, 0x84 }, ++ { 0x2518, 0x85 }, ++ { 0x251C, 0x86 }, ++ { 0x2524, 0x87 }, ++ { 0x252C, 0x88 }, ++ { 0x2534, 0x89 }, ++ { 0x253C, 0x8A }, ++ { 0x2550, 0xA0 }, ++ { 0x2551, 0xA1 }, ++ { 0x2552, 0xA2 }, ++ { 0x2553, 0xA4 }, ++ { 0x2554, 0xA5 }, ++ { 0x2555, 0xA6 }, ++ { 0x2556, 0xA7 }, ++ { 0x2557, 0xA8 }, ++ { 0x2558, 0xA9 }, ++ { 0x2559, 0xAA }, ++ { 0x255A, 0xAB }, ++ { 0x255B, 0xAC }, ++ { 0x255C, 0xAD }, ++ { 0x255D, 0xAE }, ++ { 0x255E, 0xAF }, ++ { 0x255F, 0xB0 }, ++ { 0x2560, 0xB1 }, ++ { 0x2561, 0xB2 }, ++ { 0x2562, 0xB4 }, ++ { 0x2563, 0xB5 }, ++ { 0x2564, 0xB6 }, ++ { 0x2565, 0xB7 }, ++ { 0x2566, 0xB8 }, ++ { 0x2567, 0xB9 }, ++ { 0x2568, 0xBA }, ++ { 0x2569, 0xBB }, ++ { 0x256A, 0xBC }, ++ { 0x256B, 0xBD }, ++ { 0x256C, 0xBE }, ++ { 0x2580, 0x8B }, ++ { 0x2584, 0x8C }, ++ { 0x2588, 0x8D }, ++ { 0x258C, 0x8E }, ++ { 0x2590, 0x8F }, ++ { 0x2591, 0x90 }, ++ { 0x2592, 0x91 }, ++ { 0x2593, 0x92 }, ++ { 0x25A0, 0x94 } ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplByteConvertData const aImplKOI8UByteCvtData = ++{ ++ aImplKOI8UToUniTab, ++ NULL, ++ KOI8UUNI_START, KOI8UUNI_END, ++ NOTABUNI_START, NOTABUNI_END, ++ aImplKOI8UToCharTab, ++ NULL, ++ aImplKOI8UToCharTabEx, ++ KOI8UCHAR_START, KOI8UCHAR_END, ++ NOTABCHAR_START, NOTABCHAR_END, ++ KOI8UTOCHARTABEX_COUNT ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplTextEncodingData const aImplKOI8UTextEncodingData ++ = { { &aImplKOI8UByteCvtData, ++ ImplCharToUnicode, ++ ImplUnicodeToChar, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL }, ++ RTL_TEXTENCODING_KOI8_U, ++ 1, ++ 1, ++ 1, ++ 204, ++ "koi8-u", ++ "koi8-u", ++ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; ++ /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ diff --git a/editors/openoffice/files/patch-sal+textenc+textenc.c b/editors/openoffice/files/patch-sal+textenc+textenc.c new file mode 100644 index 000000000000..1e822ae076ce --- /dev/null +++ b/editors/openoffice/files/patch-sal+textenc+textenc.c @@ -0,0 +1,12 @@ +--- ../sal/textenc/textenc.c.orig Mon Feb 24 17:46:29 2003 ++++ ../sal/textenc/textenc.c Tue Feb 25 16:51:28 2003 +@@ -254,7 +254,8 @@ + &aImplJISX0212TextEncodingData, /* JIS_X_0212 */ + &aImplMS1361TextEncodingData, /* MS_1361 */ + &aImplGb18030TextEncodingData, /* GB_18030 */ +- &aImplBig5HkscsTextEncodingData }; /* BIG5_HKSCS */ ++ &aImplBig5HkscsTextEncodingData, /* BIG5_HKSCS */ ++ &aImplKOI8UTextEncodingData }; /* KOI8_U */ + OSL_ENSURE(nEncoding >= RTL_TEXTENCODING_DONTKNOW + && nEncoding <= RTL_TEXTENCODING_UNICODE, + "specification violation"); diff --git a/editors/openoffice/files/patch-solenv+inc+postset.mk b/editors/openoffice/files/patch-solenv+inc+postset.mk new file mode 100644 index 000000000000..722ec086cc54 --- /dev/null +++ b/editors/openoffice/files/patch-solenv+inc+postset.mk @@ -0,0 +1,22 @@ +--- ../solenv/inc/postset.mk.orig Tue Jan 7 17:22:04 2003 ++++ ../solenv/inc/postset.mk Tue Feb 25 16:52:34 2003 +@@ -220,6 +220,19 @@ + RCLANGFLAGS_07+= -d RUSS + iso_07=ru + ++.IF "$(RES_UKRA)"!="" || "$(give_me_all_languages)"!="" ++alllangext+=38 ++ukra$(LANG_GUI)*=$(default$(LANG_GUI)) ++cmd_ukra:=ukra 38 -lgUKRAINIAN $(IBM_PC_852) $(ukra$(LANG_GUI)) ++lang_38=ukra ++longlang_38=ukrainian ++langext_38=38 ++rsclang_38=-lgUKRAINIAN $(IBM_PC_852) ++rescharset_38=$(ukra$(LANG_GUI)) ++RCLANGFLAGS_38+= -d UKRA ++iso_38=uk ++.ENDIF ++ + .IF "$(RES_POL)"!="" || "$(give_me_all_languages)"!="" + alllangext+=48 + .ENDIF diff --git a/editors/openoffice/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice/files/patch-svx+source+dialog+txenctab.src new file mode 100644 index 000000000000..b8178b78384c --- /dev/null +++ b/editors/openoffice/files/patch-svx+source+dialog+txenctab.src @@ -0,0 +1,44 @@ +--- ../svx/source/dialog/txenctab.src.orig Thu Oct 31 23:18:23 2002 ++++ ../svx/source/dialog/txenctab.src Tue Feb 25 16:57:06 2003 +@@ -147,6 +147,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -235,6 +236,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese Simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Central European (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -308,6 +310,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -378,6 +381,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -512,7 +516,8 @@ + < " (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; + < " (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; + < " (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; +- < " (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; ++ < " (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < " (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < " (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < " (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < " (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; diff --git a/editors/openoffice/files/patch-sw+source+filter+basflt+fltini.cxx b/editors/openoffice/files/patch-sw+source+filter+basflt+fltini.cxx new file mode 100644 index 000000000000..4029175a3236 --- /dev/null +++ b/editors/openoffice/files/patch-sw+source+filter+basflt+fltini.cxx @@ -0,0 +1,22 @@ +--- ../sw/source/filter/basflt/fltini.cxx.orig Mon Feb 24 17:46:43 2003 ++++ ../sw/source/filter/basflt/fltini.cxx Tue Feb 25 16:59:03 2003 +@@ -1007,7 +1007,8 @@ + sToken081[] = "JIS_X_212", + sToken082[] = "MS_1361", + sToken083[] = "GB_18030", +- sToken084[] = "UNICODE_2" ++ sToken084[] = "KOI8_U", ++ sToken085[] = "UNICODE_2" + ; + struct _Dummy_MAP + { +@@ -1099,7 +1100,8 @@ + RTL_TEXTENCODING_JIS_X_0212, sToken081, + RTL_TEXTENCODING_MS_1361, sToken082, + RTL_TEXTENCODING_GB_18030, sToken083, +- RTL_TEXTENCODING_UCS2, sToken084 ++ RTL_TEXTENCODING_KOI8_U, sToken084, ++ RTL_TEXTENCODING_UCS2, sToken085 + }; + + BOOL bFnd = FALSE; diff --git a/editors/openoffice/files/patch-sysui+unix+office+cde+locales.tab b/editors/openoffice/files/patch-sysui+unix+office+cde+locales.tab new file mode 100644 index 000000000000..0c91acc455d1 --- /dev/null +++ b/editors/openoffice/files/patch-sysui+unix+office+cde+locales.tab @@ -0,0 +1,10 @@ +--- ../sysui/unix/office/cde/locales.tab.orig Tue Nov 20 19:26:28 2001 ++++ ../sysui/unix/office/cde/locales.tab Tue Feb 25 17:04:36 2003 +@@ -7,6 +7,7 @@ + locales+=$(assign locale_34 = es es.UTF-8) + locales+=$(assign locale_35 = fi fi.UTF-8) + locales+=$(assign locale_37 = ca) ++locales+=$(assign locale_38 = uk uk_UA.KOI8-U) + locales+=$(assign locale_39 = it it.UTF-8) + locales+=$(assign locale_45 = da da.UTF-8) + locales+=$(assign locale_46 = sv sv.UTF-8) diff --git a/editors/openoffice/files/patch-tools+source+inet+inetmime.cxx b/editors/openoffice/files/patch-tools+source+inet+inetmime.cxx new file mode 100644 index 000000000000..58fc8db2a85b --- /dev/null +++ b/editors/openoffice/files/patch-tools+source+inet+inetmime.cxx @@ -0,0 +1,54 @@ +--- ../tools/source/inet/inetmime.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/inet/inetmime.cxx Tue Feb 25 17:08:22 2003 +@@ -1633,7 +1633,8 @@ + "ISO-8859-10", // RTL_TEXTENCODING_ISO_8859_10, RFC 2047 + "ISO-8859-13", // RTL_TEXTENCODING_ISO_8859_13, RFC 2047 + "EUC-KR", // RTL_TEXTENCODING_EUC_KR +- "ISO-2022-KR" }; // RTL_TEXTENCODING_ISO_2022_KR ++ "ISO-2022-KR", // RTL_TEXTENCODING_ISO_2022_KR ++ "KOI8-U" }; // RTL_TEXTENCODING_KOI8_U + DBG_ASSERT(aMap[eEncoding], + "INetMIME::getCharsetName(): Unsupported encoding"); + return aMap[eEncoding]; +@@ -1841,7 +1842,8 @@ + { "ISO-10646-UCS-4", RTL_TEXTENCODING_UCS4 }, + { "CSUCS4", RTL_TEXTENCODING_UCS4 }, + { "ISO-10646-UCS-2", RTL_TEXTENCODING_UCS2 }, +- { "CSUNICODE", RTL_TEXTENCODING_UCS2 } }; ++ { "CSUNICODE", RTL_TEXTENCODING_UCS2 }, ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U } }; + + //============================================================================ + template< typename T > +@@ -2012,6 +2014,18 @@ + // + // version 1.0 of 18 August 1999 + ++ static const sal_uInt32 aKOI8URanges[] ++ = { 0, 0x7F, 0xA0, 0xA0, 0xA9, 0xA9, 0xB0, 0xB0, 0xB2, 0xB2, ++ 0xB7, 0xB7, 0xF7, 0xF7, 0x401, 0x401, 0x410, 0x44F, 0x451, 0x451, ++ 0x2219, 0x221A, 0x2248, 0x2248, 0x2264, 0x2265, 0x2320, 0x2321, ++ 0x2500, 0x2500, 0x2502, 0x2502, 0x250C, 0x250C, 0x2510, 0x2510, ++ 0x2514, 0x2514, 0x2518, 0x2518, 0x251C, 0x251C, 0x2524, 0x2524, ++ 0x252C, 0x252C, 0x2534, 0x2534, 0x253C, 0x253C, 0x2550, 0x256C, ++ 0x2580, 0x2580, 0x2584, 0x2584, 0x2588, 0x2588, 0x258C, 0x258C, ++ 0x2590, 0x2593, 0x25A0, 0x25A0, sal_uInt32(-1) }; ++ // ++ // version 1.0 of 18 August 1999 ++ + static const sal_uInt32 aWindows1252Ranges[] + = { 0, 0x7F, 0xA0, 0xFF, 0x152, 0x153, 0x160, 0x161, 0x178, 0x178, + 0x17D, 0x17E, 0x192, 0x192, 0x2C6, 0x2C6, 0x2DC, 0x2DC, +@@ -2133,6 +2147,12 @@ + pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, + aISO88595Ranges)); + pList->prepend(Charset(RTL_TEXTENCODING_KOI8_R, aKOI8RRanges)); ++ break; ++ ++ case RTL_TEXTENCODING_KOI8_U: ++ pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, ++ aISO88595Ranges)); ++ pList->prepend(Charset(RTL_TEXTENCODING_KOI8_U, aKOI8URanges)); + break; + + default: //@@@ more cases are missing! diff --git a/editors/openoffice/files/patch-tools+source+rc+resmgr.cxx b/editors/openoffice/files/patch-tools+source+rc+resmgr.cxx new file mode 100644 index 000000000000..7e6174dd56fe --- /dev/null +++ b/editors/openoffice/files/patch-tools+source+rc+resmgr.cxx @@ -0,0 +1,19 @@ +--- ../tools/source/rc/resmgr.cxx.orig Mon Feb 24 17:46:55 2003 ++++ ../tools/source/rc/resmgr.cxx Tue Feb 25 17:09:39 2003 +@@ -1189,6 +1189,8 @@ + return "36"; + case LANGUAGE_RUSSIAN: + return "07"; ++ case LANGUAGE_UKRAINIAN: ++ return "38"; + case LANGUAGE_SLOVAK: + return "04"; + case LANGUAGE_GREEK: +@@ -1339,6 +1341,7 @@ + LANGUAGE_HUNGARIAN, + LANGUAGE_CZECH, + LANGUAGE_RUSSIAN, ++ LANGUAGE_UKRAINIAN, + LANGUAGE_ARABIC, + LANGUAGE_GREEK, + LANGUAGE_KOREAN, diff --git a/editors/openoffice/files/patch-transex3+inc+export.hxx b/editors/openoffice/files/patch-transex3+inc+export.hxx new file mode 100644 index 000000000000..1263573285d3 --- /dev/null +++ b/editors/openoffice/files/patch-transex3+inc+export.hxx @@ -0,0 +1,29 @@ +--- ../transex3/inc/export.hxx.orig Fri May 24 15:26:18 2002 ++++ ../transex3/inc/export.hxx Tue Feb 25 17:13:09 2003 +@@ -187,18 +187,22 @@ + #define CATALAN_ISO "ca" + #define CATALAN_INDEX 28 + ++#define UKRAINIAN 38 ++#define UKRAINIAN_ISO "uk" ++#define UKRAINIAN_INDEX 29 ++ + #define THAI 66 + #define THAI_ISO "th" +-#define THAI_INDEX 29 ++#define THAI_INDEX 30 + + // special language for l10n framework + #define EXTERN 99 +-#define EXTERN_INDEX 30 ++#define EXTERN_INDEX 31 + +-#define LANGUAGES 31 ++#define LANGUAGES 32 + + #define LANGUAGE_ALLOWED( n ) (( n != 0xFFFF ) && ( Export::LanguageAllowed( Export::LangId[ n ] )) && \ +- (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || \ ++ (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || ( Export::LangId[ n ] == 38 ) || \ + ( Export::LangId[ n ] == 30 ) || ( Export::LangId[ n ] == 31 ) || ( Export::LangId[ n ] == 33 ) || \ + ( Export::LangId[ n ] == 34 ) || ( Export::LangId[ n ] == 35 ) || ( Export::LangId[ n ] == 37 ) || \ + ( Export::LangId[ n ] == 39 ) || ( Export::LangId[ n ] == 45 ) || ( Export::LangId[ n ] == 46 ) || \ diff --git a/editors/openoffice/files/patch-transex3+source+export.cxx b/editors/openoffice/files/patch-transex3+source+export.cxx new file mode 100644 index 000000000000..b5ee0d1b294e --- /dev/null +++ b/editors/openoffice/files/patch-transex3+source+export.cxx @@ -0,0 +1,11 @@ +--- ../transex3/source/export.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export.cxx Tue Feb 25 17:14:06 2003 +@@ -1205,6 +1205,8 @@ + return PORTUGUESE_INDEX; + else if ( sLang == "RUSSIAN" ) + return RUSSIAN_INDEX; ++ else if ( sLang == "UKRAINIAN" ) ++ return UKRAINIAN_INDEX; + else if ( sLang == "GREEK" ) + return GREEK_INDEX; + else if ( sLang == "DUTCH" ) diff --git a/editors/openoffice/files/patch-transex3+source+export2.cxx b/editors/openoffice/files/patch-transex3+source+export2.cxx new file mode 100644 index 000000000000..031b9bdf4b8f --- /dev/null +++ b/editors/openoffice/files/patch-transex3+source+export2.cxx @@ -0,0 +1,43 @@ +--- ../transex3/source/export2.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export2.cxx Tue Feb 25 17:19:19 2003 +@@ -144,6 +144,7 @@ + ARABIC, + HEBREW, + CATALAN, ++ UKRAINIAN, + THAI, + EXTERN + }; +@@ -192,6 +193,7 @@ + case ARABIC: return RTL_TEXTENCODING_MS_1256; + case HEBREW: return RTL_TEXTENCODING_MS_1255; + case CATALAN: return RTL_TEXTENCODING_MS_1252; ++ case UKRAINIAN: return RTL_TEXTENCODING_MS_1251; + case THAI: return RTL_TEXTENCODING_UTF8; + case EXTERN: return RTL_TEXTENCODING_UTF8; + } +@@ -214,6 +216,8 @@ + return PORTUGUESE; + else if ( sLang == ByteString( RUSSIAN_ISO ).ToUpperAscii()) + return RUSSIAN; ++ else if ( sLang == ByteString( UKRAINIAN_ISO ).ToUpperAscii()) ++ return UKRAINIAN; + else if ( sLang == ByteString( GREEK_ISO ).ToUpperAscii()) + return GREEK; + else if ( sLang == ByteString( DUTCH_ISO ).ToUpperAscii()) +@@ -279,6 +283,7 @@ + case ENGLISH_US_INDEX: return ENGLISH_US_ISO; + case PORTUGUESE_INDEX: return PORTUGUESE_ISO; + case RUSSIAN_INDEX: return RUSSIAN_ISO; ++ case UKRAINIAN_INDEX: return UKRAINIAN_ISO; + case GREEK_INDEX: return GREEK_ISO; + case DUTCH_INDEX: return DUTCH_ISO; + case FRENCH_INDEX: return FRENCH_ISO; +@@ -429,6 +434,7 @@ + "arabic", + "hebrew", + "catalan", ++ "ukrainian", + "thai", + "extern" + }; diff --git a/editors/openoffice/files/patch-transex3+source+gsiconv.cxx b/editors/openoffice/files/patch-transex3+source+gsiconv.cxx new file mode 100644 index 000000000000..4bad0a9b6b2b --- /dev/null +++ b/editors/openoffice/files/patch-transex3+source+gsiconv.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/gsiconv.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/gsiconv.cxx Tue Feb 25 17:20:08 2003 +@@ -210,6 +210,7 @@ + fprintf( stdout, " 34 => SPANISH\n" ); + fprintf( stdout, " 35 => FINNISH\n" ); + fprintf( stdout, " 36 => HUNGARIAN\n" ); ++ fprintf( stdout, " 38 => UKRAINIAN\n" ); + fprintf( stdout, " 39 => ITALIAN\n" ); + fprintf( stdout, " 42 => CZECH\n" ); + fprintf( stdout, " 44 => ENGLISH (UK)\n" ); diff --git a/editors/openoffice/files/patch-transex3+source+merge.cxx b/editors/openoffice/files/patch-transex3+source+merge.cxx new file mode 100644 index 000000000000..6137c2a2408d --- /dev/null +++ b/editors/openoffice/files/patch-transex3+source+merge.cxx @@ -0,0 +1,10 @@ +--- ../transex3/source/merge.cxx.orig Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/merge.cxx Tue Feb 25 17:20:43 2003 +@@ -388,6 +388,7 @@ + case ENGLISH_US: return ENGLISH_US_INDEX; + case PORTUGUESE: return PORTUGUESE_INDEX; + case RUSSIAN: return RUSSIAN_INDEX; ++ case UKRAINIAN: return UKRAINIAN_INDEX; + case GREEK: return GREEK_INDEX; + case DUTCH: return DUTCH_INDEX; + case FRENCH: return FRENCH_INDEX; diff --git a/editors/openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx b/editors/openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx new file mode 100644 index 000000000000..8b588120c718 --- /dev/null +++ b/editors/openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx @@ -0,0 +1,20 @@ +--- ../vcl/unx/source/gdi/salcvt.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/salcvt.cxx Tue Feb 25 17:21:50 2003 +@@ -261,6 +261,17 @@ + || ( nChar >= 0x2500 && nChar <= 0x25a0 ); + break; + ++ case RTL_TEXTENCODING_KOI8_U: ++ bMatch = ( nChar >= 0x0020 && nChar <= 0x007e ) ++ || ( nChar >= 0x00a0 && nChar <= 0x00b7 ) ++ || ( nChar == 0x00f7 ) ++ || ( nChar >= 0x0401 && nChar <= 0x0491 ) ++ || ( nChar >= 0x2219 && nChar <= 0x221a ) ++ || ( nChar >= 0x2248 && nChar <= 0x2265 ) ++ || ( nChar >= 0x2320 && nChar <= 0x2321 ) ++ || ( nChar >= 0x2500 && nChar <= 0x25a0 ); ++ break; ++ + case RTL_TEXTENCODING_UNICODE: + bMatch = True; + break; diff --git a/editors/openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx b/editors/openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx new file mode 100644 index 000000000000..15142495e078 --- /dev/null +++ b/editors/openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx @@ -0,0 +1,10 @@ +--- ../vcl/unx/source/gdi/xlfd_extd.cxx.orig Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/xlfd_extd.cxx Tue Feb 25 17:22:26 2003 +@@ -205,6 +205,7 @@ + case RTL_TEXTENCODING_ISO_8859_15: + case RTL_TEXTENCODING_MS_1251: + case RTL_TEXTENCODING_KOI8_R: ++ case RTL_TEXTENCODING_KOI8_U: + case RTL_TEXTENCODING_JIS_X_0201: + if ( nLargestRange < 0x0080 ) + { -- cgit