You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About one year ago Oniguruma restarted on GitHub, and Oniguruma 6.0 was released about five months ago. Unfortunately new syntax I implemented in Onigmo like \K, \X and etc. were not merged in Oniguruma, and I don't think K.Kosako is going to merge them.
I think Ongimo and Oniguruma are now diverged and won't be merged again.
Currently Onigmo and Oniguruma cannot be installed in the same system, because Onigmo still uses the same header/library filenames. They should be changed now.
I'm planing that:
Rename the header and library filenames: onigmo.h, libonigmo.so, onigmo.dll, etc.
Import the latest Ruby's source code. This includes support for Unicode 9.0 and improvement of case folding. (Already merged into the ruby-2.x branch.)
Merge the ruby-2.x branch into master. Ruby specific codes should be surrounded by #ifdef RUBY.
Change some APIs. (Some of them come from the side effect of merging the ruby-2.x branch.)
Encoding structs and syntax structs will become const.
Change some encoding name. E.g. ONIG_ENCODING_UTF8 -> ONIG_ENCODING_UTF_8. However the old names still can be used, because I will define aliases for backward compatibility. (But the old structure names like OnigEncodingUTF8 will not be used. They are not considered as a part of public API.)
(Import Oniguruma 6.x's new APIs?)
onig_scan: Maybe useful and easy to import.
onig_unicode_define_user_property: Not sure how this is useful.
onig_initialize: Not sure why this is needed. Related to thread safe?
(Make Onigmo thread safe and remove all THREAD_* macros like Oniguruma did?)
Merge bug fixes done in Oniguruma 6.x. Need to check if they are already fixed in Onigmo.
The text was updated successfully, but these errors were encountered:
About one year ago Oniguruma restarted on GitHub, and Oniguruma 6.0 was released about five months ago. Unfortunately new syntax I implemented in Onigmo like
\K
,\X
and etc. were not merged in Oniguruma, and I don't think K.Kosako is going to merge them.I think Ongimo and Oniguruma are now diverged and won't be merged again.
Currently Onigmo and Oniguruma cannot be installed in the same system, because Onigmo still uses the same header/library filenames. They should be changed now.
I'm planing that:
onigmo.h
,libonigmo.so
,onigmo.dll
, etc.ruby-2.x
branch.)ruby-2.x
branch intomaster
. Ruby specific codes should be surrounded by#ifdef RUBY
.ruby-2.x
branch.)ONIG_ENCODING_UTF8
->ONIG_ENCODING_UTF_8
. However the old names still can be used, because I will define aliases for backward compatibility. (But the old structure names likeOnigEncodingUTF8
will not be used. They are not considered as a part of public API.)onig_scan
: Maybe useful and easy to import.onig_unicode_define_user_property
: Not sure how this is useful.onig_initialize
: Not sure why this is needed. Related to thread safe?THREAD_*
macros like Oniguruma did?)The text was updated successfully, but these errors were encountered: