core.git: Branch 'libreoffice-24-2' - sysui/desktop
sysui/desktop/menus/calc.desktop|2 +- sysui/desktop/menus/draw.desktop|2 +- sysui/desktop/menus/impress.desktop |2 +- sysui/desktop/menus/math.desktop|2 +- sysui/desktop/menus/writer.desktop |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) New commits: commit a3d78ae9c38338ba186be97061a4086c54d7bbeb Author: Alex Henrie AuthorDate: Tue Apr 23 08:31:09 2024 -0600 Commit: Adolfo Jayme Barrientos CommitDate: Mon Apr 29 09:47:14 2024 +0200 Add missing file types to desktop files and alphabetize the lists The missing MIME types were: * application/docbook+xml * application/x-gnumeric * application/x-pocket-word * application/x-starchart * application/x-starimpress * application/x-starmath * application/x-starwriter-global * application/vnd.apache.parquet * application/vnd.quark.quarkxpress * application/vnd.stardivision.calc * application/vnd.stardivision.chart * application/vnd.stardivision.draw * application/vnd.stardivision.impress * application/vnd.stardivision.math * application/vnd.stardivision.writer-global Having the lists in alphabetical order will make it much easier to spot missing types in the future. Change-Id: Iae25bb074e8d22c6c6efeaf1101a1a07429accda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166545 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos (cherry picked from commit 5d7d94d5239c4ad7d8dc997ccbb0060ba2391280) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166729 diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop index 9550d0889570..9d4477adf76c 100644 --- a/sysui/desktop/menus/calc.desktop +++ b/sysui/desktop/menus/calc.desktop @@ -22,7 +22,7 @@ Icon=calc Type=Application Categories=Office;Spreadsheet;X-Red-Hat-Base; Exec=${UNIXBASISROOTNAME} --calc %%FILE%% -MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;text/csv;application/x-dbf;text/spreadsheet;application/csv;application/excel;application/tab-separated-values;application/vnd.lotus-1-2-3;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/x-dbase;application/x-dos_ms_excel;application/x-excel;application/x-msexcel;application/x-ms-excel;application/x-quattropro;application/x-123;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;applica tion/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.ms-works;application/clarisworks;application/x-iwork-numbers-sffnumbers;application/vnd.apple.numbers;application/x-starcalc; +MimeType=application/clarisworks;application/csv;application/excel;application/msexcel;application/tab-separated-values;application/vnd.apache.parquet;application/vnd.apple.numbers;application/vnd.lotus-1-2-3;application/vnd.ms-excel;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/x-123;application/x-dbase;application/x-dbf;applicatio n/x-dos_ms_excel;application/x-excel;application/x-gnumeric;application/x-iwork-numbers-sffnumbers;application/x-ms-excel;application/x-msexcel;application/x-quattropro;application/x-starcalc;application/x-starchart;text/comma-separated-values;text/csv;text/spreadsheet;text/tab-separated-values;text/x-comma-separated-values;text/x-csv; Name=%PRODUCTNAME Calc GenericName=Spreadsheet Comment=Perform calculations, analyze information and manage lists in spreadsheets. diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop index 9713167ef124..39bc3bba278d 100644 --- a/sysui/desktop/menus/draw.desktop +++ b/sysui/desktop/menus/draw.desktop @@ -22,7 +22,7 @@ Icon=draw Type=Application Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base; Exec=${UNIXBASISROOTNAME} --draw %%FILE%% -MimeType=application
core.git: sysui/desktop
sysui/desktop/menus/calc.desktop|2 +- sysui/desktop/menus/draw.desktop|2 +- sysui/desktop/menus/impress.desktop |2 +- sysui/desktop/menus/math.desktop|2 +- sysui/desktop/menus/writer.desktop |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) New commits: commit 5d7d94d5239c4ad7d8dc997ccbb0060ba2391280 Author: Alex Henrie AuthorDate: Tue Apr 23 08:31:09 2024 -0600 Commit: Adolfo Jayme Barrientos CommitDate: Mon Apr 29 08:13:36 2024 +0200 Add missing file types to desktop files and alphabetize the lists The missing MIME types were: * application/docbook+xml * application/x-gnumeric * application/x-pocket-word * application/x-starchart * application/x-starimpress * application/x-starmath * application/x-starwriter-global * application/vnd.apache.parquet * application/vnd.quark.quarkxpress * application/vnd.stardivision.calc * application/vnd.stardivision.chart * application/vnd.stardivision.draw * application/vnd.stardivision.impress * application/vnd.stardivision.math * application/vnd.stardivision.writer-global Having the lists in alphabetical order will make it much easier to spot missing types in the future. Change-Id: Iae25bb074e8d22c6c6efeaf1101a1a07429accda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166545 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop index 9550d0889570..9d4477adf76c 100644 --- a/sysui/desktop/menus/calc.desktop +++ b/sysui/desktop/menus/calc.desktop @@ -22,7 +22,7 @@ Icon=calc Type=Application Categories=Office;Spreadsheet;X-Red-Hat-Base; Exec=${UNIXBASISROOTNAME} --calc %%FILE%% -MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;text/csv;application/x-dbf;text/spreadsheet;application/csv;application/excel;application/tab-separated-values;application/vnd.lotus-1-2-3;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/x-dbase;application/x-dos_ms_excel;application/x-excel;application/x-msexcel;application/x-ms-excel;application/x-quattropro;application/x-123;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;applica tion/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.ms-works;application/clarisworks;application/x-iwork-numbers-sffnumbers;application/vnd.apple.numbers;application/x-starcalc; +MimeType=application/clarisworks;application/csv;application/excel;application/msexcel;application/tab-separated-values;application/vnd.apache.parquet;application/vnd.apple.numbers;application/vnd.lotus-1-2-3;application/vnd.ms-excel;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/x-123;application/x-dbase;application/x-dbf;applicatio n/x-dos_ms_excel;application/x-excel;application/x-gnumeric;application/x-iwork-numbers-sffnumbers;application/x-ms-excel;application/x-msexcel;application/x-quattropro;application/x-starcalc;application/x-starchart;text/comma-separated-values;text/csv;text/spreadsheet;text/tab-separated-values;text/x-comma-separated-values;text/x-csv; Name=%PRODUCTNAME Calc GenericName=Spreadsheet Comment=Perform calculations, analyze information and manage lists in spreadsheets. diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop index 9713167ef124..39bc3bba278d 100644 --- a/sysui/desktop/menus/draw.desktop +++ b/sysui/desktop/menus/draw.desktop @@ -22,7 +22,7 @@ Icon=draw Type=Application Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base; Exec=${UNIXBASISROOTNAME} --draw %%FILE%% -MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h | 49 + 1 file changed, 49 insertions(+) New commits: commit cbc8482d342bd9cca4b6e58a54451724616418b6 Author: Alex Henrie AuthorDate: Fri Feb 14 10:59:12 2020 -0700 Commit: Eike Rathke CommitDate: Sun Feb 16 16:31:08 2020 +0100 Add case table for Adlam Change-Id: I8e6bbff8f8d6fa71f71dbbef7ec498ea22d7212b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88740 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index af68518ab53e..43c0ab44414f 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -70,6 +70,22 @@ static const sal_Int8 CaseMappingIndex[] = { -1, -1, -1, -1, -1, -1, -1, -1, // 15800 - 15fff -1, -1, -1, -1, -1, -1, -1, -1, // 16000 - 167ff -1, -1, -1, -1, -1, -1, 0x10, -1, // 16800 - 16fff + -1, -1, -1, -1, -1, -1, -1, -1, // 17000 - 177ff + -1, -1, -1, -1, -1, -1, -1, -1, // 17800 - 17fff + -1, -1, -1, -1, -1, -1, -1, -1, // 18000 - 187ff + -1, -1, -1, -1, -1, -1, -1, -1, // 18800 - 18fff + -1, -1, -1, -1, -1, -1, -1, -1, // 19000 - 197ff + -1, -1, -1, -1, -1, -1, -1, -1, // 19800 - 19fff + -1, -1, -1, -1, -1, -1, -1, -1, // 1a000 - 1a7ff + -1, -1, -1, -1, -1, -1, -1, -1, // 1a800 - 1afff + -1, -1, -1, -1, -1, -1, -1, -1, // 1b000 - 1b7ff + -1, -1, -1, -1, -1, -1, -1, -1, // 1b800 - 1bfff + -1, -1, -1, -1, -1, -1, -1, -1, // 1c000 - 1c7ff + -1, -1, -1, -1, -1, -1, -1, -1, // 1c800 - 1cfff + -1, -1, -1, -1, -1, -1, -1, -1, // 1d000 - 1d7ff + -1, -1, -1, -1, -1, -1, -1, -1, // 1d800 - 1dfff + -1, -1, -1, -1, -1, -1, -1, -1, // 1e000 - 1e7ff + -1, 0x11, -1, -1, -1, -1, -1, -1, // 1e800 - 1efff }; @@ -634,6 +650,39 @@ static const Value CaseMappingValue[] = { {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16ee8 - 16eef {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16ef0 - 16ef7 {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16ef8 - 16eff + +{0x6a, 0xDD22}, {0x6a, 0xDD23}, {0x6a, 0xDD24}, {0x6a, 0xDD25}, {0x6a, 0xDD26}, {0x6a, 0xDD27}, {0x6a, 0xDD28}, {0x6a, 0xDD29}, // 1e900 - 1e907 +{0x6a, 0xDD2A}, {0x6a, 0xDD2B}, {0x6a, 0xDD2C}, {0x6a, 0xDD2D}, {0x6a, 0xDD2E}, {0x6a, 0xDD2F}, {0x6a, 0xDD30}, {0x6a, 0xDD31}, // 1e908 - 1e90f +{0x6a, 0xDD32}, {0x6a, 0xDD33}, {0x6a, 0xDD34}, {0x6a, 0xDD35}, {0x6a, 0xDD36}, {0x6a, 0xDD37}, {0x6a, 0xDD38}, {0x6a, 0xDD39}, // 1e910 - 1e917 +{0x6a, 0xDD3A}, {0x6a, 0xDD3B}, {0x6a, 0xDD3C}, {0x6a, 0xDD3D}, {0x6a, 0xDD3E}, {0x6a, 0xDD3F}, {0x6a, 0xDD40}, {0x6a, 0xDD41}, // 1e918 - 1e91f +{0x6a, 0xDD42}, {0x6a, 0xDD43}, {0x15, 0xDD00}, {0x15, 0xDD01}, {0x15, 0xDD02}, {0x15, 0xDD03}, {0x15, 0xDD04}, {0x15, 0xDD05}, // 1e920 - 1e927 +{0x15, 0xDD06}, {0x15, 0xDD07}, {0x15, 0xDD08}, {0x15, 0xDD09}, {0x15, 0xDD0A}, {0x15, 0xDD0B}, {0x15, 0xDD0C}, {0x15, 0xDD0D}, // 1e928 - 1e92f +{0x15, 0xDD0E}, {0x15, 0xDD0F}, {0x15, 0xDD10}, {0x15, 0xDD11}, {0x15, 0xDD12}, {0x15, 0xDD13}, {0x15, 0xDD14}, {0x15, 0xDD15}, // 1e930 - 1e937 +{0x15, 0xDD16}, {0x15, 0xDD17}, {0x15, 0xDD18}, {0x15, 0xDD19}, {0x15, 0xDD1A}, {0x15, 0xDD1B}, {0x15, 0xDD1C}, {0x15, 0xDD1D}, // 1e938 - 1e93f +{0x15, 0xDD1E}, {0x15, 0xDD1F}, {0x15, 0xDD20}, {0x15, 0xDD21}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e940 - 1e947 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e948 - 1e94f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e950 - 1e957 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e958 - 1e95f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e960 - 1e967 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e968 - 1e96f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 1e970 - 1e977 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h | 43 + 1 file changed, 43 insertions(+) New commits: commit 1ff2bf54e920f1bc85ca14778639eb4b9652a910 Author: Alex Henrie AuthorDate: Mon Feb 10 19:49:03 2020 -0700 Commit: Eike Rathke CommitDate: Wed Feb 12 17:33:39 2020 +0100 Add case table for Medefaidrin Change-Id: I7325311a4a0957b1a43c36d04cbefde2ea7461eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88420 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 24edd6970870..af68518ab53e 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -60,6 +60,16 @@ static const sal_Int8 CaseMappingIndex[] = { -1, -1, -1, -1, 0x0e, -1, -1, -1, // 10800 - 10fff -1, -1, -1, -1, -1, -1, -1, -1, // 11000 - 117ff 0x0f, -1, -1, -1, -1, -1, -1, -1, // 11800 - 11fff + -1, -1, -1, -1, -1, -1, -1, -1, // 12000 - 127ff + -1, -1, -1, -1, -1, -1, -1, -1, // 12800 - 12fff + -1, -1, -1, -1, -1, -1, -1, -1, // 13000 - 137ff + -1, -1, -1, -1, -1, -1, -1, -1, // 13800 - 13fff + -1, -1, -1, -1, -1, -1, -1, -1, // 14000 - 147ff + -1, -1, -1, -1, -1, -1, -1, -1, // 14800 - 14fff + -1, -1, -1, -1, -1, -1, -1, -1, // 15000 - 157ff + -1, -1, -1, -1, -1, -1, -1, -1, // 15800 - 15fff + -1, -1, -1, -1, -1, -1, -1, -1, // 16000 - 167ff + -1, -1, -1, -1, -1, -1, 0x10, -1, // 16800 - 16fff }; @@ -591,6 +601,39 @@ static const Value CaseMappingValue[] = { {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 118e8 - 118ef {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 118f0 - 118f7 {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 118f8 - 118ff + +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e00 - 16e07 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e08 - 16e0f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e10 - 16e17 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e18 - 16e1f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e20 - 16e27 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e28 - 16e2f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e30 - 16e37 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e38 - 16e3f +{0x6a, 0xDE60}, {0x6a, 0xDE61}, {0x6a, 0xDE62}, {0x6a, 0xDE63}, {0x6a, 0xDE64}, {0x6a, 0xDE65}, {0x6a, 0xDE66}, {0x6a, 0xDE67}, // 16e40 - 16e47 +{0x6a, 0xDE68}, {0x6a, 0xDE69}, {0x6a, 0xDE6A}, {0x6a, 0xDE6B}, {0x6a, 0xDE6C}, {0x6a, 0xDE6D}, {0x6a, 0xDE6E}, {0x6a, 0xDE6F}, // 16e48 - 16e4f +{0x6a, 0xDE70}, {0x6a, 0xDE71}, {0x6a, 0xDE72}, {0x6a, 0xDE73}, {0x6a, 0xDE74}, {0x6a, 0xDE75}, {0x6a, 0xDE76}, {0x6a, 0xDE77}, // 16e50 - 16e57 +{0x6a, 0xDE78}, {0x6a, 0xDE79}, {0x6a, 0xDE7A}, {0x6a, 0xDE7B}, {0x6a, 0xDE7C}, {0x6a, 0xDE7D}, {0x6a, 0xDE7E}, {0x6a, 0xDE7F}, // 16e58 - 16e5f +{0x15, 0xDE40}, {0x15, 0xDE41}, {0x15, 0xDE42}, {0x15, 0xDE43}, {0x15, 0xDE44}, {0x15, 0xDE45}, {0x15, 0xDE46}, {0x15, 0xDE47}, // 16e60 - 16e67 +{0x15, 0xDE48}, {0x15, 0xDE49}, {0x15, 0xDE4A}, {0x15, 0xDE4B}, {0x15, 0xDE4C}, {0x15, 0xDE4D}, {0x15, 0xDE4E}, {0x15, 0xDE4F}, // 16e68 - 16e6f +{0x15, 0xDE50}, {0x15, 0xDE51}, {0x15, 0xDE52}, {0x15, 0xDE53}, {0x15, 0xDE54}, {0x15, 0xDE55}, {0x15, 0xDE56}, {0x15, 0xDE57}, // 16e70 - 16e77 +{0x15, 0xDE58}, {0x15, 0xDE59}, {0x15, 0xDE5A}, {0x15, 0xDE5B}, {0x15, 0xDE5C}, {0x15, 0xDE5D}, {0x15, 0xDE5E}, {0x15, 0xDE5F}, // 16e78 - 16e7f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e80 - 16e87 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 16e88 - 16e8f +{0x00
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h | 35 + 1 file changed, 35 insertions(+) New commits: commit 37187ecf8c2e5c5d9333a672206a1d4cb2ea1b57 Author: Alex Henrie AuthorDate: Tue Feb 4 21:54:01 2020 -0700 Commit: Eike Rathke CommitDate: Mon Feb 10 20:56:26 2020 +0100 Add case table for Warang Citi Change-Id: Idc42ffe7d68f612da759146079fa900b559b1def Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87317 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 4f0013f61cf8..24edd6970870 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -58,6 +58,8 @@ static const sal_Int8 CaseMappingIndex[] = { -1, -1, -1, 0x0b, -1, -1, -1, 0x0c, // f800 - -1, -1, -1, -1, 0x0d, -1, -1, -1, // 1 - 107ff -1, -1, -1, -1, 0x0e, -1, -1, -1, // 10800 - 10fff + -1, -1, -1, -1, -1, -1, -1, -1, // 11000 - 117ff +0x0f, -1, -1, -1, -1, -1, -1, -1, // 11800 - 11fff }; @@ -556,6 +558,39 @@ static const Value CaseMappingValue[] = { {0x15, 0xDCA8}, {0x15, 0xDCA9}, {0x15, 0xDCAA}, {0x15, 0xDCAB}, {0x15, 0xDCAC}, {0x15, 0xDCAD}, {0x15, 0xDCAE}, {0x15, 0xDCAF}, // 10ce8 - 10cef {0x15, 0xDCB0}, {0x15, 0xDCB1}, {0x15, 0xDCB2}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10cf0 - 10cf7 {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10cf8 - 10cff + +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11800 - 11807 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11808 - 1180f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11810 - 11817 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11818 - 1181f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11820 - 11827 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11828 - 1182f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11830 - 11837 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11838 - 1183f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11840 - 11847 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11848 - 1184f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11850 - 11857 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11858 - 1185f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11860 - 11867 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11868 - 1186f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11870 - 11877 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11878 - 1187f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11880 - 11887 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11888 - 1188f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11890 - 11897 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 11898 - 1189f +{0x6a, 0xDCC0}, {0x6a, 0xDCC1}, {0x6a, 0xDCC2}, {0x6a, 0xDCC3}, {0x6a, 0xDCC4}, {0x6a, 0xDCC5}, {0x6a, 0xDCC6}, {0x6a, 0xDCC7}, // 118a0 - 118a7 +{0x6a, 0xDCC8}, {0x6a, 0xDCC9}, {0x6a, 0xDCCA}, {0x6a, 0xDCCB}, {0x6a, 0xDCCC}, {0x6a, 0xDCCD}, {0x6a, 0xDCCE}, {0x6a
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h | 34 + 1 file changed, 34 insertions(+) New commits: commit fc2ac17a835dd6f61b86a32d50244089036c357b Author: Alex Henrie AuthorDate: Fri Jan 10 10:56:02 2020 -0700 Commit: Eike Rathke CommitDate: Wed Jan 22 14:51:03 2020 +0100 Add case table for Old Hungarian Change-Id: Ie49a7b8866ab9c608cca87721fe175c575ffbf26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86566 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 56b1116a45a5..4f0013f61cf8 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -57,6 +57,7 @@ static const sal_Int8 CaseMappingIndex[] = { -1, -1, -1, -1, -1, -1, -1, -1, // f000 - f7ff -1, -1, -1, 0x0b, -1, -1, -1, 0x0c, // f800 - -1, -1, -1, -1, 0x0d, -1, -1, -1, // 1 - 107ff + -1, -1, -1, -1, 0x0e, -1, -1, -1, // 10800 - 10fff }; @@ -522,6 +523,39 @@ static const Value CaseMappingValue[] = { {0x15, 0xDCC0}, {0x15, 0xDCC1}, {0x15, 0xDCC2}, {0x15, 0xDCC3}, {0x15, 0xDCC4}, {0x15, 0xDCC5}, {0x15, 0xDCC6}, {0x15, 0xDCC7}, // 104e8 - 104ef {0x15, 0xDCC8}, {0x15, 0xDCC9}, {0x15, 0xDCCA}, {0x15, 0xDCCB}, {0x15, 0xDCCC}, {0x15, 0xDCCD}, {0x15, 0xDCCE}, {0x15, 0xDCCF}, // 104f0 - 104f7 {0x15, 0xDCD0}, {0x15, 0xDCD1}, {0x15, 0xDCD2}, {0x15, 0xDCD3}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 104f8 - 104ff + +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c00 - 10c07 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c08 - 10c0f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c10 - 10c17 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c18 - 10c1f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c20 - 10c27 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c28 - 10c2f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c30 - 10c37 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c38 - 10c3f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c40 - 10c47 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c48 - 10c4f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c50 - 10c57 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c58 - 10c5f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c60 - 10c67 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c68 - 10c6f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c70 - 10c77 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10c78 - 10c7f +{0x6a, 0xDCC0}, {0x6a, 0xDCC1}, {0x6a, 0xDCC2}, {0x6a, 0xDCC3}, {0x6a, 0xDCC4}, {0x6a, 0xDCC5}, {0x6a, 0xDCC6}, {0x6a, 0xDCC7}, // 10c80 - 10c87 +{0x6a, 0xDCC8}, {0x6a, 0xDCC9}, {0x6a, 0xDCCA}, {0x6a, 0xDCCB}, {0x6a, 0xDCCC}, {0x6a, 0xDCCD}, {0x6a, 0xDCCE}, {0x6a, 0xDCCF}, // 10c88 - 10c8f +{0x6a, 0xDCD0}, {0x6a, 0xDCD1}, {0x6a, 0xDCD2}, {0x6a, 0xDCD3}, {0x6a, 0xDCD4}, {0x6a, 0xDCD5}, {0x6a, 0xDCD6}, {0x6a, 0xDCD7}, // 10c90 - 10c97 +{0x6a, 0xDCD8}, {0x6a, 0xDCD9}, {0x6a, 0xDCDA}, {0x6a, 0xDCDB}, {0x6a, 0xDCDC}, {0x6a, 0xDCDD}, {0x6a, 0xDCDE}, {0x6a, 0xDCDF}, // 10c98 - 10c9f +{0x6a, 0xDCE0}, {0x6a, 0xDCE1}, {0x6a, 0xDCE2}, {0x6a, 0xDCE3}, {0x6a, 0xDCE4}, {0x6a, 0xDCE5}, {0x6a, 0xDCE6}, {0x6a, 0xDCE7}, // 10ca0 - 10ca7 +{0x6a, 0xDCE8}, {0x6a, 0xDCE9}, {0x6a, 0xDCEA}, {0x6a, 0xDCEB}, {0x6a, 0xDCEC}, {0x6a, 0xDCED}, {0x6a, 0xDCEE}, {0x6a, 0xDCEF}, // 10ca8 - 10caf +{0x6a, 0xDCF0}, {0x6a, 0xDCF1
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 5984b8a6765040e5d0292be6d618fbe85853bd06 Author: Alex Henrie AuthorDate: Thu Jan 9 23:23:23 2020 -0700 Commit: Eike Rathke CommitDate: Fri Jan 10 15:18:25 2020 +0100 Fix Osage lowercase-to-uppercase mappings Change-Id: I8c298a8008000a769e675721bf6b52ded3eae954 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86515 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 938fb4df9076..56b1116a45a5 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -520,8 +520,8 @@ static const Value CaseMappingValue[] = { {0x15, 0xDCB0}, {0x15, 0xDCB1}, {0x15, 0xDCB2}, {0x15, 0xDCB3}, {0x15, 0xDCB4}, {0x15, 0xDCB5}, {0x15, 0xDCB6}, {0x15, 0xDCB7}, // 104d8 - 104df {0x15, 0xDCB8}, {0x15, 0xDCB9}, {0x15, 0xDCBA}, {0x15, 0xDCBB}, {0x15, 0xDCBC}, {0x15, 0xDCBD}, {0x15, 0xDCBE}, {0x15, 0xDCBF}, // 104e0 - 104e7 {0x15, 0xDCC0}, {0x15, 0xDCC1}, {0x15, 0xDCC2}, {0x15, 0xDCC3}, {0x15, 0xDCC4}, {0x15, 0xDCC5}, {0x15, 0xDCC6}, {0x15, 0xDCC7}, // 104e8 - 104ef -{0x15, 0xDCD0}, {0x15, 0xDCD1}, {0x15, 0xDCD2}, {0x15, 0xDCD3}, {0x15, 0xDCD4}, {0x15, 0xDCD5}, {0x15, 0xDCD6}, {0x15, 0xDCD7}, // 104f0 - 104f7 -{0x15, 0xDCD8}, {0x15, 0xDCD9}, {0x15, 0xDCDA}, {0x15, 0xDCDB}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 104f8 - 104ff +{0x15, 0xDCC8}, {0x15, 0xDCC9}, {0x15, 0xDCCA}, {0x15, 0xDCCB}, {0x15, 0xDCCC}, {0x15, 0xDCCD}, {0x15, 0xDCCE}, {0x15, 0xDCCF}, // 104f0 - 104f7 +{0x15, 0xDCD0}, {0x15, 0xDCD1}, {0x15, 0xDCD2}, {0x15, 0xDCD3}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 104f8 - 104ff }; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding_data.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 41bbc4b9482df12166ba9ae88026717e6327573d Author: Alex Henrie AuthorDate: Fri Dec 20 21:17:43 2019 -0700 Commit: Eike Rathke CommitDate: Wed Jan 8 12:35:29 2020 +0100 Fix case mapping for undefined characters in the Osage block Regression from commit 209fc9fd7fa433947af0bf86e210d73fa7f5a045 Change-Id: Icd181d0611b5fe194ba00352a93bf40bef35a8f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85641 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 20c5cc714103..938fb4df9076 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -516,12 +516,12 @@ static const Value CaseMappingValue[] = { {0x6a, 0xDCE0}, {0x6a, 0xDCE1}, {0x6a, 0xDCE2}, {0x6a, 0xDCE3}, {0x6a, 0xDCE4}, {0x6a, 0xDCE5}, {0x6a, 0xDCE6}, {0x6a, 0xDCE7}, // 104b8 - 104bf {0x6a, 0xDCE8}, {0x6a, 0xDCE9}, {0x6a, 0xDCEA}, {0x6a, 0xDCEB}, {0x6a, 0xDCEC}, {0x6a, 0xDCED}, {0x6a, 0xDCEE}, {0x6a, 0xDCEF}, // 104c0 - 104c7 {0x6a, 0xDCF0}, {0x6a, 0xDCF1}, {0x6a, 0xDCF2}, {0x6a, 0xDCF3}, {0x6a, 0xDCF4}, {0x6a, 0xDCF5}, {0x6a, 0xDCF6}, {0x6a, 0xDCF7}, // 104c8 - 104cf -{0x6a, 0xDCF8}, {0x6a, 0xDCF9}, {0x6a, 0xDCFA}, {0x6a, 0xDCFB}, {0x6a, 0x}, {0x6a, 0x}, {0x6a, 0x}, {0x6a, 0x}, // 104d0 - 104d7 +{0x6a, 0xDCF8}, {0x6a, 0xDCF9}, {0x6a, 0xDCFA}, {0x6a, 0xDCFB}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 104d0 - 104d7 {0x15, 0xDCB0}, {0x15, 0xDCB1}, {0x15, 0xDCB2}, {0x15, 0xDCB3}, {0x15, 0xDCB4}, {0x15, 0xDCB5}, {0x15, 0xDCB6}, {0x15, 0xDCB7}, // 104d8 - 104df {0x15, 0xDCB8}, {0x15, 0xDCB9}, {0x15, 0xDCBA}, {0x15, 0xDCBB}, {0x15, 0xDCBC}, {0x15, 0xDCBD}, {0x15, 0xDCBE}, {0x15, 0xDCBF}, // 104e0 - 104e7 {0x15, 0xDCC0}, {0x15, 0xDCC1}, {0x15, 0xDCC2}, {0x15, 0xDCC3}, {0x15, 0xDCC4}, {0x15, 0xDCC5}, {0x15, 0xDCC6}, {0x15, 0xDCC7}, // 104e8 - 104ef {0x15, 0xDCD0}, {0x15, 0xDCD1}, {0x15, 0xDCD2}, {0x15, 0xDCD3}, {0x15, 0xDCD4}, {0x15, 0xDCD5}, {0x15, 0xDCD6}, {0x15, 0xDCD7}, // 104f0 - 104f7 -{0x15, 0xDCD8}, {0x15, 0xDCD9}, {0x15, 0xDCDA}, {0x15, 0xDCDB}, {0x15, 0x}, {0x15, 0x}, {0x15, 0x}, {0x15, 0x}, // 104f8 - 104ff +{0x15, 0xDCD8}, {0x15, 0xDCD9}, {0x15, 0xDCDA}, {0x15, 0xDCDB}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 104f8 - 104ff }; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: editeng/source vcl/unx
editeng/source/misc/unolingu.cxx |1 + vcl/unx/generic/print/genpspgraphics.cxx |4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) New commits: commit 77729d03c8bbad19e6cb2151fb2f1244c06aca1a Author: Alex Henrie AuthorDate: Fri Dec 20 21:33:49 2019 -0700 Commit: Noel Grandin CommitDate: Sat Dec 21 07:29:23 2019 +0100 Fix compilation with `make -- dbglevel=3` Change-Id: I95125fd3c882a828e77724ecac492e216b7da09c Reviewed-on: https://gerrit.libreoffice.org/85643 Tested-by: Jenkins Reviewed-by: Noel Grandin diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 43462bda6df5..8352e431ba5f 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/vcl/unx/generic/print/genpspgraphics.cxx b/vcl/unx/generic/print/genpspgraphics.cxx index 8f1adf73e632..221525514b34 100644 --- a/vcl/unx/generic/print/genpspgraphics.cxx +++ b/vcl/unx/generic/print/genpspgraphics.cxx @@ -828,9 +828,9 @@ FontAttributes GenPspGraphics::Info2FontAttributes( const psp::FastPrintFontInfo aDFA.AddMapName(alias); #if OSL_DEBUG_LEVEL > 2 -if( aDFA.HasMapNames() ) +if( aDFA.GetMapNames().getLength() > 0 ) { -SAL_INFO( "vcl.fonts", "using alias names " << aDFA.GetAliasNames() << " for font family " << aDFA.GetFamilyName() ); +SAL_INFO( "vcl.fonts", "using alias names " << aDFA.GetMapNames() << " for font family " << aDFA.GetFamilyName() ); } #endif ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: i18nutil/source
i18nutil/source/utility/casefolding.cxx| 17 +++--- i18nutil/source/utility/casefolding_data.h | 33 + 2 files changed, 46 insertions(+), 4 deletions(-) New commits: commit 209fc9fd7fa433947af0bf86e210d73fa7f5a045 Author: Alex Henrie AuthorDate: Fri Dec 20 09:23:06 2019 -0700 Commit: Eike Rathke CommitDate: Fri Dec 20 23:21:14 2019 +0100 Add case table for Deseret and Osage For characters like these that are in Unicode's Supplementary Multilingual Plane, only the low surrogate changes when changing case. Change-Id: I2c4e9880b4c41a6ecfc333bb2710cf1db3f80da7 Reviewed-on: https://gerrit.libreoffice.org/85621 Tested-by: Jenkins Reviewed-by: Eike Rathke diff --git a/i18nutil/source/utility/casefolding.cxx b/i18nutil/source/utility/casefolding.cxx index 0b01565a4466..cf3a716701e3 100644 --- a/i18nutil/source/utility/casefolding.cxx +++ b/i18nutil/source/utility/casefolding.cxx @@ -24,6 +24,7 @@ #include #include #include +#include using namespace com::sun::star::lang; using namespace com::sun::star::uno; @@ -91,13 +92,21 @@ const Mapping& casefolding::getConditionalValue(const sal_Unicode* str, sal_Int3 Mapping casefolding::getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale const & aLocale, MappingType nMappingType) { -Mapping dummy = { 0, 1, { 0, 0, 0 } }; -sal_Int16 address = CaseMappingIndex[str[pos] >> 8]; +Mapping dummy = { 0, 1, { str[pos], 0, 0 } }; + +sal_uInt32 c; +if (pos > 0 && rtl::isHighSurrogate(str[pos-1]) && rtl::isLowSurrogate(str[pos])) { +c = rtl::combineSurrogates(str[pos-1], str[pos]); +if (c >= SAL_N_ELEMENTS(CaseMappingIndex) * 256) +return dummy; +} else { +c = str[pos]; +} -dummy.map[0] = str[pos]; +sal_Int16 address = CaseMappingIndex[c >> 8]; if (address >= 0) { -address = (address << 8) + (str[pos] & 0xFF); +address = (address << 8) + (c & 0xFF); if (static_cast(CaseMappingValue[address].type) & nMappingType) { MappingType type = static_cast(CaseMappingValue[address].type); if (type & MappingType::NotValue) { diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h index 1cd912b2200d..20c5cc714103 100644 --- a/i18nutil/source/utility/casefolding_data.h +++ b/i18nutil/source/utility/casefolding_data.h @@ -56,6 +56,7 @@ static const sal_Int8 CaseMappingIndex[] = { -1, -1, -1, -1, -1, -1, -1, -1, // e800 - efff -1, -1, -1, -1, -1, -1, -1, -1, // f000 - f7ff -1, -1, -1, 0x0b, -1, -1, -1, 0x0c, // f800 - + -1, -1, -1, -1, 0x0d, -1, -1, -1, // 1 - 107ff }; @@ -489,6 +490,38 @@ static const Value CaseMappingValue[] = { {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // fff0 - fff7 {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // fff8 - +{0x6a, 0xDC28}, {0x6a, 0xDC29}, {0x6a, 0xDC2A}, {0x6a, 0xDC2B}, {0x6a, 0xDC2C}, {0x6a, 0xDC2D}, {0x6a, 0xDC2E}, {0x6a, 0xDC2F}, // 10400 - 10407 +{0x6a, 0xDC30}, {0x6a, 0xDC31}, {0x6a, 0xDC32}, {0x6a, 0xDC33}, {0x6a, 0xDC34}, {0x6a, 0xDC35}, {0x6a, 0xDC36}, {0x6a, 0xDC37}, // 10408 - 1040f +{0x6a, 0xDC38}, {0x6a, 0xDC39}, {0x6a, 0xDC3A}, {0x6a, 0xDC3B}, {0x6a, 0xDC3C}, {0x6a, 0xDC3D}, {0x6a, 0xDC3E}, {0x6a, 0xDC3F}, // 10410 - 10417 +{0x6a, 0xDC40}, {0x6a, 0xDC41}, {0x6a, 0xDC42}, {0x6a, 0xDC43}, {0x6a, 0xDC44}, {0x6a, 0xDC45}, {0x6a, 0xDC46}, {0x6a, 0xDC47}, // 10418 - 1041f +{0x6a, 0xDC48}, {0x6a, 0xDC49}, {0x6a, 0xDC4A}, {0x6a, 0xDC4B}, {0x6a, 0xDC4C}, {0x6a, 0xDC4D}, {0x6a, 0xDC4E}, {0x6a, 0xDC4F}, // 10420 - 10427 +{0x15, 0xDC00}, {0x15, 0xDC01}, {0x15, 0xDC02}, {0x15, 0xDC03}, {0x15, 0xDC04}, {0x15, 0xDC05}, {0x15, 0xDC06}, {0x15, 0xDC07}, // 10428 - 1042f +{0x15, 0xDC08}, {0x15, 0xDC09}, {0x15, 0xDC0A}, {0x15, 0xDC0B}, {0x15, 0xDC0C}, {0x15, 0xDC0D}, {0x15, 0xDC0E}, {0x15, 0xDC0F}, // 10430 - 10437 +{0x15, 0xDC10}, {0x15, 0xDC11}, {0x15, 0xDC12}, {0x15, 0xDC13}, {0x15, 0xDC14}, {0x15, 0xDC15}, {0x15, 0xDC16}, {0x15, 0xDC17}, // 10438 - 1043f +{0x15, 0xDC18}, {0x15, 0xDC19}, {0x15, 0xDC1A}, {0x15, 0xDC1B}, {0x15, 0xDC1C}, {0x15, 0xDC1D}, {0x15, 0xDC1E}, {0x15, 0xDC1F}, // 10440 - 10447 +{0x15, 0xDC20}, {0x15, 0xDC21}, {0x15, 0xDC22}, {0x15, 0xDC23}, {0x15, 0xDC24}, {0x15, 0xDC25}, {0x15, 0xDC26}, {0x15, 0xDC27}, // 10448 - 1044f +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, // 10450 - 10457 +{0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x00, 0x}, {0x
[Libreoffice-commits] core.git: extensions/source
extensions/source/update/feed/updatefeed.cxx |4 1 file changed, 4 deletions(-) New commits: commit 642e33e53f965d8f85d55f092809c4c5c23bba5d Author: Alex Henrie AuthorDate: Tue Dec 3 22:05:02 2019 -0700 Commit: Noel Grandin CommitDate: Wed Dec 18 08:04:19 2019 +0100 Remove unused exception imports from updatefeed.cxx This reverts commit 1e73a1bfab8abe658e2864ae1512737e489dfb0f. Change-Id: I5f3c62ffafd3e15b62227766e15a944c76d11978 Reviewed-on: https://gerrit.libreoffice.org/84294 Tested-by: Jenkins Reviewed-by: Noel Grandin diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index 15152721c35d..6642d977b1eb 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -59,10 +59,6 @@ #include #include -#ifdef DEBUG -#include -#include -#endif namespace beans = com::sun::star::beans ; namespace container = com::sun::star::container ; namespace deployment = com::sun::star::deployment ; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: extensions/source sd/source vcl/unx
extensions/source/update/feed/updatefeed.cxx |5 - sd/source/core/CustomAnimationPreset.cxx |1 + sd/source/filter/eppt/pptx-epptooxml.cxx |2 +- sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx |2 ++ vcl/unx/generic/app/i18n_xkb.cxx |1 + vcl/unx/generic/printer/ppdparser.cxx |2 +- 6 files changed, 6 insertions(+), 7 deletions(-) New commits: commit 94f0c6dfdec91d9f1d6dccd41315bd986c0ad590 Author: Alex Henrie AuthorDate: Mon Dec 2 19:45:14 2019 -0700 Commit: Noel Grandin CommitDate: Tue Dec 3 07:12:36 2019 +0100 Fix compilation with `make -- dbglevel=2` Change-Id: Icdf93751b00453eb033fd577413bd6bc3527f87c Reviewed-on: https://gerrit.libreoffice.org/84286 Tested-by: Jenkins Reviewed-by: Noel Grandin diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index 8d00603cae75..15152721c35d 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -88,25 +88,20 @@ public: m_xStream(rxStream) {}; virtual sal_Int32 SAL_CALL readBytes(uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) -throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException) { sal_Int32 n = m_xStream->readBytes(aData, nBytesToRead); return n; }; virtual sal_Int32 SAL_CALL readSomeBytes(uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) -throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException) { sal_Int32 n = m_xStream->readSomeBytes(aData, nMaxBytesToRead); return n; }; virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) -throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException) { m_xStream->skipBytes(nBytesToSkip); }; virtual sal_Int32 SAL_CALL available() -throw (io::NotConnectedException, io::IOException, uno::RuntimeException) { return m_xStream->available(); }; virtual void SAL_CALL closeInput( ) -throw (io::NotConnectedException, io::IOException, uno::RuntimeException) {}; }; diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx index ed20faf74b3b..1f16b3724fc4 100644 --- a/sd/source/core/CustomAnimationPreset.cxx +++ b/sd/source/core/CustomAnimationPreset.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 9789e20a343c..9d76dbe6ffe3 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -2047,7 +2047,7 @@ void dump_pset(Reference< XPropertySet > const& rXPropSet) else if (value >>= boolValue) SAL_INFO("sd.eppt", name << " = " << boolValue << " (bool)"); else if (value >>= pointValue) -SAL_INFO("sd.eppt", name << " = " << pointValue << " (RectanglePoint)"); +SAL_INFO("sd.eppt", name << " = " << static_cast(pointValue) << "(RectanglePoint)"); else SAL_INFO("sd.eppt", "??? "); } diff --git a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx index bf387210f0c8..ddf609af0c62 100644 --- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx +++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx @@ -19,6 +19,8 @@ #include "SlsRequestQueue.hxx" +#include + #include #include diff --git a/vcl/unx/generic/app/i18n_xkb.cxx b/vcl/unx/generic/app/i18n_xkb.cxx index 8fe7808e3a96..06fc520fe229 100644 --- a/vcl/unx/generic/app/i18n_xkb.cxx +++ b/vcl/unx/generic/app/i18n_xkb.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index fde5c08c8274..0dd380d7c8f7 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -760,7 +760,7 @@ PPDParser::PPDParser( const OUString& rFile ) : << " Keys from PPD " << m_aFile << ":"); for (auto const& key : m_aKeys) { -const PPDKey* pKey = key.second; +const PPDKey* pKey = key.second.get(); char const* pSetupType = ""; switch( pKey->m_eSetupType ) { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/62/10362/1'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/62/10362/2'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/52/8552/1'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/52/8552/2'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/02/8502/1'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/02/8502/2'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/changes/79/8479/1'
___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sd/source
sd/source/ui/view/Outliner.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 59f84b4a2c082382767f12e0c7a06a3f0b52e721 Author: Alex Henrie Date: Wed Jul 16 20:01:35 2014 -0600 fdo#79343 When searching in Draw or Impress, leave focus in search bar Setting bGrabFocus to false resolved the problem. Change-Id: I7678be76e1cca2a3d58635b4fc44aa3b1cdddb9a Reviewed-on: https://gerrit.libreoffice.org/10362 Reviewed-by: Joren De Cuyper Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index ebbc0f5..87c777a 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1188,7 +1188,7 @@ void Outliner::PrepareSearchAndReplace (void) mbStringFound = true; mbMatchMayExist = true; -EnterEditMode (); +EnterEditMode(false); mpDrawDocument->GetDocSh()->SetWaitCursor( false ); // Start seach at the right end of the current object's text ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: svx/source
svx/source/svdraw/svdedxv.cxx | 62 +++--- 1 file changed, 23 insertions(+), 39 deletions(-) New commits: commit b2f375823d78e7f72abb51ae9b62deb03bf6c3d1 Author: Alex Henrie Date: Wed Mar 12 08:04:22 2014 -0600 Remove dead code from SdrObjEditView Change-Id: I0a15b3567718d08edb4405146f6172c3939e06c1 Reviewed-on: https://gerrit.libreoffice.org/8552 Reviewed-by: Norbert Thiebaud Tested-by: Norbert Thiebaud diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 78f4722..76de86b 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -716,20 +716,9 @@ bool SdrObjEditView::SdrBeginTextEdit( #endif pTextEditOutliner->ClearModifyFlag(); -if(pWin) +if(pWin && pTextObj->IsFitToSize()) { -bool bExtraInvalidate(false); - -if(!bExtraInvalidate) -{ -if(pTextObj->IsFitToSize()) -bExtraInvalidate = true; -} - -if(bExtraInvalidate) -{ -pWin->Invalidate(aTextEditArea); -} +pWin->Invalidate(aTextEditArea); } if( GetModel() ) @@ -774,11 +763,9 @@ bool SdrObjEditView::SdrBeginTextEdit( } else { -bBrk = true; pTextEditOutliner->SetCalcFieldValueHdl(aOldCalcFieldValueLink); pTextEditOutliner->SetBeginPasteOrDropHdl(Link()); pTextEditOutliner->SetEndPasteOrDropHdl(Link()); - } } if (pTextEditOutliner != NULL) @@ -1135,29 +1122,27 @@ bool SdrObjEditView::IsTextEditHit(const Point& rHit, short nTol) const // only a third of the tolerance here, so handles can be hit well nTol=nTol/3; nTol=0; // no hit tolerance here any more -if (!bOk) + +Rectangle aEditArea; +OutlinerView* pOLV=pTextEditOutliner->GetView(0); +if (pOLV!=NULL) { -Rectangle aEditArea; -OutlinerView* pOLV=pTextEditOutliner->GetView(0); -if (pOLV!=NULL) -{ -aEditArea.Union(pOLV->GetOutputArea()); -} -aEditArea.Left()-=nTol; -aEditArea.Top()-=nTol; -aEditArea.Right()+=nTol; -aEditArea.Bottom()+=nTol; -bOk=aEditArea.IsInside(rHit); -if (bOk) -{ // check if any characters were actually hit -Point aPnt(rHit); aPnt-=aEditArea.TopLeft(); -long nHitTol = 2000; -OutputDevice* pRef = pTextEditOutliner->GetRefDevice(); -if( pRef ) -nHitTol = pRef->LogicToLogic( nHitTol, MAP_100TH_MM, pRef->GetMapMode().GetMapUnit() ); - -bOk = pTextEditOutliner->IsTextPos( aPnt, (sal_uInt16)nHitTol ); -} +aEditArea.Union(pOLV->GetOutputArea()); +} +aEditArea.Left()-=nTol; +aEditArea.Top()-=nTol; +aEditArea.Right()+=nTol; +aEditArea.Bottom()+=nTol; +bOk=aEditArea.IsInside(rHit); +if (bOk) +{ // check if any characters were actually hit +Point aPnt(rHit); aPnt-=aEditArea.TopLeft(); +long nHitTol = 2000; +OutputDevice* pRef = pTextEditOutliner->GetRefDevice(); +if( pRef ) +nHitTol = pRef->LogicToLogic( nHitTol, MAP_100TH_MM, pRef->GetMapMode().GetMapUnit() ); + +bOk = pTextEditOutliner->IsTextPos( aPnt, (sal_uInt16)nHitTol ); } } return bOk; @@ -1708,7 +1693,6 @@ bool SdrObjEditView::IsTextEditInSelectionMode() const bool SdrObjEditView::BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, Window* pWin) { -bool bRet=false; BrkMacroObj(); if (pObj!=NULL && pPV!=NULL && pWin!=NULL && pObj->HasMacro()) { nTol=ImpGetHitTolLogic(nTol,NULL); @@ -1720,7 +1704,7 @@ bool SdrObjEditView::BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, aMacroDownPos=rPnt; MovMacroObj(rPnt); } -return bRet; +return false; } void SdrObjEditView::ImpMacroUp(const Point& rUpPos) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: vcl/source
vcl/source/filter/FilterConfigCache.cxx | 32 1 file changed, 16 insertions(+), 16 deletions(-) New commits: commit d37f5fdd7310a031f3946f51133d18317f877dae Author: Alex Henrie Date: Fri Mar 7 13:29:36 2014 -0700 Simplify linear searches in FilterConfigCache No change in functionality, just eliminated a redundant comparison like FilterConfigCache::GetImportFormatNumberForExtension already does. Change-Id: I7b04eae2ae7e79f0804ad958d61771758545bf0a Reviewed-on: https://gerrit.libreoffice.org/8502 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx index 7576b2b..9d45c26 100644 --- a/vcl/source/filter/FilterConfigCache.cxx +++ b/vcl/source/filter/FilterConfigCache.cxx @@ -326,9 +326,9 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumber( const OUString& rFormatName for (aIter = aImport.begin(), aEnd = aImport.end(); aIter != aEnd; ++aIter) { if ( aIter->sUIName.equalsIgnoreAsciiCase( rFormatName ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aImport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aImport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aImport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } /// get the index of the filter that matches this extension @@ -352,9 +352,9 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForMediaType( const OUString& for (aIter = aImport.begin(), aEnd = aImport.end(); aIter != aEnd; ++aIter) { if ( aIter->sMediaType.equalsIgnoreAsciiCase( rMediaType ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aImport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aImport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aImport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } sal_uInt16 FilterConfigCache::GetImportFormatNumberForShortName( const OUString& rShortName ) @@ -364,9 +364,9 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForShortName( const OUString& for (aIter = aImport.begin(), aEnd = aImport.end(); aIter != aEnd; ++aIter) { if ( aIter->GetShortName().equalsIgnoreAsciiCase( rShortName ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aImport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aImport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aImport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } sal_uInt16 FilterConfigCache::GetImportFormatNumberForTypeName( const OUString& rType ) @@ -375,9 +375,9 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForTypeName( const OUString& for (aIter = aImport.begin(), aEnd = aImport.end(); aIter != aEnd; ++aIter) { if ( aIter->sType.equalsIgnoreAsciiCase( rType ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aImport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aImport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aImport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } OUString FilterConfigCache::GetImportFormatName( sal_uInt16 nFormat ) @@ -455,9 +455,9 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumber( const OUString& rFormatName for (aIter = aExport.begin(), aEnd = aExport.end(); aIter != aEnd; ++aIter) { if ( aIter->sUIName.equalsIgnoreAsciiCase( rFormatName ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aExport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aExport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aExport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } sal_uInt16 FilterConfigCache::GetExportFormatNumberForMediaType( const OUString& rMediaType ) @@ -466,9 +466,9 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumberForMediaType( const OUString& for (aIter = aExport.begin(), aEnd = aExport.end(); aIter != aEnd; ++aIter) { if ( aIter->sMediaType.equalsIgnoreAsciiCase( rMediaType ) ) -break; +return sal::static_int_cast< sal_uInt16 >(aIter - aExport.begin()); } -return sal::static_int_cast< sal_uInt16 >(aIter == aExport.end() ? GRFILTER_FORMAT_NOTFOUND : aIter - aExport.begin()); +return GRFILTER_FORMAT_NOTFOUND; } sal_uInt16 FilterConfigCache::GetExportFormatNumberForShortName( const OUString& rShortName ) @@ -478,9 +478,9 @@ sal_uInt16 FilterConfigCache::GetExportFormatNumberForShortName( const OUString& for (aIter = aExport.begin(), aEnd = aExport.end(); aIter != aEnd; ++aIter) { if ( aIter->GetShortName().equalsIgnoreAsciiCase( rShortName ) ) -br
Re: [PUSHED] Re: Do not convert SVGs to JPEGs when editing with external tool
2014-03-07 13:20 GMT-07:00 Michael Stahl : > re-implementing a feature that ~nobody actually uses seems like a waste > of time to me - it was previously discussed to move the Java > ScriptFramework/Rhino/BeanShell stuff to an (un-bundled) extension, > see this thread: > > http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/38646 2014-03-07 13:28 GMT-07:00 Tomaz Vajngerl : > I really don't think anyone is working on replacing Rhino. :) I was looking > into it at some point but I didn't get really far. There are other - more > rewarding things to fix. Thanks for the advice. An unbundled extension is probably the way to go but If I work on it at all, it won't be anytime soon. -Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [PUSHED] Re: Do not convert SVGs to JPEGs when editing with external tool
2014-03-07 11:39 GMT-07:00 Jan Holesovsky : > Looks good to me - I have pushed that :-) Thank you a lot for the > patch! Thank you! > Alex - what do you plan to hack next? :-) Thanks for asking. I've thought about removing some of LibreOffice's Java dependencies, particularly Rhino, but I don't know if I'll have the time. Do you know if anyone else is working on replacing Rhino with, say, SpiderMonkey? -Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: svx/source
svx/source/core/extedit.cxx |2 +- svx/source/core/graphichelper.cxx |3 +++ svx/source/xoutdev/_xoutbmp.cxx |2 +- 3 files changed, 5 insertions(+), 2 deletions(-) New commits: commit 156b5a15878394576dd008c5a07160721d333ab7 Author: Alex Henrie Date: Wed Mar 5 15:06:17 2014 -0700 Do not convert SVGs to JPEGs when editing with external tool This patch adds support for opening SVGs in the user's default SVG viewer/editor. If the image cannot be exported to SVG directly, it is exported as PNG instead. In no case will an SVG or an unrecognized format be lossy-converted to JPEG. Change-Id: I46dc8548c3cfb4d24a4a0078d4e3d7eee8367b1c diff --git a/svx/source/core/extedit.cxx b/svx/source/core/extedit.cxx index 9dd2e7e..853ae77 100644 --- a/svx/source/core/extedit.cxx +++ b/svx/source/core/extedit.cxx @@ -100,7 +100,7 @@ void ExternalToolEdit::Edit( GraphicObject* pGraphicObject ) //Write Graphic to the Temp File GraphicFilter& rGraphicFilter = GraphicFilter::GetGraphicFilter(); -sal_uInt16 nFilter(rGraphicFilter.GetExportFormatNumber(fExtension)); +sal_uInt16 nFilter(rGraphicFilter.GetExportFormatNumberForShortName(fExtension)); OUString aFilter(rGraphicFilter.GetExportFormatShortName(nFilter)); diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index d914121..4878872 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -84,6 +84,9 @@ void GraphicHelper::GetPreferredExtension( OUString& rExtension, const Graphic& case GFX_LINK_TYPE_NATIVE_BMP: aExtension = "bmp"; break; +case GFX_LINK_TYPE_NATIVE_SVG: +aExtension = "svg"; +break; default: break; } diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx index 1521c7a..bdf732a 100644 --- a/svx/source/xoutdev/_xoutbmp.cxx +++ b/svx/source/xoutdev/_xoutbmp.cxx @@ -231,7 +231,7 @@ sal_uInt16 XOutBitmap::WriteGraphic( const Graphic& rGraphic, OUString& rFileNam if( GRFILTER_FORMAT_NOTFOUND == nFilter ) { -nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_JPG ); +nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_PNG ); if( GRFILTER_FORMAT_NOTFOUND == nFilter ) nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_BMP ); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Alex Henrie license statement
All of my past & future contributions to LibreOffice may be licensed under the MPLv2+/LGPLv3+ dual license. -Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Do not convert SVGs to JPEGs when editing with external tool
This patch adds support for opening SVGs in the user's default SVG viewer/editor. If the image cannot be exported to SVG directly, it is exported as PNG instead. In no case will an SVG or an unrecognized format be lossy-converted to JPEG. Change-Id: I46dc8548c3cfb4d24a4a0078d4e3d7eee8367b1c --- svx/source/core/extedit.cxx | 2 +- svx/source/core/graphichelper.cxx | 3 +++ svx/source/xoutdev/_xoutbmp.cxx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/svx/source/core/extedit.cxx b/svx/source/core/extedit.cxx index 9dd2e7e..853ae77 100644 --- a/svx/source/core/extedit.cxx +++ b/svx/source/core/extedit.cxx @@ -100,7 +100,7 @@ void ExternalToolEdit::Edit( GraphicObject* pGraphicObject ) //Write Graphic to the Temp File GraphicFilter& rGraphicFilter = GraphicFilter::GetGraphicFilter(); -sal_uInt16 nFilter(rGraphicFilter.GetExportFormatNumber(fExtension)); +sal_uInt16 nFilter(rGraphicFilter.GetExportFormatNumberForShortName(fExtension)); OUString aFilter(rGraphicFilter.GetExportFormatShortName(nFilter)); diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index d914121..4878872 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -84,6 +84,9 @@ void GraphicHelper::GetPreferredExtension( OUString& rExtension, const Graphic& case GFX_LINK_TYPE_NATIVE_BMP: aExtension = "bmp"; break; +case GFX_LINK_TYPE_NATIVE_SVG: +aExtension = "svg"; +break; default: break; } diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx index 1521c7a..bdf732a 100644 --- a/svx/source/xoutdev/_xoutbmp.cxx +++ b/svx/source/xoutdev/_xoutbmp.cxx @@ -231,7 +231,7 @@ sal_uInt16 XOutBitmap::WriteGraphic( const Graphic& rGraphic, OUString& rFileNam if( GRFILTER_FORMAT_NOTFOUND == nFilter ) { -nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_JPG ); +nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_PNG ); if( GRFILTER_FORMAT_NOTFOUND == nFilter ) nFilter = rFilter.GetExportFormatNumberForShortName( FORMAT_BMP ); -- 1.8.3.2 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice