After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621882 - Update to Unicode 5.2.0
Update to Unicode 5.2.0
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: i18n
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
: 621367 (view as bug list)
Depends on: 491554
Blocks: 633624
 
 
Reported: 2010-06-17 12:42 UTC by Simos Xenitellis
Modified: 2010-11-02 07:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
update gscripttable.h (42.28 KB, patch)
2010-06-24 00:05 UTC, Matthias Clasen
none Details | Review
update gunichartables.h (218.09 KB, patch)
2010-06-24 00:06 UTC, Matthias Clasen
none Details | Review
update gunicomp.h (52.28 KB, patch)
2010-06-24 00:06 UTC, Matthias Clasen
none Details | Review
update gunidecomp.h (652.82 KB, patch)
2010-06-24 00:07 UTC, Matthias Clasen
none Details | Review

Description Simos Xenitellis 2010-06-17 12:42:33 UTC
+++ This bug was initially created as a clone of Bug #491554 +++

Update to Unicode 5.2 (released in Oct 2009),
http://www.unicode.org/versions/Unicode5.2.0/
http://unicode.org/Public/5.2.0/
Comment 1 Simos Xenitellis 2010-06-17 12:43:59 UTC
*** Bug 621367 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2010-06-21 16:23:52 UTC
I have added the new scripts. Let me know what else needs to be done.
Comment 3 Matthias Clasen 2010-06-24 00:05:35 UTC
Created attachment 164456 [details] [review]
update gscripttable.h
Comment 4 Matthias Clasen 2010-06-24 00:06:16 UTC
Created attachment 164457 [details] [review]
update gunichartables.h
Comment 5 Matthias Clasen 2010-06-24 00:06:44 UTC
Created attachment 164458 [details] [review]
update gunicomp.h
Comment 6 Matthias Clasen 2010-06-24 00:07:17 UTC
Created attachment 164459 [details] [review]
update gunidecomp.h
Comment 7 Matthias Clasen 2010-06-24 00:10:02 UTC
Here are the changes produced by gen-script-table.pl and gen-unicode-tables.pl. gen-mirroring-tab produced no changes at all. Unfortunately, gen-unicode-tables spit out a ton of overflow warnings, so I think the script needs some love:


Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line 740.
[...]

time to switch compose_first_single to gunichar at ./gen-unicode-tables.pl line 1207.
Comment 8 Simos Xenitellis 2010-06-24 12:45:40 UTC
(In reply to comment #7)
> Here are the changes produced by gen-script-table.pl and gen-unicode-tables.pl.
> gen-mirroring-tab produced no changes at all. Unfortunately, gen-unicode-tables
> spit out a ton of overflow warnings, so I think the script needs some love:
> 
> 
> Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line 740.
> [...]
> 
> time to switch compose_first_single to gunichar at ./gen-unicode-tables.pl line
> 1207.

When you run the same scripts for the Unicode 5.1.0 data files, you get those "Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line xyz." warnings as well. 

With the Unicode 5.2.0 data files, you get the following additional warnings,

Use of uninitialized value $values[41] in string ne at ./gen-unicode-tables.pl line 704.
Use of uninitialized value $values[93] in string ne at ./gen-unicode-tables.pl line 704.
Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 722.
Use of uninitialized value $text in print at ./gen-unicode-tables.pl line 727.
Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 728.
Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 722.
Use of uninitialized value $text in print at ./gen-unicode-tables.pl line 727.
Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 728.

This second batch of warnings needs to be investigated as to what effect they may have to the generated glib data files.
Comment 9 Behdad Esfahbod 2010-08-25 22:48:50 UTC
Anyone can look into the Perl script?
Comment 10 Behdad Esfahbod 2010-11-02 07:01:23 UTC
Marking obsolete in favor of bug 633624.