summaryrefslogtreecommitdiff
path: root/prism/encoding.h
AgeCommit message (Collapse)Author
2024-03-20[ruby/prism] Provide options for reducing sizeKevin Newton
https://github.com/ruby/prism/commit/592128de4d
2024-03-08[ruby/prism] Add initial implementation of `Regexp` validation.Kevin Menard
https://github.com/ruby/prism/commit/6bf1b8edf0
2024-03-08[ruby/prism] Track both the unescaped bytes and source string for a regular ↵Kevin Menard
expression so we can accurately set its encoding flags. https://github.com/ruby/prism/commit/dc6dd3a926
2024-02-14[ruby/prism] Validate multibyte characters in stringsKevin Newton
Check that multibyte characters are valid using pm_strpbrk. We need to add a couple of codepaths to ensure all encodings are covered. Importantly this doesn't check regular expressions, because apparently you're allowed to have invalid multibyte characters inside regular expression comment groups/extended mode. https://github.com/ruby/prism/commit/2857d3e1b5
2024-01-31[ruby/prism] Always return the character width for ↵Benoit Daloze
char_is_identifier_start() and char_is_identifier_utf8() * This is also faster than calling pm_encoding_utf_8_alpha_char/pm_encoding_utf_8_alnum_char as those compute the character width and do extra checks. https://github.com/ruby/prism/commit/4cb276ac4c
2023-12-06[ruby/prism] Update documentation for encodingsKevin Newton
https://github.com/ruby/prism/commit/18e6df0d4f
2023-12-06[ruby/prism] Provide flags for changing encodingsKevin Newton
https://github.com/ruby/prism/commit/e838eaff6f
2023-11-30[ruby/prism] Document remaining encodingsKevin Newton
https://github.com/ruby/prism/commit/b9510aed40
2023-11-30[ruby/prism] Group encodings into a single arrayKevin Newton
https://github.com/ruby/prism/commit/f4b7beadc9
2023-11-30[ruby/prism] Do not expose encodings that do not need to be exposedKevin Newton
https://github.com/ruby/prism/commit/c52c7f37ea
2023-11-30[ruby/prism] Remove public ASCII functions that can now be staticKevin Newton
https://github.com/ruby/prism/commit/9461384b0c
2023-11-30[PRISM] Consolidate prism encoding filesKevin Newton