Solve the trigonometric equation #tan^2x+tanx-1=0# in general and in the interval #[0,2pi)#?

#tan^2x+tanx-1=0#