[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] Glade/GtkBuilder related bugs
From: |
Miguel Ángel |
Subject: |
[bug-gettext] Glade/GtkBuilder related bugs |
Date: |
Fri, 25 Jan 2013 22:49:59 +0100 |
Hello to everyone.
I have sent a patch for the bug #34506 that solves the "context"
problem, but I think that is a first approach, because it looks for it
in every tag. I have spent a couple of days looking into the Glade code
and I have some ideas:
* The first one is extend start_element_handler in x-glade.c to
support new GtkBuilder features. It could also solve bug #29216 and add
support to <item> elements, and it is easy to do, but this is not a
beautiful function actually.
* The second one is modify x-glade.h and split glade support in two
extractor functions, one for GtkBuilder and one for the old way (or also
split Glade1 and Glade2). This also could be achieved creating a new
extractor (i.e. x-gtkbuilder.{c,h}) or refactoring the whole module and
possibly extracting libexpat support. Anyway, the context extraction
from Glade2 files (#34506) should be fixed because it is not a new
feature of GtkBuilder.
Also, It seems that libexpat is used nowhere except here, but I have
seen that libxml is used in gnulib. At least, libexpat code should be in
a separate header.
I will thank any advices if I have to sign anything to contribute with a
bigger code. I also could help with the refactor of other parsers that I
have seen you are going to do.
Cheers.
Miguel Ángel Arruga Vivas
bug34506.patch
Description: Text Data
- [bug-gettext] Glade/GtkBuilder related bugs,
Miguel Ángel <=
- Re: [bug-gettext] Glade/GtkBuilder related bugs, Daiki Ueno, 2013/01/30
- Re: [bug-gettext] Glade/GtkBuilder related bugs, Miguel Ángel, 2013/01/30
- Re: [bug-gettext] Glade/GtkBuilder related bugs, Daiki Ueno, 2013/01/30
- [bug-gettext] [Patch 1/1] Savannah bug #36063, Miguel Ángel, 2013/01/31
- Re: [bug-gettext] Glade/GtkBuilder related bugs, Miguel Ángel, 2013/01/31
- [bug-gettext] [Patch 1/2] Glade/GtkBuilder related bugs, Miguel Ángel, 2013/01/31
- Re: [bug-gettext] [Patch 2/2] Glade/GtkBuilder related bugs, Miguel Ángel, 2013/01/31