[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [PATCH 0/3] Support GSettings schema file
From: |
Daiki Ueno |
Subject: |
[bug-gettext] [PATCH 0/3] Support GSettings schema file |
Date: |
Mon, 5 Aug 2013 22:29:55 +0200 |
This is a set of patches to make xgettext capable of GSettings schema
files. As the file format is XML based, the expat related code has to
be separated from x-glade.c. This code is based on Miguel's proposal at:
https://github.com/644rosen/gettext_gtkbuilder_support/commit/1974f1df5dc22748c9b9606d09aad8cefa21b2f6
Other patches are written from scratch, since it turned out that we
need to normalize whitespaces correctly and the base code (x-glade.c)
has changed recently.
Daiki Ueno (2):
xgettext: allow file name extension with multiple dots
Support GSettings schema file
Miguel Ángel Arruga Vivas (1):
Extract libexpat compatibility layer to libexpat-compat.{c,h} files.
gettext-tools/src/ChangeLog | 11 +
gettext-tools/src/Makefile.am | 5 +-
gettext-tools/src/libexpat-compat.c | 314 +++++++++++++++++++++++++
gettext-tools/src/libexpat-compat.h | 94 ++++++++
gettext-tools/src/x-glade.c | 268 +--------------------
gettext-tools/src/x-gsettings.c | 384 +++++++++++++++++++++++++++++++
gettext-tools/src/x-gsettings.h | 45 ++++
gettext-tools/src/xgettext.c | 28 ++-
gettext-tools/tests/Makefile.am | 1 +
gettext-tools/tests/xgettext-gsettings-1 | 90 ++++++++
10 files changed, 963 insertions(+), 277 deletions(-)
create mode 100644 gettext-tools/src/libexpat-compat.c
create mode 100644 gettext-tools/src/libexpat-compat.h
create mode 100644 gettext-tools/src/x-gsettings.c
create mode 100644 gettext-tools/src/x-gsettings.h
create mode 100644 gettext-tools/tests/xgettext-gsettings-1
--
1.8.3.1