1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 09:45:39 +02:00
cdt/core
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
..
org.eclipse.cdt.core [releng] Require target platform bundles as minimum version 2021-10-25 18:56:15 -04:00
org.eclipse.cdt.core.linux [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.core.linux.aarch64 Add convenient method to raise a custom signal 2021-10-20 13:49:48 -04:00
org.eclipse.cdt.core.linux.ppc64le Add convenient method to raise a custom signal 2021-10-20 13:49:48 -04:00
org.eclipse.cdt.core.linux.x86_64 Add convenient method to raise a custom signal 2021-10-20 13:49:48 -04:00
org.eclipse.cdt.core.macosx Add convenient method to raise a custom signal 2021-10-20 13:49:48 -04:00
org.eclipse.cdt.core.native Bug 574131: Make the graceful exit time configurable 2021-10-25 21:59:02 +02:00
org.eclipse.cdt.core.tests [releng] Update to latest dependencies (2021-12 M2) 2021-10-25 18:56:15 -04:00
org.eclipse.cdt.core.win32 [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.core.win32.x86_64 Add convenient method to raise a custom signal 2021-10-20 13:49:48 -04:00
org.eclipse.cdt.ui Bug 577074: Fix i18n on import/export language settings 2021-11-09 11:01:13 -05:00
org.eclipse.cdt.ui.tests Bug 577074: Fix i18n on import/export language settings 2021-11-09 11:01:13 -05:00
pom.xml [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00