The evolution and star-formation history of M33