Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: glibc: wcscoll/strcoll needs to check if the char is out of the locale collation.
https://bugzilla.redhat.com/show_bug.cgi?id=537753
Summary: glibc: wcscoll/strcoll needs to check if the char is
out of the locale collation.
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: glibc
AssignedTo: schwab(a)redhat.com
ReportedBy: tfujiwar(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: jakub(a)redhat.com, fedora-i18n-bugs(a)redhat.com,
schwab(a)redhat.com
Estimated Hours: 0.0
Classification: Fedora
Target Release: ---
Created an attachment (id=369656)
--> (https://bugzilla.redhat.com/attachment.cgi?id=369656)
Example test case
Currently I'm thinking how to sort UTF-8 strings on GNOME/GDM.
GDM uses g_utf8_collate() to sort the language names.
http://git.gnome.org./cgit/glib/tree/glib/gunicollate.c
g_utf8_collate() uses wcscoll() internally.
----------------------------
70:gint
71: g_utf8_collate (const gchar *str1,
72: const gchar *str2)
73:{
...
109: result = wcscoll ((wchar_t *)str1_norm, (wchar_t *)str2_norm);
...
154:}
----------------------------
However if the chars are not defined in the locale collation, the returned
value is not correct.
I'm attaching the test program.
You could see the returned value is not correct on ja_JP.UTF-8.
Now I think it's better to set errno if the char is not defined in the
collation.
Regarding to WCSCOLL(3P):
----------------------------
RETURN VALUE
On error, wcscoll() shall set
errno, but no return value is reserved to indicate an error.
ERRORS
The wcscoll() function may fail if:
EINVAL The ws1 or ws2 arguments contain wide-character codes outside
the domain of the collating sequence.
----------------------------
If wcscoll/strcoll/wscxfrm/strxfrm would set errno, I could enhance
g_utf8_collate(_key) later.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603632
Pravin Satpute <psatpute(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |fedora-review+
--- Comment #11 from Pravin Satpute <psatpute(a)redhat.com> 2010-07-01 00:57:11 EDT ---
1) please drop EULA from spec file
+ package builds in mock (rawhide i686).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=2285029
+ rpmlint is silent for SRPM and for RPM.
typemade-josefinsansstd-light-fonts.noarch: W: obsolete-not-provided
josefinsansstd-light-fonts
-> since obsoluted package built only in devel branch, no need for provides
here
typemade-josefinsansstd-light-fonts.src: W: no-buildroot-tag
-> this is not require now
+ source files match upstream url
22f58c425e0775e5234e53ec7bf94116 typemade-JosefinSansStdLight.zip
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ fonts scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Not a GUI application
+ Approved
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603631
--- Comment #4 from Jason Tibbitts <tibbs(a)math.uh.edu> 2010-07-01 00:54:25 EDT ---
CVS done (by process-cvs-requests.py).
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603630
--- Comment #4 from Jason Tibbitts <tibbs(a)math.uh.edu> 2010-07-01 00:53:08 EDT ---
CVS done (by process-cvs-requests.py).
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [abrt] crash in ibus-anthy-1.2.0.20100115-1.fc12: engine.py:691:__update_anthy_convert_chars:IndexError: list index out of range
https://bugzilla.redhat.com/show_bug.cgi?id=590612
Summary: [abrt] crash in ibus-anthy-1.2.0.20100115-1.fc12:
engine.py:691:__update_anthy_convert_chars:IndexError:
list index out of range
Product: Fedora
Version: 12
Platform: i686
OS/Version: Linux
Status: NEW
Status Whiteboard: abrt_hash:8a0d316c
Severity: medium
Priority: low
Component: ibus-anthy
AssignedTo: tfujiwar(a)redhat.com
ReportedBy: tk01(a)mbd.nifty.com
QAContact: extras-qa(a)fedoraproject.org
CC: tagoh(a)redhat.com, tfujiwar(a)redhat.com,
phuang(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org
Classification: Fedora
abrt 1.0.9 detected a crash.
architecture: i686
cmdline: python /usr/share/ibus-anthy/engine/main.py --ibus
component: ibus-anthy
executable: /usr/share/ibus-anthy/engine/main.py
kernel: 2.6.32.9-70.fc12.i686
package: ibus-anthy-1.2.0.20100115-1.fc12
reason: engine.py:691:__update_anthy_convert_chars:IndexError: list index out
of range
release: Fedora release 12 (Constantine)
backtrace
-----
engine.py:691:__update_anthy_convert_chars:IndexError: list index out of range
Traceback (most recent call last):
File "/usr/share/ibus-anthy/engine/engine.py", line 706, in __update
self.__update_convert_chars()
File "/usr/share/ibus-anthy/engine/engine.py", line 628, in
__update_convert_chars
self.__update_anthy_convert_chars()
File "/usr/share/ibus-anthy/engine/engine.py", line 691, in
__update_anthy_convert_chars
pos, pos + len(self.__segments[self.__cursor_pos][1])))
IndexError: list index out of range
Local variables in innermost frame:
i: 0
text: u'\u5148\u751f\u3092'
self: <Engine object at 0xb5e5bc5c (PYIBusObject at 0x977c2a0)>
pos: 3
attrs: <AttrList object at 0xb5e6cf04 (PYIBusAttrList at 0x977c300)>
seg_index: 0
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603634
--- Comment #9 from Parag <pnemade(a)redhat.com> 2010-06-30 23:59:49 EDT ---
I have informed upstream about testcases not working and they are working on
it. For now I will build this and once upstream resolves test case issues will
update it in next build.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=598289
--- Comment #15 from fujiwara <tfujiwar(a)redhat.com> 2010-06-30 21:21:22 EDT ---
(In reply to comment #14)
> gtk-im-context-simple supports (the vast majority) of the compose sequence that
> are available with XIM.
It would not be a reason to use gtk-im-context-simple instead of xim.
> If the variable GTK_IM_MODULE is not set, then GTK+ selects by default
> gtk-im-context-simple.
I don't understand what you mean in 'variable'.
As I explained, if GTK_IM_MODULE is not set, it uses gtk.immodules.
http://git.gnome.org/browse/gtk+/tree/gtk/gtkimmodule.c#n718
> It would be good if this could go forward. Then Fedora and other distributions
> could claim ISO 14755 support.
I thought this again.
If you set GTK_IM_MODULE=ibus but don't enable any ibus engines, ibus uses
gtk-im-context-simple.
http://github.com/phuang/ibus/blob/master/client/gtk2/ibusimcontext.c#L365
Probably I think it would be enough for you.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.