bitcoin/src/index
Ryan Ofsky 0184d33b3d scripted-diff: Replace strprintf(Untranslated) with Untranslated(strprintf)
This makes code more consistent and makes it easier to add compile-time checking to
enforce that format strings contain the right specifiers, because it stops
using Untranslated() to create the format string, so the Untranslated()
function will not need to get involved in formatting.

-BEGIN VERIFY SCRIPT-
quote='"[^"]+"'
quotes="(?:$quote|\\s)*"
nonparens="[^()]*"
single_level_paren="\($nonparens\)"
double_level_paren="\($nonparens\($nonparens\)$nonparens\)"
exprs="(?:$double_level_paren|$single_level_paren|$nonparens)*"
git grep -l 'Untranslated' | xargs perl -0777 -i -pe "s/strprintf\((\\W*)Untranslated\(($quotes)\)($exprs)(\))/Untranslated(\1strprintf(\2\3))/gs"
-END VERIFY SCRIPT-
2024-12-04 15:09:05 -04:00
..
base.cpp scripted-diff: Replace strprintf(Untranslated) with Untranslated(strprintf) 2024-12-04 15:09:05 -04:00
base.h refactor: rename BlockKey to BlockRef 2024-09-17 09:14:15 +02:00
blockfilterindex.cpp refactor: rename BlockKey to BlockRef 2024-09-17 09:14:15 +02:00
blockfilterindex.h refactor: rename BlockKey to BlockRef 2024-09-17 09:14:15 +02:00
coinstatsindex.cpp refactor: rename BlockKey to BlockRef 2024-09-17 09:14:15 +02:00
coinstatsindex.h refactor: rename BlockKey to BlockRef 2024-09-17 09:14:15 +02:00
disktxpos.h tidy: modernize-use-equals-default 2024-07-08 11:12:01 +02:00
txindex.cpp streams: cache file position within AutoFile 2024-09-13 07:35:41 -04:00
txindex.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00