Mercurial > mxe-octave
changeset 2351:8a6c466753e2
Improve comment style of all test programs
line wrap: on
line diff
--- a/src/boost-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/boost-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <iostream> #include <boost/archive/xml_oarchive.hpp>
--- a/src/curl-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/curl-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <curl/curl.h>
--- a/src/file-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/file-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <magic.h>
--- a/src/fltk-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/fltk-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,7 +1,11 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * http://www.fltk.org/doc-1.3/basics.html + */ -/* http://www.fltk.org/doc-1.3/basics.html */ #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Box.H>
--- a/src/freeglut-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/freeglut-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <GL/glut.h>
--- a/src/gd-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gd-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,7 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* modified from /examples/arc.c */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * examples/arc.c + */ #include "gd.h" #include <stdio.h>
--- a/src/geos-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/geos-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdarg.h> #include <stdio.h>
--- a/src/glew-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/glew-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <GL/glew.h>
--- a/src/gnutls-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gnutls-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gnutls/gnutls.h>
--- a/src/graphicsmagick-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/graphicsmagick-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <Magick++.h>
--- a/src/gsl-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gsl-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <gsl/gsl_sf_bessel.h>
--- a/src/gta-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gta-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gta/gta.h>
--- a/src/gtk2-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gtk2-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gtk/gtk.h>
--- a/src/gtkglext-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gtkglext-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gtk/gtk.h> #include <gtk/gtkgl.h>
--- a/src/gtkglextmm-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gtkglextmm-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gtkmm/main.h> #include <gtkmm/gl/init.h>
--- a/src/gtkmm2-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/gtkmm2-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gtkmm/window.h> #include <gtkmm/main.h>
--- a/src/guile-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/guile-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <libguile.h>
--- a/src/jpeg-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/jpeg-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <windows.h>
--- a/src/libarchive-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libarchive-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <archive.h>
--- a/src/libass-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libass-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <ass/ass.h>
--- a/src/libffi-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libffi-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <ffi.h>
--- a/src/libgomp-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libgomp-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <omp.h> #include <stdio.h>
--- a/src/libgsasl-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libgsasl-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <gsasl.h>
--- a/src/libiberty-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libiberty-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #define _GNU_SOURCE #include <stdio.h>
--- a/src/libical-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libical-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <libical/ical.h>
--- a/src/libidn-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libidn-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdlib.h> #include <idna.h>
--- a/src/libircclient-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libircclient-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <libircclient/libircclient.h>
--- a/src/libmikmod-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libmikmod-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <mikmod.h>
--- a/src/liboauth-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/liboauth-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <oauth.h>
--- a/src/libpng-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libpng-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,8 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* This is a slightly modified version of: */ -/* http://ironalbatross.net/wiki/index.php5?title=CPP_LIBPNG#Minimal_Example_of_writing_a_PNG_File */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * http://ironalbatross.net/wiki/index.php5?title=CPP_LIBPNG#Minimal_Example_of_writing_a_PNG_File + */ #include <stdio.h> #include <stdlib.h>
--- a/src/librsvg-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/librsvg-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <librsvg/rsvg.h>
--- a/src/libssh2-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/libssh2-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <libssh2.h>
--- a/src/lua-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/lua-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <lua.h>
--- a/src/mxml-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/mxml-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <mxml.h>
--- a/src/openal-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/openal-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <AL/alc.h>
--- a/src/physfs-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/physfs-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,7 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* modified from test/physfs_test.c */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * test/physfs_test.c + */ #include "physfs.h" #include <stdio.h>
--- a/src/poco-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/poco-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <iostream> #include <Poco/DateTimeFormat.h>
--- a/src/portaudio-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/portaudio-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <portaudio.h> #include <stdio.h>
--- a/src/pthreads-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/pthreads-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <stdio.h> #include <pthread.h>
--- a/src/qt-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/qt-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <QApplication> #include <QtPlugin>
--- a/src/qt-test.ui Thu Mar 29 11:07:56 2012 +0200 +++ b/src/qt-test.ui Thu Mar 29 12:01:39 2012 +0200 @@ -1,7 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- This file is part of MXE. --> -<!-- See doc/index.html for further information. --> +<!-- + This file is part of MXE. + See doc/index.html for further information. +--> <ui version="4.0"> <class>MainWindow</class>
--- a/src/sdl-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/sdl-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <SDL.h>
--- a/src/sdl_image-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/sdl_image-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <SDL.h> #include <SDL_image.h>
--- a/src/sdl_mixer-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/sdl_mixer-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <SDL_mixer.h>
--- a/src/sdl_net-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/sdl_net-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <SDL_net.h>
--- a/src/sdl_sound-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/sdl_sound-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,8 +1,13 @@ -/* Simple test program for SDL_sound that tries to decode the file specified - * as the only command-line argument. +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a simple test program for SDL_sound that tries to + * decode the file specified as the only command-line argument. * * This file is in the Public Domain. */ + #include <stdio.h> #include <SDL_sound.h>
--- a/src/smpeg-test.c Thu Mar 29 11:07:56 2012 +0200 +++ b/src/smpeg-test.c Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <smpeg.h> #include <stdio.h>
--- a/src/tinyxml-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/tinyxml-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <iostream> #include <tinyxml.h>
--- a/src/vigra-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/vigra-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <string> #include <iostream>
--- a/src/wxwidgets-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/wxwidgets-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <wx/wx.h>
--- a/src/xerces-test.cpp Thu Mar 29 11:07:56 2012 +0200 +++ b/src/xerces-test.cpp Thu Mar 29 12:01:39 2012 +0200 @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include <xercesc/parsers/SAXParser.hpp>