13 Jan 2011 00:34
[PATCH 0/5] Info parsing improvements
The first two patches fix bug 585253 (and simplify info parsing significantly). The last one massively speeds up loading large info files (by not doing it!). Rupert Swarbrick (5): Fix get_value_after in yelp-info-parser.c Rewrite the way we read in the info file & calculate nodes' offsets. Use glib's g_uri_unescape_string instead of our own decode_url. Fixed a couple of compiler warnings and a return type. Parse info files one page at a time. libyelp/yelp-document.c | 16 +- libyelp/yelp-document.h | 2 +- libyelp/yelp-info-document.c | 302 +++++++++------ libyelp/yelp-info-parser.c | 912 +++++++++++++++--------------------------- libyelp/yelp-info-parser.h | 18 +- libyelp/yelp-uri.c | 62 +--- stylesheets/info2html.xsl.in | 69 ++-- 7 files changed, 557 insertions(+), 824 deletions(-) -- -- 1.7.2.3
RSS Feed