Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jcodings
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e91bdd9c89b
Choose a base ref
...
head repository: jruby/jcodings
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 191ab7ec1da3
Choose a head ref
  • 4 commits
  • 174 files changed
  • 2 contributors

Commits on Jan 3, 2016

  1. Copy the full SHA
    51047f5 View commit details
  2. Modify the extract table script to use name2ctype.h for code ranges, …

    …as the .src is out of date.
    chrisseaton committed Jan 3, 2016
    Copy the full SHA
    79a9f8b View commit details
  3. Copy the full SHA
    e252f34 View commit details
  4. Merge pull request #15 from chrisseaton/code-ranges

    Update code ranges
    lopex committed Jan 3, 2016
    Copy the full SHA
    191ab7e View commit details
Showing with 4 additions and 1 deletion.
  1. BIN resources/tables/CR_Age_6_2.bin
  2. BIN resources/tables/CR_Age_6_3.bin
  3. BIN resources/tables/CR_Age_7_0.bin
  4. BIN resources/tables/CR_Age_8_0.bin
  5. BIN resources/tables/CR_Ahom.bin
  6. BIN resources/tables/CR_Alnum.bin
  7. BIN resources/tables/CR_Alpha.bin
  8. BIN resources/tables/CR_Anatolian_Hieroglyphs.bin
  9. BIN resources/tables/CR_Arabic.bin
  10. BIN resources/tables/CR_Armenian.bin
  11. BIN resources/tables/CR_Assigned.bin
  12. BIN resources/tables/CR_Bassa_Vah.bin
  13. BIN resources/tables/CR_Bengali.bin
  14. BIN resources/tables/CR_Bidi_Control.bin
  15. BIN resources/tables/CR_Blank.bin
  16. BIN resources/tables/CR_Brahmi.bin
  17. BIN resources/tables/CR_C.bin
  18. BIN resources/tables/CR_Case_Ignorable.bin
  19. BIN resources/tables/CR_Cased.bin
  20. BIN resources/tables/CR_Caucasian_Albanian.bin
  21. BIN resources/tables/CR_Cf.bin
  22. BIN resources/tables/CR_Changes_When_Casefolded.bin
  23. BIN resources/tables/CR_Changes_When_Casemapped.bin
  24. BIN resources/tables/CR_Changes_When_Lowercased.bin
  25. BIN resources/tables/CR_Changes_When_Titlecased.bin
  26. BIN resources/tables/CR_Changes_When_Uppercased.bin
  27. BIN resources/tables/CR_Cherokee.bin
  28. BIN resources/tables/CR_Cn.bin
  29. BIN resources/tables/CR_Common.bin
  30. BIN resources/tables/CR_Cuneiform.bin
  31. BIN resources/tables/CR_Cyrillic.bin
  32. BIN resources/tables/CR_Dash.bin
  33. BIN resources/tables/CR_Default_Ignorable_Code_Point.bin
  34. BIN resources/tables/CR_Deprecated.bin
  35. BIN resources/tables/CR_Devanagari.bin
  36. BIN resources/tables/CR_Diacritic.bin
  37. BIN resources/tables/CR_Digit.bin
  38. BIN resources/tables/CR_Duployan.bin
  39. BIN resources/tables/CR_Elbasan.bin
  40. BIN resources/tables/CR_Extender.bin
  41. BIN resources/tables/CR_Grantha.bin
  42. BIN resources/tables/CR_Graph.bin
  43. BIN resources/tables/CR_Grapheme_Base.bin
  44. BIN resources/tables/CR_Grapheme_Extend.bin
  45. BIN resources/tables/CR_Grapheme_Link.bin
  46. BIN resources/tables/CR_Greek.bin
  47. BIN resources/tables/CR_Gujarati.bin
  48. BIN resources/tables/CR_Han.bin
  49. BIN resources/tables/CR_Hatran.bin
  50. BIN resources/tables/CR_ID_Continue.bin
  51. BIN resources/tables/CR_ID_Start.bin
  52. BIN resources/tables/CR_Ideographic.bin
  53. BIN resources/tables/CR_In_Ahom.bin
  54. BIN resources/tables/CR_In_Anatolian_Hieroglyphs.bin
  55. BIN resources/tables/CR_In_Bassa_Vah.bin
  56. BIN resources/tables/CR_In_CJK_Unified_Ideographs_Extension_E.bin
  57. BIN resources/tables/CR_In_Caucasian_Albanian.bin
  58. BIN resources/tables/CR_In_Cherokee_Supplement.bin
  59. BIN resources/tables/CR_In_Combining_Diacritical_Marks_Extended.bin
  60. BIN resources/tables/CR_In_Coptic_Epact_Numbers.bin
  61. BIN resources/tables/CR_In_Duployan.bin
  62. BIN resources/tables/CR_In_Early_Dynastic_Cuneiform.bin
  63. BIN resources/tables/CR_In_Elbasan.bin
  64. BIN resources/tables/CR_In_Geometric_Shapes_Extended.bin
  65. BIN resources/tables/CR_In_Grantha.bin
  66. BIN resources/tables/CR_In_Hatran.bin
  67. BIN resources/tables/CR_In_Kayah_Li.bin
  68. BIN resources/tables/CR_In_Khojki.bin
  69. BIN resources/tables/CR_In_Khudawadi.bin
  70. BIN resources/tables/CR_In_Latin_Extended_E.bin
  71. BIN resources/tables/CR_In_Linear_A.bin
  72. BIN resources/tables/CR_In_Mahajani.bin
  73. BIN resources/tables/CR_In_Manichaean.bin
  74. BIN resources/tables/CR_In_Mende_Kikakui.bin
  75. BIN resources/tables/CR_In_Modi.bin
  76. BIN resources/tables/CR_In_Mro.bin
  77. BIN resources/tables/CR_In_Multani.bin
  78. BIN resources/tables/CR_In_Myanmar_Extended_B.bin
  79. BIN resources/tables/CR_In_Nabataean.bin
  80. BIN resources/tables/CR_In_No_Block.bin
  81. BIN resources/tables/CR_In_Old_Hungarian.bin
  82. BIN resources/tables/CR_In_Old_Permic.bin
  83. BIN resources/tables/CR_In_Ornamental_Dingbats.bin
  84. BIN resources/tables/CR_In_Pahawh_Hmong.bin
  85. BIN resources/tables/CR_In_Pau_Cin_Hau.bin
  86. BIN resources/tables/CR_In_Psalter_Pahlavi.bin
  87. BIN resources/tables/CR_In_Shorthand_Format_Controls.bin
  88. BIN resources/tables/CR_In_Siddham.bin
  89. BIN resources/tables/CR_In_Sinhala_Archaic_Numbers.bin
  90. BIN resources/tables/CR_In_Supplemental_Arrows_C.bin
  91. BIN resources/tables/CR_In_Supplemental_Symbols_and_Pictographs.bin
  92. BIN resources/tables/CR_In_Sutton_SignWriting.bin
  93. BIN resources/tables/CR_In_Tirhuta.bin
  94. BIN resources/tables/CR_In_Warang_Citi.bin
  95. BIN resources/tables/CR_Inherited.bin
  96. BIN resources/tables/CR_Javanese.bin
  97. BIN resources/tables/CR_Kannada.bin
  98. BIN resources/tables/CR_Kayah_Li.bin
  99. BIN resources/tables/CR_Khojki.bin
  100. BIN resources/tables/CR_Khudawadi.bin
  101. BIN resources/tables/CR_L.bin
  102. BIN resources/tables/CR_LC.bin
  103. BIN resources/tables/CR_Latin.bin
  104. BIN resources/tables/CR_Limbu.bin
  105. BIN resources/tables/CR_Linear_A.bin
  106. BIN resources/tables/CR_Ll.bin
  107. BIN resources/tables/CR_Lm.bin
  108. BIN resources/tables/CR_Lo.bin
  109. BIN resources/tables/CR_Logical_Order_Exception.bin
  110. BIN resources/tables/CR_Lower.bin
  111. BIN resources/tables/CR_Lu.bin
  112. BIN resources/tables/CR_M.bin
  113. BIN resources/tables/CR_Mahajani.bin
  114. BIN resources/tables/CR_Malayalam.bin
  115. BIN resources/tables/CR_Manichaean.bin
  116. BIN resources/tables/CR_Mc.bin
  117. BIN resources/tables/CR_Me.bin
  118. BIN resources/tables/CR_Mende_Kikakui.bin
  119. BIN resources/tables/CR_Meroitic_Cursive.bin
  120. BIN resources/tables/CR_Mn.bin
  121. BIN resources/tables/CR_Modi.bin
  122. BIN resources/tables/CR_Mro.bin
  123. BIN resources/tables/CR_Multani.bin
  124. BIN resources/tables/CR_Myanmar.bin
  125. BIN resources/tables/CR_N.bin
  126. BIN resources/tables/CR_Nabataean.bin
  127. BIN resources/tables/CR_Nl.bin
  128. BIN resources/tables/CR_No.bin
  129. BIN resources/tables/CR_Old_Hungarian.bin
  130. BIN resources/tables/CR_Old_Italic.bin
  131. BIN resources/tables/CR_Old_North_Arabian.bin
  132. BIN resources/tables/CR_Old_Permic.bin
  133. BIN resources/tables/CR_Other_Alphabetic.bin
  134. BIN resources/tables/CR_Other_Default_Ignorable_Code_Point.bin
  135. BIN resources/tables/CR_Other_Grapheme_Extend.bin
  136. BIN resources/tables/CR_Other_Lowercase.bin
  137. BIN resources/tables/CR_Other_Math.bin
  138. BIN resources/tables/CR_Other_Uppercase.bin
  139. BIN resources/tables/CR_Pahawh_Hmong.bin
  140. BIN resources/tables/CR_Palmyrene.bin
  141. BIN resources/tables/CR_Pau_Cin_Hau.bin
  142. BIN resources/tables/CR_Pd.bin
  143. BIN resources/tables/CR_Pe.bin
  144. BIN resources/tables/CR_Po.bin
  145. BIN resources/tables/CR_Print.bin
  146. BIN resources/tables/CR_Ps.bin
  147. BIN resources/tables/CR_Psalter_Pahlavi.bin
  148. BIN resources/tables/CR_Punct.bin
  149. BIN resources/tables/CR_Quotation_Mark.bin
  150. BIN resources/tables/CR_Runic.bin
  151. BIN resources/tables/CR_S.bin
  152. BIN resources/tables/CR_STerm.bin
  153. BIN resources/tables/CR_Sc.bin
  154. BIN resources/tables/CR_Sharada.bin
  155. BIN resources/tables/CR_Siddham.bin
  156. BIN resources/tables/CR_SignWriting.bin
  157. BIN resources/tables/CR_Sinhala.bin
  158. BIN resources/tables/CR_Sk.bin
  159. BIN resources/tables/CR_Sm.bin
  160. BIN resources/tables/CR_So.bin
  161. BIN resources/tables/CR_Space.bin
  162. BIN resources/tables/CR_Telugu.bin
  163. BIN resources/tables/CR_Terminal_Punctuation.bin
  164. BIN resources/tables/CR_Tirhuta.bin
  165. BIN resources/tables/CR_Unified_Ideograph.bin
  166. BIN resources/tables/CR_Unknown.bin
  167. BIN resources/tables/CR_Upper.bin
  168. BIN resources/tables/CR_Warang_Citi.bin
  169. BIN resources/tables/CR_Word.bin
  170. BIN resources/tables/CR_XID_Continue.bin
  171. BIN resources/tables/CR_XID_Start.bin
  172. BIN resources/tables/CR_Z.bin
  173. BIN resources/tables/CR_Zs.bin
  174. +4 −1 scripts/ExtractTables.rb
Binary file added resources/tables/CR_Age_6_2.bin
Binary file not shown.
Binary file added resources/tables/CR_Age_6_3.bin
Binary file not shown.
Binary file added resources/tables/CR_Age_7_0.bin
Binary file not shown.
Binary file added resources/tables/CR_Age_8_0.bin
Binary file not shown.
Binary file added resources/tables/CR_Ahom.bin
Binary file not shown.
Binary file modified resources/tables/CR_Alnum.bin
Binary file not shown.
Binary file modified resources/tables/CR_Alpha.bin
Binary file not shown.
Binary file added resources/tables/CR_Anatolian_Hieroglyphs.bin
Binary file not shown.
Binary file modified resources/tables/CR_Arabic.bin
Binary file not shown.
Binary file modified resources/tables/CR_Armenian.bin
Binary file not shown.
Binary file modified resources/tables/CR_Assigned.bin
Binary file not shown.
Binary file added resources/tables/CR_Bassa_Vah.bin
Binary file not shown.
Binary file modified resources/tables/CR_Bengali.bin
Binary file not shown.
Binary file modified resources/tables/CR_Bidi_Control.bin
Binary file not shown.
Binary file modified resources/tables/CR_Blank.bin
Binary file not shown.
Binary file modified resources/tables/CR_Brahmi.bin
Binary file not shown.
Binary file modified resources/tables/CR_C.bin
Binary file not shown.
Binary file modified resources/tables/CR_Case_Ignorable.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cased.bin
Binary file not shown.
Binary file added resources/tables/CR_Caucasian_Albanian.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cf.bin
Binary file not shown.
Binary file modified resources/tables/CR_Changes_When_Casefolded.bin
Binary file not shown.
Binary file modified resources/tables/CR_Changes_When_Casemapped.bin
Binary file not shown.
Binary file modified resources/tables/CR_Changes_When_Lowercased.bin
Binary file not shown.
Binary file modified resources/tables/CR_Changes_When_Titlecased.bin
Binary file not shown.
Binary file modified resources/tables/CR_Changes_When_Uppercased.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cherokee.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cn.bin
Binary file not shown.
Binary file modified resources/tables/CR_Common.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cuneiform.bin
Binary file not shown.
Binary file modified resources/tables/CR_Cyrillic.bin
Binary file not shown.
Binary file modified resources/tables/CR_Dash.bin
Binary file not shown.
Binary file modified resources/tables/CR_Default_Ignorable_Code_Point.bin
Binary file not shown.
Binary file modified resources/tables/CR_Deprecated.bin
Binary file not shown.
Binary file modified resources/tables/CR_Devanagari.bin
Binary file not shown.
Binary file modified resources/tables/CR_Diacritic.bin
Binary file not shown.
Binary file modified resources/tables/CR_Digit.bin
Binary file not shown.
Binary file added resources/tables/CR_Duployan.bin
Binary file not shown.
Binary file added resources/tables/CR_Elbasan.bin
Binary file not shown.
Binary file modified resources/tables/CR_Extender.bin
Binary file not shown.
Binary file added resources/tables/CR_Grantha.bin
Binary file not shown.
Binary file modified resources/tables/CR_Graph.bin
Binary file not shown.
Binary file modified resources/tables/CR_Grapheme_Base.bin
Binary file not shown.
Binary file modified resources/tables/CR_Grapheme_Extend.bin
Binary file not shown.
Binary file modified resources/tables/CR_Grapheme_Link.bin
Binary file not shown.
Binary file modified resources/tables/CR_Greek.bin
Binary file not shown.
Binary file modified resources/tables/CR_Gujarati.bin
Binary file not shown.
Binary file modified resources/tables/CR_Han.bin
Binary file not shown.
Binary file added resources/tables/CR_Hatran.bin
Binary file not shown.
Binary file modified resources/tables/CR_ID_Continue.bin
Binary file not shown.
Binary file modified resources/tables/CR_ID_Start.bin
Binary file not shown.
Binary file modified resources/tables/CR_Ideographic.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Ahom.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Anatolian_Hieroglyphs.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Bassa_Vah.bin
Binary file not shown.
Binary file not shown.
Binary file added resources/tables/CR_In_Caucasian_Albanian.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Cherokee_Supplement.bin
Binary file not shown.
Binary file not shown.
Binary file added resources/tables/CR_In_Coptic_Epact_Numbers.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Duployan.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Early_Dynastic_Cuneiform.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Elbasan.bin
Binary file not shown.
Binary file not shown.
Binary file added resources/tables/CR_In_Grantha.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Hatran.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Kayah_Li.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Khojki.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Khudawadi.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Latin_Extended_E.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Linear_A.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Mahajani.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Manichaean.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Mende_Kikakui.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Modi.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Mro.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Multani.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Myanmar_Extended_B.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Nabataean.bin
Binary file not shown.
Binary file modified resources/tables/CR_In_No_Block.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Old_Hungarian.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Old_Permic.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Ornamental_Dingbats.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Pahawh_Hmong.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Pau_Cin_Hau.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Psalter_Pahlavi.bin
Binary file not shown.
Binary file not shown.
Binary file added resources/tables/CR_In_Siddham.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Sinhala_Archaic_Numbers.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Supplemental_Arrows_C.bin
Binary file not shown.
Binary file not shown.
Binary file added resources/tables/CR_In_Sutton_SignWriting.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Tirhuta.bin
Binary file not shown.
Binary file added resources/tables/CR_In_Warang_Citi.bin
Binary file not shown.
Binary file modified resources/tables/CR_Inherited.bin
Binary file not shown.
Binary file modified resources/tables/CR_Javanese.bin
Binary file not shown.
Binary file modified resources/tables/CR_Kannada.bin
Binary file not shown.
Binary file modified resources/tables/CR_Kayah_Li.bin
Binary file not shown.
Binary file added resources/tables/CR_Khojki.bin
Binary file not shown.
Binary file added resources/tables/CR_Khudawadi.bin
Binary file not shown.
Binary file modified resources/tables/CR_L.bin
Binary file not shown.
Binary file modified resources/tables/CR_LC.bin
Binary file not shown.
Binary file modified resources/tables/CR_Latin.bin
Binary file not shown.
Binary file modified resources/tables/CR_Limbu.bin
Binary file not shown.
Binary file added resources/tables/CR_Linear_A.bin
Binary file not shown.
Binary file modified resources/tables/CR_Ll.bin
Binary file not shown.
Binary file modified resources/tables/CR_Lm.bin
Binary file not shown.
Binary file modified resources/tables/CR_Lo.bin
Binary file not shown.
Binary file modified resources/tables/CR_Logical_Order_Exception.bin
Binary file not shown.
Binary file modified resources/tables/CR_Lower.bin
Binary file not shown.
Binary file modified resources/tables/CR_Lu.bin
Binary file not shown.
Binary file modified resources/tables/CR_M.bin
Binary file not shown.
Binary file added resources/tables/CR_Mahajani.bin
Binary file not shown.
Binary file modified resources/tables/CR_Malayalam.bin
Binary file not shown.
Binary file added resources/tables/CR_Manichaean.bin
Binary file not shown.
Binary file modified resources/tables/CR_Mc.bin
Binary file not shown.
Binary file modified resources/tables/CR_Me.bin
Binary file not shown.
Binary file added resources/tables/CR_Mende_Kikakui.bin
Binary file not shown.
Binary file modified resources/tables/CR_Meroitic_Cursive.bin
Binary file not shown.
Binary file modified resources/tables/CR_Mn.bin
Binary file not shown.
Binary file added resources/tables/CR_Modi.bin
Binary file not shown.
Binary file added resources/tables/CR_Mro.bin
Binary file not shown.
Binary file added resources/tables/CR_Multani.bin
Binary file not shown.
Binary file modified resources/tables/CR_Myanmar.bin
Binary file not shown.
Binary file modified resources/tables/CR_N.bin
Binary file not shown.
Binary file added resources/tables/CR_Nabataean.bin
Binary file not shown.
Binary file modified resources/tables/CR_Nl.bin
Binary file not shown.
Binary file modified resources/tables/CR_No.bin
Binary file not shown.
Binary file added resources/tables/CR_Old_Hungarian.bin
Binary file not shown.
Binary file modified resources/tables/CR_Old_Italic.bin
Binary file not shown.
Binary file added resources/tables/CR_Old_North_Arabian.bin
Binary file not shown.
Binary file added resources/tables/CR_Old_Permic.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Alphabetic.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Default_Ignorable_Code_Point.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Grapheme_Extend.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Lowercase.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Math.bin
Binary file not shown.
Binary file modified resources/tables/CR_Other_Uppercase.bin
Binary file not shown.
Binary file added resources/tables/CR_Pahawh_Hmong.bin
Binary file not shown.
Binary file added resources/tables/CR_Palmyrene.bin
Binary file not shown.
Binary file added resources/tables/CR_Pau_Cin_Hau.bin
Binary file not shown.
Binary file modified resources/tables/CR_Pd.bin
Binary file not shown.
Binary file modified resources/tables/CR_Pe.bin
Binary file not shown.
Binary file modified resources/tables/CR_Po.bin
Binary file not shown.
Binary file modified resources/tables/CR_Print.bin
Binary file not shown.
Binary file modified resources/tables/CR_Ps.bin
Binary file not shown.
Binary file added resources/tables/CR_Psalter_Pahlavi.bin
Binary file not shown.
Binary file modified resources/tables/CR_Punct.bin
Binary file not shown.
Binary file modified resources/tables/CR_Quotation_Mark.bin
Binary file not shown.
Binary file modified resources/tables/CR_Runic.bin
Binary file not shown.
Binary file modified resources/tables/CR_S.bin
Binary file not shown.
Binary file modified resources/tables/CR_STerm.bin
Binary file not shown.
Binary file modified resources/tables/CR_Sc.bin
Binary file not shown.
Binary file modified resources/tables/CR_Sharada.bin
Binary file not shown.
Binary file added resources/tables/CR_Siddham.bin
Binary file not shown.
Binary file added resources/tables/CR_SignWriting.bin
Binary file not shown.
Binary file modified resources/tables/CR_Sinhala.bin
Binary file not shown.
Binary file modified resources/tables/CR_Sk.bin
Binary file not shown.
Binary file modified resources/tables/CR_Sm.bin
Binary file not shown.
Binary file modified resources/tables/CR_So.bin
Binary file not shown.
Binary file modified resources/tables/CR_Space.bin
Binary file not shown.
Binary file modified resources/tables/CR_Telugu.bin
Binary file not shown.
Binary file modified resources/tables/CR_Terminal_Punctuation.bin
Binary file not shown.
Binary file added resources/tables/CR_Tirhuta.bin
Binary file not shown.
Binary file modified resources/tables/CR_Unified_Ideograph.bin
Binary file not shown.
Binary file modified resources/tables/CR_Unknown.bin
Binary file not shown.
Binary file modified resources/tables/CR_Upper.bin
Binary file not shown.
Binary file added resources/tables/CR_Warang_Citi.bin
Binary file not shown.
Binary file modified resources/tables/CR_Word.bin
Binary file not shown.
Binary file modified resources/tables/CR_XID_Continue.bin
Binary file not shown.
Binary file modified resources/tables/CR_XID_Start.bin
Binary file not shown.
Binary file modified resources/tables/CR_Z.bin
Binary file not shown.
Binary file modified resources/tables/CR_Zs.bin
Binary file not shown.
5 changes: 4 additions & 1 deletion scripts/ExtractTables.rb
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@

enc_path = "#{repo_path}/enc"
folds_src = open("#{enc_path}/unicode.c").read
unicode_h = open("#{enc_path}/unicode/name2ctype.h").read
unicode_src = open("#{enc_path}/unicode/name2ctype.src").read

dst_dir = "../src/org/jcodings"
@@ -115,7 +116,7 @@ def extract_to to, file
end
end

unicode_src.scan(/static\s+const\s+(\w+)\s+(\w+)\[\]\s+=\s+\{(.*?)\}\;/m).each do |(type, name, tab)|
unicode_h.scan(/static\s+const\s+(\w+)\s+(\w+)\[\]\s+=\s+\{(.*?)\}\;/m).each do |(type, name, tab)|
tab = tab.split(",").map { |e| e.strip }
assert_eq(tab.last, "")
tab.pop
@@ -169,6 +170,8 @@ def extract_to to, file
end
end

raise 'can\'t find encdb.h - you need to configure and build MRI' unless File.exist? "#{repo_path}/encdb.h"

defines, other = open("#{repo_path}/encdb.h").read.tr('()', '').scan(/ENC_([A-Z_]+)(.*?);/m).partition { |a, b| a =~ /DEFINE/ }

open("#{dst_dir}/EncodingList.java", "wb") { |f| f << open("EncodingListTemplate.java", "rb").read.