[bug-gettext] [bug #45394] xgettext -x should use more relaxed rules for msgid validity

2015-06-24 Thread Daiki Ueno
Follow-up Comment #1, bug #45394 (project gettext): Thanks for the suggestion, that sounds plausible. By the way, I'm a bit surprised that the second example ("blabla\004blabla") is extracted even without -a. Maybe we should add some check in the PO writer. _

Re: [bug-gettext] gettext 0.19.5 second pretest

2015-06-24 Thread Daiki Ueno
Michele Locati writes: > I'm still having problems cross-compiling for Windows even after > having applied 0001-build-Export-formatstring_kde_kuit-to-W32.patch: [...] > undefined reference to `__imp__syntax_check_name' > collect2: ld returned 1 exit status > make[4]: *** [libgettextsrc.la] Error

[bug-gettext] [bug #45391] Out of bounds read in xgettext on malformed input

2015-06-24 Thread Daiki Ueno
Follow-up Comment #3, bug #45391 (project gettext): Right, thanks for your carefulness. I've simplified the loop invariant to work out possible variants: http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=4dd7d3dbcb2ec6ceae3a65d405751729fd26e1e1 _

Re: [bug-gettext] gettext 0.19.5 first release candidate

2015-06-24 Thread Dagobert Michelsen
Hi Daiki, Am 24.06.2015 um 14:18 schrieb Daiki Ueno : > Dagobert Michelsen writes: >> Is there some command I can run to only run the lang-vala test from >> the testsuite so I can drill it down more easily? > > Yes, you can do "make check TESTS=lang-vala" in gettext-tools/tests. > Thanks for loo

[bug-gettext] [bug #45394] xgettext -x should use more relaxed rules for msgid validity

2015-06-24 Thread anonymous
URL: Summary: xgettext -x should use more relaxed rules for msgid validity Project: GNU gettext Submitted by: None Submitted on: Wed 24 Jun 2015 03:59:20 PM UTC Category: None

[bug-gettext] [bug #45391] Out of bounds read in xgettext on malformed input

2015-06-24 Thread Hanno Boeck
Follow-up Comment #2, bug #45391 (project gettext): It fixes the first input, but a small variant of it still causes an oob, see attachment. Instead of a zero byte and a newline it has an x after the : gettext("x (file #34306) ___ Additiona

[bug-gettext] [bug #45391] Out of bounds read in xgettext on malformed input

2015-06-24 Thread Daiki Ueno
Follow-up Comment #1, bug #45391 (project gettext): Thanks for the report. I've committed a fix: http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=8d235255 I think this is enough since gettext doesn't accept NUL character in translatable strings, but let me know if it is not the case.

[bug-gettext] [bug #45305] Add support for AppData specifications

2015-06-24 Thread Philip Withnall
Follow-up Comment #3, bug #45305 (project gettext): (Stalled on sorting out the FSF copyright assignment paperwork and getting the relevant paperwork from my employer, Collabora, on whose time this was done.) ___ Reply to this item at: <

Re: [bug-gettext] gettext 0.19.5 second pretest

2015-06-24 Thread Michele Locati
Hi! By mistake I just sent this email to Daiki only, so I'm resending it to the list too... 2015-06-24 14:49 GMT+02:00 Daiki Ueno : > Vincent Torri writes: > > > .libs/libgettextsrc_la-read-catalog-abstract.o: In function > > `po_parse_comment_special': > > > C:\MinGW\msys\1.0\home\vtorri\tmp\ge

[bug-gettext] [bug #45391] Out of bounds read in xgettext on malformed input

2015-06-24 Thread Hanno Boeck
URL: Summary: Out of bounds read in xgettext on malformed input Project: GNU gettext Submitted by: hanno Submitted on: Wed 24 Jun 2015 03:17:28 PM CEST Category: None S

Re: [bug-gettext] gettext 0.19.5 second pretest

2015-06-24 Thread Daiki Ueno
Vincent Torri writes: > .libs/libgettextsrc_la-read-catalog-abstract.o: In function > `po_parse_comment_special': > C:\MinGW\msys\1.0\home\vtorri\tmp\gettext-0.19.4.82-0a64\gettext-tools\src/read-catalog-abstract.c:432: > undefined reference to `__imp_syntax_check_name' > ../woe32dll/.libs/libget

Re: [bug-gettext] gettext 0.19.5 first release candidate

2015-06-24 Thread Daiki Ueno
Dagobert Michelsen writes: > Is there some command I can run to only run the lang-vala test from > the testsuite so I can drill it down more easily? Yes, you can do "make check TESTS=lang-vala" in gettext-tools/tests. Thanks for looking into it. Regards, -- Daiki Ueno

Re: [bug-gettext] gettext 0.19.5 second pretest

2015-06-24 Thread Vincent Torri
Hello I have tried to compile this pretest on Windows (MSYS + mingw-w64 x86_64) and it fails : .libs/libgettextsrc_la-read-catalog-abstract.o: In function `po_parse_comment_special': C:\MinGW\msys\1.0\home\vtorri\tmp\gettext-0.19.4.82-0a64\gettext-tools\src/read-catalog-abstract.c:432: undefined

Re: [bug-gettext] gettext 0.19.5 first release candidate

2015-06-24 Thread Dagobert Michelsen
Hi Daiki, Am 23.06.2015 um 13:40 schrieb Dagobert Michelsen : >> FAIL: lang-vala >> === >> >> ld.so.1: prog: fatal: libintl.so.8: open failed: No such file or directory >> ./lang-vala: line 90: 9304 Killed LANGUAGE= >> LC_ALL=$LOCALE_FR ./prog > prog.out >> FAIL lan

[bug-gettext] gettext 0.19.5 second pretest

2015-06-24 Thread Daiki Ueno
Hello, The second pretest of gettext 0.19.5 is now available at: http://alpha.gnu.org/gnu/gettext/gettext-0.19.4.82-0a64.tar.xz http://alpha.gnu.org/gnu/gettext/gettext-0.19.4.82-0a64.tar.xz.sig This fixes several issues in building and the test suite. Thanks everyone for the prompt feedback. Pl

Re: [bug-gettext] [platform-testers] gettext 0.19.5 first release candidate

2015-06-24 Thread paul zimmermann
> I've made the attached change to skip the test on Mac OS X. Will > announce the next pretest shortly. thanks: # TOTAL: 182 # PASS: 172 # SKIP: 10 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 Paul

Re: [bug-gettext] [platform-testers] gettext 0.19.5 first release candidate

2015-06-24 Thread Daiki Ueno
paul zimmermann writes: >> > FAIL: msgfilter-8 > thanks, it fixes the problem. Thanks for confirming that. >> > FAIL: lang-bash >> Hmm, this is a familiar issue on Mac OS X: >> https://lists.gnu.org/archive/html/bug-gettext/2014-11/msg00012.html >> >> Since it seems unlikely to be fixed, perha

Re: [bug-gettext] [platform-testers] gettext 0.19.5 first release candidate

2015-06-24 Thread Daiki Ueno
paul zimmermann writes: >> > ./convert-archive dir git "$inputfile" archive.git.tar.gz >> > error: Malformed value for push.default: simple >> > error: Must be one of nothing, matching, tracking or current. >> > fatal: bad config file line 15 in /users/caramel/zimmerma/.gitconfig >> > fatal: Not

Re: [bug-gettext] [platform-testers] gettext 0.19.5 first release candidate

2015-06-24 Thread paul zimmermann
Hi, > > FAIL: msgfilter-8 > > = > > > > 35c35 > > < "non-terminated line" > > --- > >> "-n non-terminated line" > > FAIL msgfilter-8 (exit status: 1) > > For this, I've committed the attached fix. thanks, it fixes the problem. > > FAIL: lang-bash > > === > > >

Re: [bug-gettext] [platform-testers] gettext 0.19.5 first release candidate

2015-06-24 Thread paul zimmermann
Hi, > From: Daiki Ueno > Date: Wed, 24 Jun 2015 11:11:02 +0900 > > Thanks for testing. > > paul zimmermann writes: > > > ./convert-archive dir git "$inputfile" archive.git.tar.gz > > error: Malformed value for push.default: simple > > error: Must be one of nothing, matching, tracking o