Regularization of fields for self-force problems in curved spacetime: Foundations and a time-domain application | Synapse