Edith Windsor, who successfully challenged a federal law banning same-sex marriage, has died.