about summary refs log tree commit diff
path: root/lib/strings.nix
AgeCommit message (Expand)AuthorFilesLines
2024-07-27Doc: migrate lib.strings to commonmarkJohannes Kirschbauer1-564/+2002
2024-07-26lib.trimWith: Minor doc improvementsSilvan Mosberger1-3/+4
2024-07-25lib.strings: add `trim` and `trimWith`Matt Sturgeon1-0/+62
2024-04-02lib/strings: Add makeIncludePath (#296237)Florian Richer1-0/+12
2024-03-03lib.toInt/toIntBase10: Make more efficient by hoisting up internal strings in...adisbladis1-10/+17
2024-02-09lib.strings: Remove unneeded polyfillSilvan Mosberger1-2/+1
2024-02-03lib: make deprecation warnings consistentAlois Wohlschlager1-2/+2
2023-12-11Merge pull request #273473 from adisbladis/lib-isConvertibleToString-static-listSilvan Mosberger1-2/+4
2023-12-11lib.cmakeOptionType: Statically compute types listadisbladis1-6/+7
2023-12-11lib.isConvertibleToString: Statically compute types listadisbladis1-2/+4
2023-12-11lib.strings: Dont create scopes for getName/getVersionadisbladis1-12/+12
2023-10-31lib.strings: add `replicate`h7x41-0/+14
2023-10-09lib: refactorAnderson Torres1-12/+15
2023-09-27lib: add cmakeOptionType, cmakeBool and cmakeFeatureAnderson Torres1-0/+58
2023-08-14lib.removePrefix: OptimiseSilvan Mosberger1-2/+2
2023-06-22lib: simplify stringToCharactersfigsoda1-1/+2
2023-06-15lib.path.hasPrefix: initSilvan Mosberger1-1/+2
2023-04-04Merge pull request #221204 from tweag/deprecate-paths-to-stringsSilvan Mosberger1-11/+75
2023-03-15lib.strings.remove{Prefix,Suffix}: Deprecate for path prefix/suffix argumentsSilvan Mosberger1-5/+23
2023-03-15lib.strings.normalizePath: Deprecate for path valuesSilvan Mosberger1-1/+14
2023-03-15lib.strings: Deprecate path prefix/suffix/infix argumentsSilvan Mosberger1-5/+38
2023-03-04lib/strings: hide asciiTableNaïm Favier1-2/+2
2023-03-03strings: add escapeQuery for url encodingPatrick Widmer1-3/+18
2023-01-31Merge pull request #205557 from ncfavier/concatLinesSilvan Mosberger1-0/+11
2022-12-31lib.isStringLike: Remove use of listRobert Hensing1-1/+3
2022-12-31lib.strings.isConvertibleWithToString: Refactor to reuse isStringLikeRobert Hensing1-4/+3
2022-12-31lib.strings: isMoreCoercibleString -> isConvertibleWithToStringRobert Hensing1-5/+6
2022-12-31lib.strings: isSimpleCoercibleString -> isStringLikeRobert Hensing1-7/+7
2022-12-31treewide: isCoercibleToString -> isMoreCoercibleToStringRobert Hensing1-1/+1
2022-12-31lib.strings: Rename isCoercibleToString -> isMoreCoercibleToStringRobert Hensing1-2/+11
2022-12-31lib.strings.toShellVar: Use isSimpleCoercibleStringRobert Hensing1-1/+1
2022-12-31lib.strings.isStorePath: Use isSimpleCoercibleToStringRobert Hensing1-1/+1
2022-12-31lib.strings: Add isSimpleCoercibleToStringRobert Hensing1-0/+11
2022-12-20lib/strings: replace poop emoji (#206999)Naïm Favier1-1/+1
2022-12-17lib: fix typosfigsoda1-2/+2
2022-12-15lib.replaceChars: warn about being a deprecated aliasArtturin1-17/+6
2022-12-11Merge pull request #205457 from h7x4/lib-strings-toInt-broken-for-negative-nu...Robert Hensing1-6/+7
2022-12-10lib/strings: add `concatLines`Naïm Favier1-0/+11
2022-12-10lib.strings: fix negative number handling for `toInt` and `toIntBase10`h7x41-6/+7
2022-12-08Merge pull request #204087 from ncfavier/splitString-simplifyNaïm Favier1-6/+4
2022-12-06lib/strings.nix: add mesonOption utility functionAndersonTorres1-0/+55
2022-12-02lib/strings: simplify `splitString`Naïm Favier1-6/+4
2022-10-24Merge pull request #173949 from jacoblambda/fix-toInt-zero-paddingRobert Hensing1-6/+87
2022-10-24lib.normalizePath: the empty string is not a valid regex on darwinGuillaume Girol1-1/+1
2022-10-23lib/strings: Update docs and restructured code to improve readability of toIn...Jacob Abel1-21/+37
2022-10-23lib/strings: Improve error message for octal ambiguity in toIntJacob Abel1-3/+2
2022-10-23lib/strings: Refactor toInt into toInt and toIntBase10Jacob Abel1-3/+51
2022-10-23lib/strings: Update toInt to handle intermixed ws and zeros. Added testsJacob Abel1-7/+13
2022-10-23lib/strings: allow toInt to parse zero-padded stringsJacob Abel1-4/+16
2022-10-20lib.strings: Add normalizePathajs1241-0/+10