Can't say with certainty without more close-up pictures and info. But, I'm going with Black Spot at this time, because both your tomato AND cucumber are affected. If that is the case, treat it very soon, or you won't have any viable fruit.
It could also be two different issues for the different plants (Black Speck, Canker, etc.), but that is less likely. If you update your post, I could help more.
In the meantime, here's a link to get you started. http://vegetablemdonline.ppath.cornell.edu/DiagnosticKeys/TomLeaf/TomLeafKey.html