summaryrefslogtreecommitdiff
path: root/string.c
AgeCommit message (Expand)Author
2023-03-06Stop exporting symbols for MJITTakashi Kokubun
2023-03-05Optimize String#getbyteTakashi Kokubun
2023-03-03rb_str_modify_expand: clear the string coderangeRĂ´mulo Ceccon
2023-02-27Fix spelling (#7389)John Bampton
2023-02-27Symbol#end_with? accepts Strings onlyAdam Daniels
2023-02-19Remove (newly unneeded) remarks about aliasesBurdetteLamar
2023-02-19[DOC] Small adjustment for String method docszverok
2023-02-09Rename rb_str_splice_{0,1} -> rb_str_update_{0,1}Matt Valentine-House
2023-02-09Remove alias macro rb_str_spliceMatt Valentine-House
2023-02-09Merge gc.h and internal/gc.hMatt Valentine-House
2023-02-03Mark "mapping_buffer" as write barrier protectedJean Boussier
2023-01-20[Feature #19314] Add new arguments of String#bytespliceShugo Maeda
2023-01-19String#bytesplice should return selfShugo Maeda
2023-01-13Use str_enc_copy_direct to improve performanceMatt Valentine-House
2023-01-13Remove MIN_PRE_ALLOC_SIZE from Strings.Matt Valentine-House
2023-01-12Add str_enc_copy_directPeter Zhu
2023-01-09Set STR_SHARED_ROOT flag on root of stringPeter Zhu
2023-01-09Fix re-embedding of strings during compactionPeter Zhu
2023-01-06[Bug #19319] Fix crash in rb_str_casemapPeter Zhu
2022-12-22[DOC] Fix typoNobuyoshi Nakada
2022-12-02Introduce encoding check macroS-H-GAMELINKS
2022-11-24Make 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