You can now browse online the sources of libtcod here :
http://code.google.com/p/libtcod/source/browse
Under tags, you'll find the sources of different releases, starting with the 1.3.1.
If you like to live on the bleeding edge, you have the latest development branch under 'trunk'.