diff options
-rw-r--r-- | src/GsWidget.H | 23 | ||||
-rw-r--r-- | src/GsWidget.cxx | 24 | ||||
-rw-r--r-- | src/PSEditModel.H | 23 | ||||
-rw-r--r-- | src/PSEditModel.cxx | 23 | ||||
-rw-r--r-- | src/PSEditText.H | 23 | ||||
-rw-r--r-- | src/PSEditText.cxx | 23 | ||||
-rw-r--r-- | src/PSEditWidget.H | 23 | ||||
-rw-r--r-- | src/PSEditWidget.cxx | 23 | ||||
-rw-r--r-- | src/PSEditor.H | 23 | ||||
-rw-r--r-- | src/PSEditor.cxx | 23 | ||||
-rw-r--r-- | src/Postscript.H | 23 | ||||
-rw-r--r-- | src/Postscript.cxx | 33 | ||||
-rw-r--r-- | src/PostscriptDSC.H | 19 | ||||
-rw-r--r-- | src/PostscriptDSC.cxx | 21 | ||||
-rw-r--r-- | src/flpsed.cxx | 23 | ||||
-rw-r--r-- | src/util.c | 27 | ||||
-rw-r--r-- | src/util.h | 28 |
17 files changed, 56 insertions, 349 deletions
diff --git a/src/GsWidget.H b/src/GsWidget.H index 659bc69..aa3f2a8 100644 --- a/src/GsWidget.H +++ b/src/GsWidget.H @@ -1,25 +1,8 @@ -// -// "$Id: GsWidget.H,v 1.4 2005/01/27 21:07:09 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef GsWidget_H #define GsWidget_H diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx index f429fa0..5db8cae 100644 --- a/src/GsWidget.cxx +++ b/src/GsWidget.cxx @@ -1,26 +1,8 @@ // -// "$Id: GsWidget.cxx,v 1.17 2005/04/19 20:22:23 hofmann Exp $" -// -// GsWidget routines. -// -// Copyright 2004 by Johannes Hofmann. -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. -// +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdio.h> #include <string.h> diff --git a/src/PSEditModel.H b/src/PSEditModel.H index b5ebc14..18ea91d 100644 --- a/src/PSEditModel.H +++ b/src/PSEditModel.H @@ -1,25 +1,8 @@ -// -// "$Id: PSEditModel.H,v 1.12 2005/06/17 18:20:42 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef PSEditModel_H #define PSEditModel_H diff --git a/src/PSEditModel.cxx b/src/PSEditModel.cxx index 3906ab6..605c0dc 100644 --- a/src/PSEditModel.cxx +++ b/src/PSEditModel.cxx @@ -1,25 +1,8 @@ // -// "$Id: PSEditModel.cxx,v 1.15 2005/06/17 18:24:34 hofmann Exp $" -// -// PSEditWidget routines. -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdio.h> #include <string.h> diff --git a/src/PSEditText.H b/src/PSEditText.H index fee463a..d12a878 100644 --- a/src/PSEditText.H +++ b/src/PSEditText.H @@ -1,25 +1,8 @@ -// -// "$Id: PSEditText.H,v 1.5 2005/06/17 18:20:42 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef PSEditText_H #define PSEditText_H diff --git a/src/PSEditText.cxx b/src/PSEditText.cxx index 2c572ff..510c2a9 100644 --- a/src/PSEditText.cxx +++ b/src/PSEditText.cxx @@ -1,25 +1,8 @@ // -// "$Id: PSEditText.cxx,v 1.3 2005/06/17 18:20:42 hofmann Exp $" -// -// PSEditWidget routines. -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdio.h> #include <string.h> diff --git a/src/PSEditWidget.H b/src/PSEditWidget.H index f7cb3f5..1bff9e5 100644 --- a/src/PSEditWidget.H +++ b/src/PSEditWidget.H @@ -1,25 +1,8 @@ -// -// "$Id: PSEditWidget.H,v 1.17 2005/06/17 18:20:42 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef PSEditWidget_H #define PSEditWidget_H diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx index d1bf001..a72a6f5 100644 --- a/src/PSEditWidget.cxx +++ b/src/PSEditWidget.cxx @@ -1,25 +1,8 @@ -// -// "$Id: PSEditWidget.cxx,v 1.37 2005/06/17 18:20:42 hofmann Exp $" // -// PSEditWidget routines. -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdio.h> #include <string.h> diff --git a/src/PSEditor.H b/src/PSEditor.H index a1926ee..abcf3a3 100644 --- a/src/PSEditor.H +++ b/src/PSEditor.H @@ -1,25 +1,8 @@ -// -// "$Id: PSEditor.H,v 1.9 2005/02/02 18:18:47 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef PSEDITOR_H #define PSEDITOR_H diff --git a/src/PSEditor.cxx b/src/PSEditor.cxx index 9eeffb9..d87388b 100644 --- a/src/PSEditor.cxx +++ b/src/PSEditor.cxx @@ -1,25 +1,8 @@ -// -// "$Id: PSEditor.cxx,v 1.25 2005/06/17 18:24:34 hofmann Exp $" // -// PSEditor routines. -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <errno.h> #include <FL/fl_ask.H> diff --git a/src/Postscript.H b/src/Postscript.H index 5237ee5..c61fdec 100644 --- a/src/Postscript.H +++ b/src/Postscript.H @@ -1,25 +1,8 @@ -// -// "$Id: Postscript.H,v 1.8 2005/06/17 18:24:34 hofmann Exp $" // -// X11 header file for the Fast Light Tool Kit (FLTK). -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef POSTSCRIPT_H #define POSTSCRIPT_H diff --git a/src/Postscript.cxx b/src/Postscript.cxx index ee7b112..3072ac6 100644 --- a/src/Postscript.cxx +++ b/src/Postscript.cxx @@ -1,25 +1,8 @@ -// -// "$Id: Postscript.cxx,v 1.18 2005/06/17 18:27:17 hofmann Exp $" // -// Postscript handling routines. -// -// Copyright 2004 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdlib.h> #include <string.h> @@ -32,9 +15,6 @@ #define PS_GLYPH_FORMAT "/%s glyphshow\n" #define PS_TAG_FORMAT "" -// -// PSEditWidget internal format as PostScript comments -// #define PSEDIT_BEGIN "% PSEditWidget Begin\n" #define PSEDIT_END "% PSEditWidget End\n" @@ -48,10 +28,6 @@ #define PSEDIT_GLYPH_FORMAT "%% PSEditWidget: GLYPH %s\n" #define PSEDIT_TAG_FORMAT "%% PSEditWidget: TAG %s\n" -// -// Marker to set page number. This is necessary for viewers like ghostview -// to display single pages properly. -// #define PSEDIT_PAGE_MARKER "/PSEditWidgetPageCount %d def %% PSEditWidget\n" static struct { @@ -248,9 +224,6 @@ int PSParser_2::parse(char *line) { } -// -// Postscript writer methods -// PSWriter::PSWriter(PSEditModel *p) { diff --git a/src/PostscriptDSC.H b/src/PostscriptDSC.H index 503cb28..20bc07e 100644 --- a/src/PostscriptDSC.H +++ b/src/PostscriptDSC.H @@ -1,21 +1,8 @@ -// -// Copyright 2006 by Johannes Hofmann // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #ifndef POSTSCRIPTDSC_H #define POSTSCRIPTDSC_H diff --git a/src/PostscriptDSC.cxx b/src/PostscriptDSC.cxx index b126a3d..241dade 100644 --- a/src/PostscriptDSC.cxx +++ b/src/PostscriptDSC.cxx @@ -1,23 +1,8 @@ -// -// Postscript Document Structure Convention handling routines. // -// Copyright 2006 by Johannes Hofmann -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdlib.h> #include <string.h> diff --git a/src/flpsed.cxx b/src/flpsed.cxx index 363aa3f..04f402e 100644 --- a/src/flpsed.cxx +++ b/src/flpsed.cxx @@ -1,25 +1,8 @@ -// -// "$Id: flpsed.cxx,v 1.40 2005/06/19 10:10:57 hofmann Exp $" // -// flpsed program. -// -// Copyright 2004 by Johannes Hofmann -// -// 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 library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> // +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdio.h> #include <string.h> @@ -1,25 +1,8 @@ -/* - * "$Id: util.c,v 1.1 2005/02/28 17:56:51 hofmann Exp $" - * - * flpsed program. - * - * Copyright 2005 by Johannes Hofmann - * - * 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 library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA. - */ +// +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> +// +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. #include <stdlib.h> #include <stdio.h> @@ -1,25 +1,9 @@ -/* - * "$Id: util.h,v 1.2 2005/03/17 18:46:20 hofmann Exp $" - * - * flpsed program. - * - * Copyright 2005 by Johannes Hofmann - * - * 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 library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA. - */ +// +// Copyright 2007 Johannes Hofmann <Johannes.Hofmann@gmx.de> +// +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. + #ifndef _UTIL_H_ #define _UTIL_H_ |