summaryrefslogtreecommitdiff
path: root/string.c
AgeCommit message (Expand)Author
2 daysIntroduce encoding check macroS-H-GAMELINKS
9 daysMake String#rstrip{,!} raise Encoding::CompatibilityError for broken coderangeJeremy Evans
2022-11-16Using UNDEF_P macroS-H-GAMELINKS
2022-11-15Rewrite Symbol#to_sym and #intern in Ruby (#6683)Takashi Kokubun
2022-11-14Use string's capacity to determine if reembeddablePeter Zhu
2022-11-03Make str_alloc_heap return a STR_NOEMBED stringPeter Zhu
2022-10-04Correcting example for swapcase! methodVaevictusnet
2022-09-28Fix bug when slicing a string with broken encodingPeter Zhu
2022-09-28Make string slices views rather than copiesPeter Zhu
2022-09-26Refactor str_substr and str_subseqPeter Zhu
2022-09-26string.c: don't create a frozen copy for str_new_sharedJean Boussier
2022-09-26Fix coderange calculation in String#bKazuki Yamaguchi
2022-09-23Revert "Revert "error.c: Let Exception#inspect inspect its message""Yusuke Endoh
2022-09-12Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-1...Benoit Daloze
2022-09-09Avoid unnecessary copying when removing the leading part of a stringKazuki Yamaguchi
2022-09-08rb_str_concat_literals: use rb_str_buf_appendJean Boussier
2022-09-08[DOC] non-positive `base` in `Kernel#Integer` and `String#to_i`Nobuyoshi Nakada
2022-08-31[Bug #18973] Promote US-ASCII to ASCII-8BIT when adding 8-bit charNobuyoshi Nakada
2022-08-27[DOC] Fix a typo [ci skip]Nobuyoshi Nakada
2022-08-20Check if encoding capable object before check if ASCII compatibleNobuyoshi Nakada
2022-08-18rb_str_resize: Only clear coderange on truncationJean Boussier
2022-08-11Fix inspect for unicode codepoint 0x85Jeremy Evans
2022-07-26Adjust indent [ci skip]Nobuyoshi Nakada
2022-07-26Cheaply derive code range for String#b return valueKevin Menard
2022-07-25rb_str_buf_append: add a fast path for ENC_CODERANGE_VALIDJean Boussier
2022-07-21Expand tabs [ci skip]Takashi Kokubun
2022-07-21Make String#each_line work correctly with paragraph separator and chompJeremy Evans
2022-07-21string.c: use str_enc_fastpath in TERM_LENJean Boussier
2022-07-19str_buf_cat: preserve coderange when going through fastpathJean Boussier
2022-07-19rb_str_buf_append: fastpath to str_buf_catJean Boussier
2022-07-19Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BITJean Boussier
2022-07-13[DOC] Correct call-seq directive in string.c (#6131)Burdette Lamar
2022-06-17Using is_ascii_string to check encodingS-H-GAMELINKS
2022-06-16Remove unused and accidentally public rb_str_shared_root_p()Alan Wu
2022-06-14Add placeholder to let braces matchNobuyoshi Nakada
2022-06-13Move String RVALUES between poolsMatt Valentine-House
2022-06-09[DOC] Fix markup for `String` (#5984)Alexander Ilyin
2022-06-07Revert "error.c: Let Exception#inspect inspect its message"Yusuke Endoh
2022-06-07error.c: Let Exception#inspect inspect its messageYusuke Endoh
2022-05-20[Feature #18595] Alias String#-@ as String#dedupJean Boussier
2022-04-14[DOC] Move the documentations of moved Symbol methodsNobuyoshi Nakada
2022-04-13[DOC] Enhanced RDoc for Symbol (#5796)Burdette Lamar
2022-04-13Enforce literals on the second argumentsNobuyoshi Nakada
2022-04-12Enhanced RDoc for Symbol (#5795)Burdette Lamar
2022-04-08Fix some RDoc links (#5778)Burdette Lamar
2022-04-07All-in-one RDoc for class String (#5777)Burdette Lamar
2022-04-06[DOC] Enhanced RDoc for string slices (#5769)Burdette Lamar
2022-04-04Enhanced RDoc for String#index (#5759)Burdette Lamar
2022-04-03[DOC] Enhanced RDoc for String (#5753)Burdette Lamar
2022-04-02[DOC] Enhanced RDoc for String (#5751)Burdette Lamar