Hi Dan,
For both of that, you just need the free Meta Box plugin.
a) For repeating text field, please use the clone feature.
b) For standard fields, it's already supported. Please see the docs here.
If you need advanced repeating fields, such as repeat a group of fields, then you'll need Meta Box Group.
That's all.