The isotropic luminosity function (LF) and formation rate history (FRH) of long GRBs is by the first time constrained by using jointly both the observed GRB peak-flux and redshift distributions. Our results support an evolving LF and a FRH that keeps increasing after z=2. We discuss some interesting implications related to these results.