This paper reviews recent progresses on optical arbitrary waveform generation (AWG) techniques, which could be used to break the speed and bandwidth bottlenecks of electronics technologies for waveform generation. The main enabling techniques for optically generating optical and microwave waveforms are introduced and reviewed in this paper, such as wavelength-to-time mapping techniques, space-to-time mapping techniques, temporal pulse shaping (TPS) system, optoelectronics oscillator (OEO), programmable optical filters, optical differentiator and integrator and versatile electro-optic modulation implementations. The main advantages and challenges of these optical AWG techniques are also discussed.