]> Untitled Git - emu8051.git/commitdiff
Add licencing information to each source file
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 5 Nov 2008 06:49:45 +0000 (06:49 +0000)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 8 Sep 2013 22:54:51 +0000 (18:54 -0400)
Remove some debug messages.

37 files changed:
AUTHORS
ChangeLog
NEWS
configure.ac
src/EmuConsole.cpp
src/EmuConsole.hpp
src/Keyboard.hpp
src/common.h
src/cpu8051.c
src/cpu8051.h
src/disasm.hpp
src/emugtk.c
src/emugtk.h
src/exceptions.hpp
src/filemenu.c
src/filemenu.h
src/gtksizes.h
src/helpmenu.c
src/helpmenu.h
src/hexfile.c
src/hexfile.h
src/memory.c
src/memory.h
src/memwin.c
src/memwin.h
src/messagebox.c
src/messagebox.h
src/opcode2c.pl
src/options.c
src/options.h
src/pgmwin.c
src/pgmwin.h
src/reg8051.h
src/regwin.c
src/regwin.h
src/viewmenu.c
src/viewmenu.h

diff --git a/AUTHORS b/AUTHORS
index a69b7c2882d33b6956e20c9daf7397dd095c50a2..080169fd404f5fee7b042854b74e7c08d1275efa 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,5 +1,8 @@
 
-
 Hugo Villeneuve
 
 Jonathan St-André
+
+Pascal Fecteau
+
+Jimmy Ringuette
index eafa260f4d7851e7539e9551923ed9d8d15e8ead..309e788ade16fff70e07a6a522700084cc86b2c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+------------------------------------------------------------------------------
+2008/11/05     Hugo Villeneuve         <hugo@hugovil.com>
+        -Added licencing informations for each source file.
+        -Removed some debugging messages.
+
+------------------------------------------------------------------------------
+2008/04/28     Hugo Villeneuve         <hugo@hugovil.com>
+        Removed gtk+-1.0 support, now requires gtk+-2
 
 ------------------------------------------------------------------------------
 2004/05/07     Hugo Villeneuve         <hugo@hugovil.com>
diff --git a/NEWS b/NEWS
index 224f49eb84e9409afb70435beeba7234f3ac0ceb..3fc032d2f49a4b726d2a6161380c6d9d6920e35e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,7 @@
 
+2008-11-05: emu8051-1.0.1 has been released.
+        See the file 'ChangeLog' for further details.
+
 2008-04-28: emu8051-1.0.0 has been released.
         Removed gtk+-1.0 support, now requires gtk+-2
 
index 9cc79a8eb53d025956c597f622100a551c7e7d13..319453524b3e746d294072245ebc7de22c0a6886 100644 (file)
@@ -1,7 +1,7 @@
 # configure.ac -- Process this file with autoconf to produce configure
 
 dnl Initialization stuff.
-AC_INIT(emu8051, 1.0.0)
+AC_INIT(emu8051, 1.0.1)
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_SRCDIR(src/cpu8051.c)
 AM_CONFIG_HEADER(config.h:config-h.in)
index d28e5680221aa861638e53e86bbec70f542c7e1c..0415652b6919304d76b7c6ffa83b0ec748750c4e 100644 (file)
@@ -1,4 +1,23 @@
-/* EmuConsole.cpp */
+/*
+ * EmuConsole.cpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #include <stdio.h>
 #include <iostream>
index e84d56a16875e8cdec565245241afa9d09f7536d..fe808bac482282c553e3087aa1d03a2b872b3b1c 100644 (file)
@@ -1,3 +1,24 @@
+/*
+ * EmuConsole.hpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
 #ifndef _EMUCONSOLE_HPP_
 #define _EMUCONSOLE_HPP_
 
index 35b0f147c25367348b767808fcf504bd6fe0f956..420b3df9c344e7530adf8b47a2011c52d69d12f4 100644 (file)
@@ -1,4 +1,23 @@
-// Keyboard.hpp
+/*
+ * Keyboard.hpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef _KEYBOARD_HPP_
 #define _KEYBOARD_HPP_
index 4b91b2fe13b820488a1248bc88bd0995697c5cd7..cfd011fe7ab03f6b2cc7574fffdb1afd58945454 100644 (file)
@@ -1,8 +1,29 @@
-/* common.h */
+/*
+ * common.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef COMMON_H
 #define COMMON_H 1
 
+/* Define this to have debugging output. */
+/* #define EMU8051_DEBUG 1 */
 
 #include <stdio.h>
 #include <stdlib.h>
 #  include <strings.h>
 #endif
 
-
-#if ( GTK_MAJOR_VERSION == 2 )
-#  define FIXED_FONT "monospace 12"
-#else
-/*#  define FIXED_FONT "-misc-fixed-medium-r-*-*-*-140-*-*-*-*-*-*"*/
-#  define FIXED_FONT "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1"
-#endif
-
+#define FIXED_FONT "monospace 12"
 
 /* Common constants. */
 #ifndef EXIT_SUCCESS
index a4e587b94848120e94a937eb5d93feb2a20b3d51..1a4c23729c1c62dfd10d5bd45b90873dd251a0f8 100644 (file)
@@ -1,5 +1,23 @@
-/* cpu8051.c */
-
+/*
+ * cpu8051.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 /* Define only here, for not having extern scope on local variables. */
 #define CPU8051_M 1
index 942d64a618ef61431c9f524676fa851cb814753b..1ea42892cc9857fa87ae31b57bfb42d336a92b44 100644 (file)
@@ -1,5 +1,23 @@
-/* cpu8051.h */
-
+/*
+ * emu8051.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef CPU8051_H
 #define CPU8051_H 1
index bd4460f949afed5aab015b15ba4c8d4a16dcc8ea..d353ede4ab26df07ca14475a92be6a8e5b25348b 100644 (file)
@@ -1,3 +1,24 @@
+/*
+ * disasm.hpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
 #ifndef __DISASM_HPP_
 #define __DISASM_HPP_
 // Do not modify this file directly, it was created by Opcode2cpp.pl
index 96f62988ab673267c43b29ce896f53723a12e8e6..2224ee2fbddd389d94c6ded6d41ca1665d7fe8b0 100644 (file)
@@ -1,5 +1,23 @@
-/* emugtk.c */
-
+/*
+ * emugtk.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #include <stdio.h>
 #include "config.h"
@@ -38,7 +56,9 @@ extern char *hex_file;
 static void
 WindowDestroyEvent( GtkWidget *widget, gpointer data )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_DestroyEvent(...)\n" );
+#endif
 
   gtk_main_quit();
 }
@@ -241,7 +261,9 @@ AddMenuSeparator( GtkWidget *menu )
 void
 emugtk_UpdateDisplay( void )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_UpdateDisplay()\n" );
+#endif
 
   regwin_Show();
   pgmwin_Disasm();
@@ -292,7 +314,9 @@ emugtk_Step( void )
 void
 emugtk_ResetEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_ResetEvent(...)\n" );
+#endif
   emugtk_StopRunning( );
   emugtk_Reset( );
 }
@@ -304,7 +328,9 @@ emugtk_ResetEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 void
 emugtk_RunEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_RunEvent(...)\n" );
+#endif
   if ( RunningState ) {
     //   g_print( "Getting out of RunningState! \n" );
     emugtk_StopRunning( );
@@ -322,7 +348,9 @@ emugtk_RunEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 void
 emugtk_StopEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_StopEvent(...)\n" );
+#endif
   emugtk_StopRunning( );
 }
 
@@ -333,7 +361,9 @@ emugtk_StopEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 void
 emugtk_StepEvent( GtkWidget *widget, GdkEvent *event, gpointer data )
 {
+#ifdef EMU8051_DEBUG
   g_print( "emugtk_StepEvent(...)\n" );
+#endif
   emugtk_StopRunning( );
   emugtk_Step();
 }
@@ -347,7 +377,9 @@ emugtk_Running( )
 {
   cpu8051_Exec( );
   if( pgmwin_IsBreakpoint( cpu8051.pc ) ) {
+#ifdef EMU8051_DEBUG
     g_print( "Breakpoint Hit, stopping!\n" );
+#endif
     emugtk_StopRunning( );
   }
 }
@@ -371,9 +403,9 @@ void
 emugtk_StartRunning( void )
 {
   if ( !RunningState ) {
-
+#ifdef EMU8051_DEBUG
     printf( "emugtk_StartRunning( )\n" );
-
+#endif
     /*RunFuncTag = gtk_idle_add( GtkFunction( RunningFunction ), 0 );*/
     RunFuncTag = gtk_idle_add( RunningFunction, 0 );
 
@@ -393,7 +425,9 @@ void
 emugtk_StopRunning( )
 {
   if (RunningState) {
+#ifdef EMU8051_DEBUG
     printf( "emugtk_StopRunning( )\n" );
+#endif
     gtk_idle_remove( RunFuncTag );
     RunningState = 0;
     //gtk_widget_hide( GTK_WIDGET( ButtonStop ) );
index 7a4ddbd8d1a30f895810ddaf7513e4d2aa3aae65..21b66ddfe63ab09f9a2967a49689d5142a8c058f 100644 (file)
@@ -1,5 +1,23 @@
-/* emugtk.h */
-
+/*
+ * emugtk.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef EMUGTK_H
 #define EMUGTK_H 1
 #include "gtksizes.h"
 
 
-
-
 void
 AddMenuSeparator( GtkWidget *menu );
 
 void
 emugtk_new_file( char *file );
 
-
-
 void
 emugtk_StopRunning( void );
 
@@ -28,14 +42,8 @@ emugtk_Reset( void );
 void
 emugtk_UpdateDisplay( void );
 
-
-
-
 void emugtk_Step( );
 
-
-
-
 void emugtk_ResetEvent( GtkWidget *widget, GdkEvent *event, gpointer data );
 void emugtk_RunEvent( GtkWidget *widget, GdkEvent *event, gpointer data );
 void emugtk_StopEvent( GtkWidget *widget, GdkEvent *event, gpointer data );
@@ -45,8 +53,4 @@ void emugtk_StartRunning( );
 
 void emugtk_Running( );
 
-
-
-
-
 #endif /* EMUGTK_H */
index 5aa1af7dca248fd8acddae3d6459b65fea73e85c..7ef13f6e2df4c66e4ec95119fc91816fd995042d 100644 (file)
@@ -1,5 +1,23 @@
-// Exceptions.hpp
-// Gestion des erreurs pour le programme d'emulation du 8051.
+/*
+ * Exceptions.hpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef _EXCEPTION_HPP_
 #define _EXCEPTION_HPP_
index c96d35c06edb496be752b519b2083099e6076571..02a7b99f95ac4a64f6db558eaac666e4371161e8 100644 (file)
@@ -1,5 +1,23 @@
-/* file.c */
-
+/*
+ * filemenu.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index 64afad33b69879c53c5c4e08512aa0af1fcb1a6d..8945884638fc9a98c0bea930c149c5d4ba8ea3a2 100644 (file)
@@ -1,5 +1,23 @@
-/* filemenu.h */
-
+/*
+ * filemenu.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef FILEMENU_H
 #define FILEMENU_H 1
index 9bffe25996c477b7c00aea203269167c9c47cec4..462266454972d350da6da2d16c3d984633e07f78 100644 (file)
@@ -1,3 +1,24 @@
+/*
+ * gtksizes.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
 #ifndef _GTKSIZES_HPP_
 #define _GTKSIZES_HPP_
 
index e377b091d1038139af4730f86406075259571c2b..f1a468a8547418ab3cdbeb05cec47d9770d963a6 100644 (file)
@@ -1,5 +1,23 @@
-/* help.c */
-
+/*
+ * helpmenu.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index 8387bdcbd7555a3cc1807cdc82e6dc2935118ca9..e875f5ff5817d5e1b6735896ef3c60ab8cd3692e 100644 (file)
@@ -1,5 +1,23 @@
-/* helpmenu.h */
-
+/*
+ * helpmenu.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef HELPMENU_H
 #define HELPMENU_H 1
index 51ad33e6723ebd29abc758f605cf2b4ce7edb282..fe57ca98d0f68b546ad62f57035ebefb686afa8f 100644 (file)
@@ -1,6 +1,23 @@
-/* file.c -- functions for loading an Intel HEX file
-   Copyright (C) 2004 Hugo Villeneuve */
-
+/*
+ * Functions for loading an Intel HEX file.
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index 10d7d92ffbc944bf65fa86ef4bb37f2c6d2530bb..b90354261d981a7b38e01bde77f880c9ab5dbf7a 100644 (file)
@@ -1,12 +1,30 @@
-/* file.h */
+/*
+ * hexfile.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
-
-#ifndef FILE_H
-#define FILE_H 1
+#ifndef HEXFILE_H
+#define HEXFILE_H 1
 
 
 void
 LoadHexFile( const char *filename );
 
 
-#endif /* FILE_H */
+#endif /* HEXFILE_H */
index 96ca1c299207065c5c43edb8ff1787e67afb4f97..23885ce0f38e53eae8f775cfa0f462f015926497 100644 (file)
@@ -1,5 +1,23 @@
-/* memory.c */
-
+/*
+ * memory.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #include "memory.h"
 
index 039fb3f944d56bdfbcf75305c1606193e7039fe9..73acdbe182c27407bacb41f556ef7218d7178457 100644 (file)
@@ -1,5 +1,23 @@
-/* memory.h */
-
+/*
+ * memory.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef MEMORY_H
 #define MEMORY_H 1
index 9ce6845e13c512ca24d4fa480253f5f704087262..90c6e09ef5daebc30345d26215bd967df5338024 100644 (file)
@@ -1,5 +1,23 @@
-/* memwin.c */
-
+/*
+ * memwin.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index 0336076e0a6360f6a12fbb630c926b3f44c83f5c..23c23f6786fbe72092b59c07a4bcd1d09a56c619 100644 (file)
@@ -1,5 +1,23 @@
-/* memwin.h */
-
+/*
+ * memwin.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef MEMWIN_H
 #define MEMWIN_H 1
index ffe1e03480b58d92ea82e5c10d3e068befbc1955..5edb5dc4ec7f58b9a55aad0426c60b3df60d6e74 100644 (file)
@@ -1,5 +1,23 @@
-/* messagebox.c */
-
+/*
+ * messagebox.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index ad5c382c3bd6545833539dc629c7ffe10f9e0d67..9a8852ee2e0f5e33872a1580244dada62f1dfd71 100644 (file)
@@ -1,5 +1,23 @@
-/* messagebox.h */
-
+/*
+ * messagebox.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef MESSAGEBOX_H
 #define MESSAGEBOX_H 1
index 8aaae22a129f573030ffcd220ccaa998ecdfb947..910187938933f3ed4fc61d0284b3975b5f74b86c 100755 (executable)
@@ -1,14 +1,51 @@
 #!/usr/bin/perl
-
+#
+# Copyright (C) 1999 Jonathan St-André
+# Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 open INST_DEF, ">instructions_8051.h" or die "Error creating <instructions_8051.h> : $!\n";
 open INST_IMP, ">instructions_8051.c" or die "Error creating <instructions_8051.c> : $!\n";
 open OPCODELST, "opcodes.lst" or die "Error opening <opcodes.lst> : $!\n";
 open DISASM_H, ">disasm.h" or die "Error creating <disasm.h> : $!\n";
 
-print INST_IMP "/* instructions_8051.c */\n\n\n";
-print INST_IMP "/* Do not modify this file directly, as it was created by opcode2c.pl\n";
-print INST_IMP " * Any modifications made directly to this file will be lost. */\n\n\n";
+# Header for instructions_8051.c
+print INST_IMP "/*\n";
+print INST_IMP " * instructions_8051.c\n";
+print INST_IMP " *\n";
+print INST_IMP " * Do not modify this file directly, as it was created by opcode2c.pl\n";
+print INST_IMP " * Any modifications made directly to this file will be lost.\n";
+print INST_IMP " *\n";
+print INST_IMP " * Copyright (C) 1999 Jonathan St-André\n";
+print INST_IMP " * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>\n";
+print INST_IMP " *\n";
+print INST_IMP " * This program is free software; you can redistribute it and/or modify\n";
+print INST_IMP " * it under the terms of the GNU General Public License as published by\n";
+print INST_IMP " * the Free Software Foundation; either version 2 of the License, or\n";
+print INST_IMP " * (at your option) any later version.\n";
+print INST_IMP " *\n";
+print INST_IMP " * This program is distributed in the hope that it will be useful,\n";
+print INST_IMP " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
+print INST_IMP " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n";
+print INST_IMP " * GNU General Public License for more details.\n";
+print INST_IMP " *\n";
+print INST_IMP " * You should have received a copy of the GNU General Public License\n";
+print INST_IMP " * along with this program; if not, write to the Free Software\n";
+print INST_IMP " * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n";
+print INST_IMP "*/\n\n";
 print INST_IMP "/* Define only here, for not having extern scope on local variables. */\n";
 print INST_IMP "#define INSTRUCTIONS_8051_M 1\n\n\n";
 print INST_IMP "#include \"reg8051.h\"\n";
@@ -16,13 +53,33 @@ print INST_IMP "#include \"cpu8051.h\"\n";
 print INST_IMP "#include \"memory.h\"\n";
 print INST_IMP "#include \"instructions_8051.h\"\n\n\n";
 
-print DISASM_H "/* disasm.h */\n\n\n";
-print DISASM_H "/* Do not modify this file directly, as it was created by opcode2c.pl\n";
-print DISASM_H " * Any modifications made directly to this file will be lost. */\n\n\n";
+# Header for disasm.h
+print DISASM_H "/*\n";
+print DISASM_H " * disasm.h\n";
+print DISASM_H " *\n";
+print DISASM_H " * Do not modify this file directly, as it was created by opcode2c.pl\n";
+print DISASM_H " * Any modifications made directly to this file will be lost.\n";
+print DISASM_H " *\n";
+print DISASM_H " * Copyright (C) 1999 Jonathan St-André\n";
+print DISASM_H " * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>\n";
+print DISASM_H " *\n";
+print DISASM_H " * This program is free software; you can redistribute it and/or modify\n";
+print DISASM_H " * it under the terms of the GNU General Public License as published by\n";
+print DISASM_H " * the Free Software Foundation; either version 2 of the License, or\n";
+print DISASM_H " * (at your option) any later version.\n";
+print DISASM_H " *\n";
+print DISASM_H " * This program is distributed in the hope that it will be useful,\n";
+print DISASM_H " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
+print DISASM_H " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n";
+print DISASM_H " * GNU General Public License for more details.\n";
+print DISASM_H " *\n";
+print DISASM_H " * You should have received a copy of the GNU General Public License\n";
+print DISASM_H " * along with this program; if not, write to the Free Software\n";
+print DISASM_H " * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n";
+print DISASM_H "*/\n\n";
 print DISASM_H "#ifndef DISASM_H\n";
 print DISASM_H "#define DISASM_H 1\n\n\n";
 
-
 $nbinst=0;
 $nbaddr=0;
 $nbargs=0;
@@ -757,10 +814,31 @@ for ($i=0 ; $i< 256; $i++) {
 # ------------------------------------------------------------------------------
 
 
+# Header for instructions_8051.h
+print INST_DEF "/*\n";
+print INST_DEF " * instructions_8051.h\n";
+print INST_DEF " *\n";
+print INST_DEF " * Do not modify this file directly, as it was created by opcode2c.pl\n";
+print INST_DEF " * Any modifications made directly to this file will be lost.\n";
+print INST_DEF " *\n";
+print INST_DEF " * Copyright (C) 1999 Jonathan St-André\n";
+print INST_DEF " * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>\n";
+print INST_DEF " *\n";
+print INST_DEF " * This program is free software; you can redistribute it and/or modify\n";
+print INST_DEF " * it under the terms of the GNU General Public License as published by\n";
+print INST_DEF " * the Free Software Foundation; either version 2 of the License, or\n";
+print INST_DEF " * (at your option) any later version.\n";
+print INST_DEF " *\n";
+print INST_DEF " * This program is distributed in the hope that it will be useful,\n";
+print INST_DEF " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
+print INST_DEF " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n";
+print INST_DEF " * GNU General Public License for more details.\n";
+print INST_DEF " *\n";
+print INST_DEF " * You should have received a copy of the GNU General Public License\n";
+print INST_DEF " * along with this program; if not, write to the Free Software\n";
+print INST_DEF " * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n";
+print INST_DEF "*/\n\n";
 
-print INST_DEF "/* instructions_8051.h */\n\n\n";
-print INST_DEF "/* Do not modify this file directly, as it was created by opcode2c.pl\n";
-print INST_DEF " * Any modifications made directly to this file will be lost. */\n\n\n";
 print INST_DEF "#ifndef INSTRUCTIONS_8051_H\n";
 print INST_DEF "#define INSTRUCTIONS_8051_H 1\n\n\n";
 print INST_DEF "#define BANKPSW ( cpu8051_ReadD( _PSW_ ) & 0x18 )\n\n";
@@ -801,5 +879,3 @@ close DISASM_H;
 close OPCODELST;
 close INST_DEF;
 close INST_IMP;
-
-
index aab7d13d9dddd2452961f57efad5f56877996601..9fb70a7f11eb69b7408fc3dce2753da3eae235c7 100644 (file)
@@ -1,6 +1,22 @@
-/* options.c -- functions for processing command-line options and arguments
-   Copyright (C) 2003 Hugo Villeneuve */
-
+/*
+ * Processing command-line options and arguments.
+ *
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index e7fd9f66f8e06066cb4670e2024a62f62a0e970f..a96b41b3a1a7a30662da3eea4c9a6c50e3678694 100644 (file)
@@ -1,4 +1,22 @@
-/* options.h */
+/*
+ * options.h
+ *
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef OPTIONS_H
 #define OPTIONS_H 1
index 67824f60d0aeb33d4ff176020c0ec4f115a1e5b8..196d2fb0e2c525bfc3f36d2cb8ae64662986570a 100644 (file)
@@ -1,5 +1,23 @@
-/* pgmwin.c */
-
+/*
+ * pgmwin.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index 998b66ff49f9a24a575cd233ac75445192e26153..415b6a5eff73a126a78bc7fe860b509520ffbe01 100644 (file)
@@ -1,5 +1,23 @@
-/* pgmwin.h */
-
+/*
+ * pgmwin.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef PGMWIN_H
 #define PGMWIN_H 1
index 693b78899bc66e314ca58625d76454f0e5d73722..b336d63618333bdcefb08334a9b76f80729f9f5c 100644 (file)
@@ -1,5 +1,23 @@
-/* reg8051.h */
-
+/*
+ * reg8051.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef REG8051_H
 #define REG8051_H 1
index bf17f021ceb3fe2185b4be874cad2550075c98f5..92c90ce42721d3ee8679e374614537cb0b84e9d0 100644 (file)
@@ -1,5 +1,23 @@
-/* regwin.cpp */
-
+/*
+ * regwin.cpp
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index ec31334f6704b05f4ca74a976b5b869b6501167c..a43b172ac3b20c144a6bdd360cbcfbc890e769c0 100644 (file)
@@ -1,5 +1,23 @@
-/* regwin.h */
-
+/*
+ * regwin.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef REGWIN_H
 #define REGWIN_H 1
index 31a164e5f2c71c2a6d5f3814ccf0fdfda90a6181..e7fd6b9bf4c00f94ad66808e40a70649e43b0583 100644 (file)
@@ -1,5 +1,23 @@
-/* viewmenu.c */
-
+/*
+ * viewmenu.c
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #if HAVE_CONFIG_H
 #  include "config.h"
index db30bd0b70573df45632215d165c8a85b14c77eb..7ca7b6cd7b04af9e967aa785a2265a78d6018935 100644 (file)
@@ -1,5 +1,23 @@
-/* viewmenu.h */
-
+/*
+ * viewmenu.h
+ *
+ * Copyright (C) 1999 Jonathan St-André
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 
 #ifndef VIEWMENU_H
 #define VIEWMENU_H 1