1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
cdt/core/org.eclipse.cdt.ui.tests
Jonah Graham fa8a6279d2 Bug 577074: Fix i18n on import/export language settings
Side effect is that the indentation in the transformer now
works properly, so the extra newlines inserted everywhere
can be removed.

This change was done by changing the output to an OutputStream
instead of a Writer so that the XML handler could set the
encoding to match what was in the settings, i.e.:
transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");

The non-translated language IDs are used in preference to the
translated names when importing. The export now puts that ID
(when available) in the output file. The ID is available on
normal user files (C, ASM, C++) and not on object files. The
object files probably don't have languages settings that are
exported, but this code does not exclude them from being exported.

Change-Id: I46de004bb8c6a0ca05210487a5d33390d397c720
2021-11-09 11:01:13 -05:00
..
.settings Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
icons Patch for Devin Steffler w/ Modifications - Indexer View Search 2005-04-18 19:06:02 +00:00
META-INF [releng] Update to latest dependencies (2021-12 M2) 2021-10-25 18:56:15 -04:00
resources Bug 522200: [C++17] Add support for structured binding declarations 2019-08-05 09:00:35 +02:00
src/org/eclipse/cdt/ui Bug 564002: Restore the default pattern of the surefire-plugin 2020-08-13 14:18:47 -04:00
ui/org/eclipse/cdt/ui/tests Bug 577074: Fix i18n on import/export language settings 2021-11-09 11:01:13 -05:00
.classpath Bug 562494: Update BREE to Java 11 2020-08-24 17:50:56 -04:00
.options Providing .options file for easy trace activation. 2006-03-22 00:54:08 +00:00
.project Got rid of the static project references in our .project files. PDE takes care of all this now through the plugin dependencies. Also fixed the wording of the PDOM enabler to make sure people know this is a work in progress. 2005-12-02 20:43:14 +00:00
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
build.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
plugin.xml Bug 536255 - Extension point for open call hierarchy view 2018-09-08 03:03:00 -04:00
pom.xml [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
test.xml Cleanup some left over gunk from the move of stuff to org.eclipse.cdt.core.tests 2003-07-15 13:43:18 +00:00