From ce72aaf0081dd2885c5a441509346c25200fe71c Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 10 Nov 2010 17:00:45 -0500 Subject: [PATCH] Fix up copyright and license notices for St * Make sure all source files have a LGPL copyright header, and standardize non-standard variations of the header to a common form. * Check and update all copyright notices. * Remove 'Written By:' lines. They are universally incomplete and typically indicate only who started a particular file. https://bugzilla.gnome.org/show_bug.cgi?id=634550 --- src/st/st-adjustment.c | 11 ++----- src/st/st-adjustment.h | 7 +--- src/st/st-bin.c | 9 ++---- src/st/st-bin.h | 7 +--- src/st/st-border-image.c | 18 +++++++++++ src/st/st-border-image.h | 19 +++++++++++ src/st/st-box-layout-child.c | 5 +-- src/st/st-box-layout-child.h | 5 +-- src/st/st-box-layout.c | 9 +++--- src/st/st-box-layout.h | 7 ++-- src/st/st-button.c | 8 ++--- src/st/st-button.h | 8 +---- src/st/st-clickable.c | 18 +++++++++++ src/st/st-clickable.h | 19 +++++++++++ src/st/st-clipboard.c | 6 +--- src/st/st-clipboard.h | 6 +--- src/st/st-container.c | 10 ++---- src/st/st-container.h | 5 +-- src/st/st-drawing-area.c | 18 +++++++++++ src/st/st-drawing-area.h | 19 +++++++++++ src/st/st-entry.c | 8 ++--- src/st/st-entry.h | 7 +--- src/st/st-focus-manager.c | 12 +++---- src/st/st-focus-manager.h | 11 +++---- src/st/st-group.c | 8 ++--- src/st/st-group.h | 7 ++-- src/st/st-im-text.c | 10 +++--- src/st/st-im-text.h | 10 +++--- src/st/st-label.c | 8 ++--- src/st/st-label.h | 7 +--- src/st/st-overflow-box.c | 12 +++---- src/st/st-overflow-box.h | 6 ++-- src/st/st-private.c | 20 ++++++++++++ src/st/st-private.h | 9 +++--- src/st/st-scroll-bar.c | 11 +++---- src/st/st-scroll-bar.h | 8 +---- src/st/st-scroll-view.c | 9 ++---- src/st/st-scroll-view.h | 10 ++---- src/st/st-scrollable.c | 8 ++--- src/st/st-scrollable.h | 8 +---- src/st/st-shadow.c | 19 +++++++++++ src/st/st-shadow.h | 19 +++++++++++ src/st/st-table-child.c | 8 ++--- src/st/st-table-child.h | 7 +--- src/st/st-table-private.h | 5 +-- src/st/st-table.c | 9 ++---- src/st/st-table.h | 7 +--- src/st/st-texture-cache.c | 19 +++++++++++ src/st/st-texture-cache.h | 20 ++++++++++++ src/st/st-theme-context.c | 19 +++++++++++ src/st/st-theme-context.h | 20 ++++++++++++ src/st/st-theme-node-drawing.c | 54 +++++++++++++++---------------- src/st/st-theme-node-private.h | 19 +++++++++++ src/st/st-theme-node-transition.c | 28 ++++++++-------- src/st/st-theme-node-transition.h | 19 +++++++++++ src/st/st-theme-node.c | 22 +++++++++++++ src/st/st-theme-node.h | 21 ++++++++++++ src/st/st-theme-private.h | 19 +++++++++++ src/st/st-theme.c | 42 +++++++++++------------- src/st/st-theme.h | 18 +++++++++++ src/st/st-tooltip.c | 8 ++--- src/st/st-tooltip.h | 8 +---- src/st/st-types.h | 4 +-- src/st/st-widget.c | 11 +++---- src/st/st-widget.h | 8 ++--- src/st/test-theme.c | 18 +++++++++++ 66 files changed, 548 insertions(+), 306 deletions(-) diff --git a/src/st/st-adjustment.c b/src/st/st-adjustment.c index 0a6817824..cb284c1a9 100644 --- a/src/st/st-adjustment.c +++ b/src/st/st-adjustment.c @@ -2,8 +2,8 @@ /* * st-adjustment.c: Adjustment object * - * Copyright (C) 2008 OpenedHand - * Copyright (c) 2009 Intel Corporation. + * Copyright 2008 OpenedHand + * Copyright 2009 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,12 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Chris Lord , inspired by GtkAdjustment - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-adjustment.h b/src/st/st-adjustment.h index b816191e5..3cfce640b 100644 --- a/src/st/st-adjustment.h +++ b/src/st/st-adjustment.h @@ -15,12 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Chris Lord , inspired by GtkAdjustment - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-bin.c b/src/st/st-bin.c index d6223956c..af6c2f7dd 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -2,7 +2,8 @@ /* * st-bin.c: Basic container actor * - * Copyright (c) 2009 Intel Corporation. + * Copyright 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,11 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Emmanuele Bassi - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-bin.h b/src/st/st-bin.h index 8e671a0ba..2c2e58898 100644 --- a/src/st/st-bin.h +++ b/src/st/st-bin.h @@ -14,12 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Emmanuele Bassi - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-border-image.c b/src/st/st-border-image.c index 1a67a9542..c55ee9b20 100644 --- a/src/st/st-border-image.c +++ b/src/st/st-border-image.c @@ -1,4 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-border-image.c: store information about an image with borders + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include diff --git a/src/st/st-border-image.h b/src/st/st-border-image.h index c1bb7e477..f0941602e 100644 --- a/src/st/st-border-image.h +++ b/src/st/st-border-image.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-border-image.h: store information about an image with borders + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_BORDER_IMAGE_H__ #define __ST_BORDER_IMAGE_H__ diff --git a/src/st/st-box-layout-child.c b/src/st/st-box-layout-child.c index cee0b785d..3d748d519 100644 --- a/src/st/st-box-layout-child.c +++ b/src/st/st-box-layout-child.c @@ -14,10 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood + * along with this program. If not, see . */ /** diff --git a/src/st/st-box-layout-child.h b/src/st/st-box-layout-child.h index aa8051a68..097da0e22 100644 --- a/src/st/st-box-layout-child.h +++ b/src/st/st-box-layout-child.h @@ -14,10 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood + * along with this program. If not, see . */ #ifndef _ST_BOX_LAYOUT_CHILD_H diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 98fe29100..3a912fa97 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -3,6 +3,9 @@ * st-box-layout.h: box layout actor * * Copyright 2009 Intel Corporation. + * Copyright 2009 Abderrahim Kitouni + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010 Florian Muellner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,11 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /* Portions copied from Clutter: diff --git a/src/st/st-box-layout.h b/src/st/st-box-layout.h index 74644c9f7..54372d53c 100644 --- a/src/st/st-box-layout.h +++ b/src/st/st-box-layout.h @@ -3,6 +3,7 @@ * st-box-layout.h: box layout actor * * Copyright 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,11 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-button.c b/src/st/st-button.c index 92624cdf0..dfee0265e 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -4,6 +4,7 @@ * * Copyright 2007 OpenedHand * Copyright 2008, 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,12 +16,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Emmanuele Bassi - * Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-button.h b/src/st/st-button.h index 1b853769d..15a6983dd 100644 --- a/src/st/st-button.h +++ b/src/st/st-button.h @@ -15,13 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Emmanuele Bassi - * Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-clickable.c b/src/st/st-clickable.c index ab4920795..5787aaf42 100644 --- a/src/st/st-clickable.c +++ b/src/st/st-clickable.c @@ -1,4 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-clickable.h: A bin with methods and properties useful for implementing buttons + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ /** * SECTION:st-clickable diff --git a/src/st/st-clickable.h b/src/st/st-clickable.h index 1c59447d7..2f1c3b0ee 100644 --- a/src/st/st-clickable.h +++ b/src/st/st-clickable.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-clickable.h: A bin with methods and properties useful for implementing buttons + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_CLICKABLE_H__ #define __ST_CLICKABLE_H__ diff --git a/src/st/st-clipboard.c b/src/st/st-clipboard.c index 833de4bbf..6d98c959d 100644 --- a/src/st/st-clipboard.c +++ b/src/st/st-clipboard.c @@ -14,11 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-clipboard.h b/src/st/st-clipboard.h index 7b687d589..20759d43d 100644 --- a/src/st/st-clipboard.h +++ b/src/st/st-clipboard.h @@ -14,11 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-container.c b/src/st/st-container.c index 2c828496f..4d140a16a 100644 --- a/src/st/st-container.c +++ b/src/st/st-container.c @@ -4,6 +4,8 @@ * * Copyright 2007 OpenedHand * Copyright 2008, 2009 Intel Corporation. + * Copyright 2010 Florian Müllner + * Copyright 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,13 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Emmanuele Bassi - * Thomas Wood - * + * along with this program. If not, see . */ #ifdef HAVE_CONFIG_H diff --git a/src/st/st-container.h b/src/st/st-container.h index a19a742b7..f5f04aa09 100644 --- a/src/st/st-container.h +++ b/src/st/st-container.h @@ -15,10 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-drawing-area.c b/src/st/st-drawing-area.c index a10da15db..2235842d8 100644 --- a/src/st/st-drawing-area.c +++ b/src/st/st-drawing-area.c @@ -1,4 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-drawing-area.c: A dynamically-sized Cairo drawing area + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ /** * SECTION:st-drawing-area diff --git a/src/st/st-drawing-area.h b/src/st/st-drawing-area.h index 429e749b0..fddd7dfa5 100644 --- a/src/st/st-drawing-area.h +++ b/src/st/st-drawing-area.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-drawing-area.h: A dynamically-sized Cairo drawing area + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_DRAWING_AREA_H__ #define __ST_DRAWING_AREA_H__ diff --git a/src/st/st-entry.c b/src/st/st-entry.c index b82da8afe..fe0fe34bb 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -3,6 +3,8 @@ * st-entry.c: Plain entry actor * * Copyright 2008, 2009 Intel Corporation + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,11 +16,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-entry.h b/src/st/st-entry.h index bf14dcd6b..581ad4d5e 100644 --- a/src/st/st-entry.h +++ b/src/st/st-entry.h @@ -14,12 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-focus-manager.c b/src/st/st-focus-manager.c index 50cb0bdaa..542fc5ab3 100644 --- a/src/st/st-focus-manager.c +++ b/src/st/st-focus-manager.c @@ -2,11 +2,12 @@ /* * st-focus-manager.c: Keyboard focus manager * - * Copyright (c) 2010 Red Hat, Inc. + * Copyright 2010 Red Hat, Inc. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU Lesser General Public License, - * version 2.1, as published by the Free Software Foundation. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. * * This program is distributed in the hope it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -14,8 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see . */ /** diff --git a/src/st/st-focus-manager.h b/src/st/st-focus-manager.h index 365cf970f..9d4dc30d9 100644 --- a/src/st/st-focus-manager.h +++ b/src/st/st-focus-manager.h @@ -4,9 +4,10 @@ * * Copyright 2010 Red Hat, Inc. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU Lesser General Public License, - * version 2.1, as published by the Free Software Foundation. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. * * This program is distributed in the hope it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -14,9 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-group.c b/src/st/st-group.c index 0942be13c..b981de056 100644 --- a/src/st/st-group.c +++ b/src/st/st-group.c @@ -1,6 +1,8 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * st-group.h: A fixed layout container based on ClutterGroup + * st-group.c: A fixed layout container based on ClutterGroup + * + * Copyright 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -12,9 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-group.h b/src/st/st-group.h index bf7e34b6f..af2428758 100644 --- a/src/st/st-group.h +++ b/src/st/st-group.h @@ -2,6 +2,8 @@ /* * st-group.h: A fixed layout container based on ClutterGroup * + * Copyright 2010 Florian Müllner + * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. @@ -12,10 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-im-text.c b/src/st/st-im-text.c index 23657ae87..5f00abfca 100644 --- a/src/st/st-im-text.c +++ b/src/st/st-im-text.c @@ -1,6 +1,8 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * st-im-text.c + * st-im-text.c: Text widget with input method support + * + * Copyright 2009 Red Hat, Inc. * * This started as a copy of ClutterIMText converted to use * GtkIMContext rather than ClutterIMContext. Original code: @@ -18,10 +20,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . */ /** diff --git a/src/st/st-im-text.h b/src/st/st-im-text.h index e897b1041..d6f10f412 100644 --- a/src/st/st-im-text.h +++ b/src/st/st-im-text.h @@ -1,6 +1,8 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * st-imtext.h + * st-im-text.h: Text widget with input method support + * + * Copyright 2009 Red Hat, Inc. * * This is a copy of ClutterIMText converted to use GtkIMContext rather * than ClutterIMContext. Original code: @@ -18,10 +20,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-label.c b/src/st/st-label.c index cf7ae5a7f..38a7d715e 100644 --- a/src/st/st-label.c +++ b/src/st/st-label.c @@ -3,6 +3,8 @@ * st-label.c: Plain label actor * * Copyright 2008,2009 Intel Corporation + * Copyright 2009 Red Hat, Inc. + * Copyright 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,11 +16,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-label.h b/src/st/st-label.h index 934a49420..abe32d9d8 100644 --- a/src/st/st-label.h +++ b/src/st/st-label.h @@ -14,12 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-overflow-box.c b/src/st/st-overflow-box.c index 23e11534a..9996b2a18 100644 --- a/src/st/st-overflow-box.c +++ b/src/st/st-overflow-box.c @@ -1,9 +1,9 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * Portions derived from st-box-layout.c, which is - * Copyright 2009 Intel Corporation. - * Modified into -overflow-box, by Colin Walters , which is - * Copyright 2009 Red Hat, Inc. + * st-overflow-box.c: A vertical box which paints as many actors as it can fit + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,9 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-overflow-box.h b/src/st/st-overflow-box.h index 47632ade0..5bba7fb4f 100644 --- a/src/st/st-overflow-box.h +++ b/src/st/st-overflow-box.h @@ -1,6 +1,6 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * st-overflow-box.h: box which hides actors that don't fit + * st-overflow-box.h: A vertical box which paints as many actors as it can fit * * Copyright 2009 Red Hat, Inc. * @@ -14,9 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-private.c b/src/st/st-private.c index f1f3aab86..f4707691e 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -1,4 +1,24 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-private.h: Private declarations and functions + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010 Florian Müllner + * Copyright 2010 Intel Corporation + * Copyright 2010 Giovanni Campagna + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include diff --git a/src/st/st-private.h b/src/st/st-private.h index 0d0e6422a..f958842d3 100644 --- a/src/st/st-private.h +++ b/src/st/st-private.h @@ -1,9 +1,11 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* - * st-private.h: Private declarations + * st-private.h: Private declarations and functions * * Copyright 2007 OpenedHand * Copyright 2009 Intel Corporation. + * Copyright 2010 Red Hat, Inc. + * Copyright 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,10 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * + * along with this program. If not, see . */ #ifndef __ST_PRIVATE_H__ diff --git a/src/st/st-scroll-bar.c b/src/st/st-scroll-bar.c index f6b798ee8..61acdf06e 100644 --- a/src/st/st-scroll-bar.c +++ b/src/st/st-scroll-bar.c @@ -3,7 +3,9 @@ * st-scroll-bar.c: Scroll bar actor * * Copyright 2008 OpenedHand - * Copyright 2009 Intel Corporation. + * Copyright 2008, 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010 Maxim Ermilov * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,12 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-scroll-bar.h b/src/st/st-scroll-bar.h index 2505dd347..371e2a58f 100644 --- a/src/st/st-scroll-bar.h +++ b/src/st/st-scroll-bar.h @@ -15,13 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c index 1e30314ff..14df6005b 100644 --- a/src/st/st-scroll-view.c +++ b/src/st/st-scroll-view.c @@ -4,6 +4,8 @@ * * Copyright 2008 OpenedHand * Copyright 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010 Maxim Ermilov * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,12 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-scroll-view.h b/src/st/st-scroll-view.h index bcd4bbb5a..ddb1ebb7d 100644 --- a/src/st/st-scroll-view.h +++ b/src/st/st-scroll-view.h @@ -4,6 +4,8 @@ * * Copyright 2008 OpenedHand * Copyright 2009 Intel Corporation. + * Copyright 2010 Red Hat, Inc. + * Copyright 2010 Maxim Ermilov * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,13 +17,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-scrollable.c b/src/st/st-scrollable.c index f10f9a5b2..b2c5451b8 100644 --- a/src/st/st-scrollable.c +++ b/src/st/st-scrollable.c @@ -4,6 +4,7 @@ * * Copyright 2008 OpenedHand * Copyright 2009 Intel Corporation. + * Copyright 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,12 +16,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ #include "st-scrollable.h" diff --git a/src/st/st-scrollable.h b/src/st/st-scrollable.h index 22884eb15..5c8d32ef3 100644 --- a/src/st/st-scrollable.h +++ b/src/st/st-scrollable.h @@ -15,13 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Chris Lord - * Port to St by: Robert Staudinger - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-shadow.c b/src/st/st-shadow.c index 29bcd08c1..78cf3dea4 100644 --- a/src/st/st-shadow.c +++ b/src/st/st-shadow.c @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-shadow.c: Boxed type holding for -st-shadow attributes + * + * Copyright 2009, 2010 Florian Müllner + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #include "config.h" #include "st-shadow.h" diff --git a/src/st/st-shadow.h b/src/st/st-shadow.h index f5fe82332..1a057c307 100644 --- a/src/st/st-shadow.h +++ b/src/st/st-shadow.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-shadow.h: Boxed type holding for -st-shadow attributes + * + * Copyright 2009, 2010 Florian Müllner + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_SHADOW__ #define __ST_SHADOW__ diff --git a/src/st/st-table-child.c b/src/st/st-table-child.c index 7d8feaf53..90c7186fa 100644 --- a/src/st/st-table-child.c +++ b/src/st/st-table-child.c @@ -3,6 +3,7 @@ * st-table-child.h: Table child implementation * * Copyright 2008, 2009 Intel Corporation. + * Copyright 2010 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,12 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #include "st-private.h" diff --git a/src/st/st-table-child.h b/src/st/st-table-child.h index 14df7ecd5..080522f94 100644 --- a/src/st/st-table-child.h +++ b/src/st/st-table-child.h @@ -14,12 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-table-private.h b/src/st/st-table-private.h index 6115cdf60..6c270e2c0 100644 --- a/src/st/st-table-private.h +++ b/src/st/st-table-private.h @@ -15,10 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * + * along with this program. If not, see . */ #ifndef __ST_TABLE_PRIVATE_H__ diff --git a/src/st/st-table.c b/src/st/st-table.c index f92c810cb..26fb42ed0 100644 --- a/src/st/st-table.c +++ b/src/st/st-table.c @@ -3,6 +3,8 @@ * st-table.c: Table layout widget * * Copyright 2008, 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Abderrahim Kitouni * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,12 +16,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-table.h b/src/st/st-table.h index bce6084d5..f6b8d7181 100644 --- a/src/st/st-table.h +++ b/src/st/st-table.h @@ -14,12 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index 0d8aac2fb..b4aa8a7da 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-texture-cache.h: Object for loading and caching images as textures + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010, Maxim Ermilov + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include "config.h" diff --git a/src/st/st-texture-cache.h b/src/st/st-texture-cache.h index df4ef4352..ec61c90e1 100644 --- a/src/st/st-texture-cache.h +++ b/src/st/st-texture-cache.h @@ -1,4 +1,24 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-texture-cache.h: Object for loading and caching images as textures + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2010, Maxim Ermilov + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_TEXTURE_CACHE_H__ #define __ST_TEXTURE_CACHE_H__ diff --git a/src/st/st-theme-context.c b/src/st/st-theme-context.c index a3e25ca83..378db306e 100644 --- a/src/st/st-theme-context.c +++ b/src/st/st-theme-context.c @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-context.c: holds global information about a tree of styled objects + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Florian Müllner + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include diff --git a/src/st/st-theme-context.h b/src/st/st-theme-context.h index b55f31c49..6e6ee3cb2 100644 --- a/src/st/st-theme-context.h +++ b/src/st/st-theme-context.h @@ -1,4 +1,24 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-context.c: holds global information about a tree of styled objects + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Florian Müllner + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_THEME_CONTEXT_H__ #define __ST_THEME_CONTEXT_H__ diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index 8bc191555..173dbf553 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -1,32 +1,30 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ -/* Drawing for StWidget. - - Copyright (C) 2009,2010 Red Hat, Inc. - - Contains code derived from: - rectangle.c: Rounded rectangle. - Copyright (C) 2008 litl, LLC. - st-shadow-texture.c: a class for creating soft shadow texture - Copyright (C) 2009 Florian Müllner - st-texture-frame.h: Expandible texture actor - Copyright 2007 OpenedHand - Copyright 2009 Intel Corporation. - - The St 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. - - The St 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 the St; see the file COPYING.LIB. - If not, write to the Free Software Foundation, Inc., 59 Temple Place - - Suite 330, Boston, MA 02111-1307, USA. -*/ +/* + * st-theme-node-drawing.c: Code to draw themed elements + * + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009, 2010 Florian Müllner + * Copyright 2010 Intel Corporation. + * + * Contains code derived from: + * rectangle.c: Rounded rectangle. + * Copyright 2008 litl, LLC. + * st-texture-frame.h: Expandible texture actor + * Copyright 2007 OpenedHand + * Copyright 2009 Intel Corporation. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include diff --git a/src/st/st-theme-node-private.h b/src/st/st-theme-node-private.h index a13df17c6..1ced764f1 100644 --- a/src/st/st-theme-node-private.h +++ b/src/st/st-theme-node-private.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-node-private.h: private structures and functions for StThemeNode + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_THEME_NODE_PRIVATE_H__ #define __ST_THEME_NODE_PRIVATE_H__ diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c index 319cea7c3..ea1ba1c9e 100644 --- a/src/st/st-theme-node-transition.c +++ b/src/st/st-theme-node-transition.c @@ -1,22 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ -/* Theme node transitions for StWidget. +/* + * st-theme-node-transition.c: Theme node transitions for StWidget. * - * Copyright (C) 2010 Florian Müllner + * Copyright 2010 Florian Müllner + * Copyright 2010 Adel Gadllah * - * The St 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 program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. * - * The St 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. + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. * - * You should have received a copy of the GNU Library General Public - * License along with the St; see the file COPYING.LIB. - * If not, write to the Free Software Foundation, Inc., 59 Temple Place - - * Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . */ #include "st-theme-node-transition.h" diff --git a/src/st/st-theme-node-transition.h b/src/st/st-theme-node-transition.h index 2f237b189..3bcef9beb 100644 --- a/src/st/st-theme-node-transition.h +++ b/src/st/st-theme-node-transition.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-node-transition.h: Theme node transitions for StWidget. + * + * Copyright 2010 Florian Müllner + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_THEME_NODE_TRANSITION_H__ #define __ST_THEME_NODE_TRANSITION_H__ diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c index 1a23399be..d325be0c2 100644 --- a/src/st/st-theme-node.c +++ b/src/st/st-theme-node.c @@ -1,4 +1,26 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-node.c: style information for one node in a tree of themed objects + * + * Copyright 2008-2010 Red Hat, Inc. + * Copyright 2009 Steve Frécinaux + * Copyright 2009, 2010 Florian Müllner + * Copyright 2010 Adel Gadllah + * Copyright 2010 Giovanni Campagna + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include diff --git a/src/st/st-theme-node.h b/src/st/st-theme-node.h index ec567c305..aeb80d9af 100644 --- a/src/st/st-theme-node.h +++ b/src/st/st-theme-node.h @@ -1,4 +1,25 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-node.h: style information for one node in a tree of themed objects + * + * Copyright 2008-2010 Red Hat, Inc. + * Copyright 2009, 2010 Florian Müllner + * Copyright 2010 Giovanni Campagna + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_THEME_NODE_H__ #define __ST_THEME_NODE_H__ diff --git a/src/st/st-theme-private.h b/src/st/st-theme-private.h index 92e87e833..ecd2639be 100644 --- a/src/st/st-theme-private.h +++ b/src/st/st-theme-private.h @@ -1,4 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme-private.h: Private StThemeMethods + * + * Copyright 2008, 2009 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #ifndef __ST_THEME_PRIVATE_H__ #define __ST_THEME_PRIVATE_H__ diff --git a/src/st/st-theme.c b/src/st/st-theme.c index 6e2fd2c74..bce53b429 100644 --- a/src/st/st-theme.c +++ b/src/st/st-theme.c @@ -1,6 +1,23 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ - -/* This file started as a cut-and-paste of cr-sel-eng.c from libcroco. +/* + * st-theme.c: A set of CSS stylesheets used for rule matching + * + * Copyright 2003-2004 Dodji Seketeli + * Copyright 2008, 2009 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * This file started as a cut-and-paste of cr-sel-eng.c from libcroco. * * In moving it to hippo-canvas: * - Reformatted and otherwise edited to match our coding style @@ -19,27 +36,6 @@ * - Some code simplification */ -/* - * This file is part of The Croco Library - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of version 2.1 of the GNU Lesser General Public - * License as published by the Free Software Foundation. - * - * 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 Lesser - * General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - * - * Copyright (C) 2003-2004 Dodji Seketeli. All Rights Reserved. - */ - #include #include diff --git a/src/st/st-theme.h b/src/st/st-theme.h index 1a55b29fb..003c2a7c1 100644 --- a/src/st/st-theme.h +++ b/src/st/st-theme.h @@ -1,4 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * st-theme.h: A set of CSS stylesheets used for rule matching + * + * Copyright 2008, 2009 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #ifndef __ST_THEME_H__ #define __ST_THEME_H__ diff --git a/src/st/st-tooltip.c b/src/st/st-tooltip.c index c458fb561..52419f680 100644 --- a/src/st/st-tooltip.c +++ b/src/st/st-tooltip.c @@ -3,6 +3,7 @@ * st-tooltip.c: Plain tooltip actor * * Copyright 2008, 2009 Intel Corporation + * Copyright 2009 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -14,12 +15,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-tooltip.h b/src/st/st-tooltip.h index ab7b943b8..087518180 100644 --- a/src/st/st-tooltip.h +++ b/src/st/st-tooltip.h @@ -14,13 +14,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * - * Written by: Thomas Wood - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/st-types.h b/src/st/st-types.h index a103e1c3b..b1706dbef 100644 --- a/src/st/st-types.h +++ b/src/st/st-types.h @@ -12,9 +12,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * + * along with this program. If not, see . */ /** diff --git a/src/st/st-widget.c b/src/st/st-widget.c index 32a5d2388..a03af9af1 100644 --- a/src/st/st-widget.c +++ b/src/st/st-widget.c @@ -4,6 +4,9 @@ * * Copyright 2007 OpenedHand * Copyright 2008, 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Abderrahim Kitouni + * Copyright 2009, 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,13 +18,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * - * Written by: Emmanuele Bassi - * Thomas Wood - * + * along with this program. If not, see . */ #ifdef HAVE_CONFIG_H diff --git a/src/st/st-widget.h b/src/st/st-widget.h index 3f0e87902..ba474208f 100644 --- a/src/st/st-widget.h +++ b/src/st/st-widget.h @@ -4,6 +4,9 @@ * * Copyright 2007 OpenedHand * Copyright 2008, 2009 Intel Corporation. + * Copyright 2009, 2010 Red Hat, Inc. + * Copyright 2009 Abderrahim Kitouni + * Copyright 2010 Florian Müllner * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, @@ -15,10 +18,7 @@ * more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. - * Boston, MA 02111-1307, USA. - * + * along with this program. If not, see . */ #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) diff --git a/src/st/test-theme.c b/src/st/test-theme.c index 425fc5773..43e14452d 100644 --- a/src/st/test-theme.c +++ b/src/st/test-theme.c @@ -1,4 +1,22 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* + * test-theme.c: test program for CSS styling code + * + * Copyright 2009, 2010 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ #include #include "st-theme.h"