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
This commit is contained in:
Owen W. Taylor 2010-11-10 17:00:45 -05:00
parent d79cae07a4
commit ce72aaf008
66 changed files with 548 additions and 306 deletions

View File

@ -2,8 +2,8 @@
/* /*
* st-adjustment.c: Adjustment object * st-adjustment.c: Adjustment object
* *
* Copyright (C) 2008 OpenedHand * Copyright 2008 OpenedHand
* Copyright (c) 2009 Intel Corporation. * Copyright 2009 Intel Corporation.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,12 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Chris Lord <chris@openedhand.com>, inspired by GtkAdjustment
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
/** /**

View File

@ -15,12 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Chris Lord <chris@openedhand.com>, inspired by GtkAdjustment
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -2,7 +2,8 @@
/* /*
* st-bin.c: Basic container actor * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,11 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Emmanuele Bassi <ebassi@linux.intel.com>
*
*/ */
/** /**

View File

@ -14,12 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Emmanuele Bassi <ebassi@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include <config.h> #include <config.h>

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_BORDER_IMAGE_H__ #ifndef __ST_BORDER_IMAGE_H__
#define __ST_BORDER_IMAGE_H__ #define __ST_BORDER_IMAGE_H__

View File

@ -14,10 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*/ */
/** /**

View File

@ -14,10 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*/ */
#ifndef _ST_BOX_LAYOUT_CHILD_H #ifndef _ST_BOX_LAYOUT_CHILD_H

View File

@ -3,6 +3,9 @@
* st-box-layout.h: box layout actor * st-box-layout.h: box layout actor
* *
* Copyright 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,11 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
/* Portions copied from Clutter: /* Portions copied from Clutter:

View File

@ -3,6 +3,7 @@
* st-box-layout.h: box layout actor * st-box-layout.h: box layout actor
* *
* Copyright 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,11 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -4,6 +4,7 @@
* *
* Copyright 2007 OpenedHand * Copyright 2007 OpenedHand
* Copyright 2008, 2009 Intel Corporation. * Copyright 2008, 2009 Intel Corporation.
* Copyright 2009, 2010 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,12 +16,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Emmanuele Bassi <ebassi@openedhand.com>
* Thomas Wood <thomas@linux.intel.com>
*
*/ */
/** /**

View File

@ -15,13 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Emmanuele Bassi <ebassi@openedhand.com>
* Thomas Wood <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
/** /**
* SECTION:st-clickable * SECTION:st-clickable

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_CLICKABLE_H__ #ifndef __ST_CLICKABLE_H__
#define __ST_CLICKABLE_H__ #define __ST_CLICKABLE_H__

View File

@ -14,11 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
/** /**

View File

@ -14,11 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -4,6 +4,8 @@
* *
* Copyright 2007 OpenedHand * Copyright 2007 OpenedHand
* Copyright 2008, 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,13 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Emmanuele Bassi <ebassi@openedhand.com>
* Thomas Wood <thomas@linux.intel.com>
*
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H

View File

@ -15,10 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
/** /**
* SECTION:st-drawing-area * SECTION:st-drawing-area

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_DRAWING_AREA_H__ #ifndef __ST_DRAWING_AREA_H__
#define __ST_DRAWING_AREA_H__ #define __ST_DRAWING_AREA_H__

View File

@ -3,6 +3,8 @@
* st-entry.c: Plain entry actor * st-entry.c: Plain entry actor
* *
* Copyright 2008, 2009 Intel Corporation * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,11 +16,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
/** /**

View File

@ -14,12 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -2,11 +2,12 @@
/* /*
* st-focus-manager.c: Keyboard focus manager * 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 * This program is free software; you can redistribute it and/or modify
* under the terms and conditions of the GNU Lesser General Public License, * it under the terms of the GNU Lesser General Public License as
* version 2.1, as published by the Free Software Foundation. * 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 * This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
@ -14,8 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
/** /**

View File

@ -4,9 +4,10 @@
* *
* Copyright 2010 Red Hat, Inc. * Copyright 2010 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify
* under the terms and conditions of the GNU Lesser General Public License, * it under the terms of the GNU Lesser General Public License as
* version 2.1, as published by the Free Software Foundation. * 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 * This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
@ -14,9 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,6 +1,8 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -12,9 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/ */
/** /**

View File

@ -2,6 +2,8 @@
/* /*
* st-group.h: A fixed layout container based on ClutterGroup * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation. * version 2.1, as published by the Free Software Foundation.
@ -12,10 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,6 +1,8 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 * This started as a copy of ClutterIMText converted to use
* GtkIMContext rather than ClutterIMContext. Original code: * GtkIMContext rather than ClutterIMContext. Original code:
@ -18,10 +20,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public License
* License along with this library; if not, write to the Free Software * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/ */
/** /**

View File

@ -1,6 +1,8 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 * This is a copy of ClutterIMText converted to use GtkIMContext rather
* than ClutterIMContext. Original code: * than ClutterIMContext. Original code:
@ -18,10 +20,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public License
* License along with this library; if not, write to the Free Software * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -3,6 +3,8 @@
* st-label.c: Plain label actor * st-label.c: Plain label actor
* *
* Copyright 2008,2009 Intel Corporation * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,11 +16,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
/** /**

View File

@ -14,12 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,9 +1,9 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* /*
* Portions derived from st-box-layout.c, which is * 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. * Copyright 2009 Intel Corporation.
* Modified into -overflow-box, by Colin Walters <walters@verbum.org>, which is
* Copyright 2009 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,9 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/ */
/** /**

View File

@ -1,6 +1,6 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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. * Copyright 2009 Red Hat, Inc.
* *
@ -14,9 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,24 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>

View File

@ -1,9 +1,11 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 2007 OpenedHand
* Copyright 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,10 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
*/ */
#ifndef __ST_PRIVATE_H__ #ifndef __ST_PRIVATE_H__

View File

@ -3,7 +3,9 @@
* st-scroll-bar.c: Scroll bar actor * st-scroll-bar.c: Scroll bar actor
* *
* Copyright 2008 OpenedHand * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,12 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
/** /**

View File

@ -15,13 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -4,6 +4,8 @@
* *
* Copyright 2008 OpenedHand * Copyright 2008 OpenedHand
* Copyright 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,12 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
/** /**

View File

@ -4,6 +4,8 @@
* *
* Copyright 2008 OpenedHand * Copyright 2008 OpenedHand
* Copyright 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,13 +17,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -4,6 +4,7 @@
* *
* Copyright 2008 OpenedHand * Copyright 2008 OpenedHand
* Copyright 2009 Intel Corporation. * Copyright 2009 Intel Corporation.
* Copyright 2010 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,12 +16,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
#include "st-scrollable.h" #include "st-scrollable.h"

View File

@ -15,13 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Chris Lord <chris@openedhand.com>
* Port to St by: Robert Staudinger <robsta@openedhand.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include "config.h" #include "config.h"
#include "st-shadow.h" #include "st-shadow.h"

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_SHADOW__ #ifndef __ST_SHADOW__
#define __ST_SHADOW__ #define __ST_SHADOW__

View File

@ -3,6 +3,7 @@
* st-table-child.h: Table child implementation * st-table-child.h: Table child implementation
* *
* Copyright 2008, 2009 Intel Corporation. * Copyright 2008, 2009 Intel Corporation.
* Copyright 2010 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,12 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas.wood@intel.com>
*
*/ */
#include "st-private.h" #include "st-private.h"

View File

@ -14,12 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -15,10 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
*/ */
#ifndef __ST_TABLE_PRIVATE_H__ #ifndef __ST_TABLE_PRIVATE_H__

View File

@ -3,6 +3,8 @@
* st-table.c: Table layout widget * st-table.c: Table layout widget
* *
* Copyright 2008, 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,12 +16,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
/** /**

View File

@ -14,12 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include "config.h" #include "config.h"

View File

@ -1,4 +1,24 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_TEXTURE_CACHE_H__ #ifndef __ST_TEXTURE_CACHE_H__
#define __ST_TEXTURE_CACHE_H__ #define __ST_TEXTURE_CACHE_H__

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include <config.h> #include <config.h>

View File

@ -1,4 +1,24 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_CONTEXT_H__ #ifndef __ST_THEME_CONTEXT_H__
#define __ST_THEME_CONTEXT_H__ #define __ST_THEME_CONTEXT_H__

View File

@ -1,31 +1,29 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Drawing for StWidget. /*
* st-theme-node-drawing.c: Code to draw themed elements
Copyright (C) 2009,2010 Red Hat, Inc. *
* Copyright 2009, 2010 Red Hat, Inc.
Contains code derived from: * Copyright 2009, 2010 Florian Müllner
rectangle.c: Rounded rectangle. * Copyright 2010 Intel Corporation.
Copyright (C) 2008 litl, LLC. *
st-shadow-texture.c: a class for creating soft shadow texture * Contains code derived from:
Copyright (C) 2009 Florian Müllner <fmuellner@src.gnome.org> * rectangle.c: Rounded rectangle.
st-texture-frame.h: Expandible texture actor * Copyright 2008 litl, LLC.
Copyright 2007 OpenedHand * st-texture-frame.h: Expandible texture actor
Copyright 2009 Intel Corporation. * 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 * This program is free software; you can redistribute it and/or modify it
published by the Free Software Foundation; either version 2 of the * under the terms and conditions of the GNU Lesser General Public License,
License, or (at your option) any later version. * version 2.1, as published by the Free Software Foundation.
*
The St is distributed in the hope that it will be useful, * This program is distributed in the hope it will be useful, but WITHOUT ANY
but WITHOUT ANY WARRANTY; without even the implied warranty of * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
Library General Public License for more details. * more details.
*
You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License
License along with the St; see the file COPYING.LIB. * along with this program. If not, see <http://www.gnu.org/licenses/>.
If not, write to the Free Software Foundation, Inc., 59 Temple Place -
Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_NODE_PRIVATE_H__ #ifndef __ST_THEME_NODE_PRIVATE_H__
#define __ST_THEME_NODE_PRIVATE_H__ #define __ST_THEME_NODE_PRIVATE_H__

View File

@ -1,22 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <fmuellner@gnome.org> * Copyright 2010 Florian Müllner
* Copyright 2010 Adel Gadllah
* *
* The St is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or modify
* modify it under the terms of the GNU Library General Public License as * it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of the * published by the Free Software Foundation, either version 2.1 of
* License, or (at your option) any later version. * the License, or (at your option) any later version.
* *
* The St is distributed in the hope that it will be useful, * This program is distributed in the hope it will be useful, but WITHOUT ANY
* but WITHOUT ANY WARRANTY; without even the implied warranty of * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* Library General Public License for more details. * more details.
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License
* License along with the St; see the file COPYING.LIB. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* If not, write to the Free Software Foundation, Inc., 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "st-theme-node-transition.h" #include "st-theme-node-transition.h"

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_NODE_TRANSITION_H__ #ifndef __ST_THEME_NODE_TRANSITION_H__
#define __ST_THEME_NODE_TRANSITION_H__ #define __ST_THEME_NODE_TRANSITION_H__

View File

@ -1,4 +1,26 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -1,4 +1,25 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_NODE_H__ #ifndef __ST_THEME_NODE_H__
#define __ST_THEME_NODE_H__ #define __ST_THEME_NODE_H__

View File

@ -1,4 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_PRIVATE_H__ #ifndef __ST_THEME_PRIVATE_H__
#define __ST_THEME_PRIVATE_H__ #define __ST_THEME_PRIVATE_H__

View File

@ -1,6 +1,23 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*
* This file started as a cut-and-paste of cr-sel-eng.c from libcroco.
* *
* In moving it to hippo-canvas: * In moving it to hippo-canvas:
* - Reformatted and otherwise edited to match our coding style * - Reformatted and otherwise edited to match our coding style
@ -19,27 +36,6 @@
* - Some code simplification * - 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 <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -1,4 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#ifndef __ST_THEME_H__ #ifndef __ST_THEME_H__
#define __ST_THEME_H__ #define __ST_THEME_H__

View File

@ -3,6 +3,7 @@
* st-tooltip.c: Plain tooltip actor * st-tooltip.c: Plain tooltip actor
* *
* Copyright 2008, 2009 Intel Corporation * Copyright 2008, 2009 Intel Corporation
* Copyright 2009 Red Hat, Inc.
* *
* This program is free software; you can redistribute it and/or modify it * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -14,12 +15,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Thomas Wood <thomas@linux.intel.com>
*
*/ */
/** /**

View File

@ -14,13 +14,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* 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 <thomas@linux.intel.com>
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -12,9 +12,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*
*/ */
/** /**

View File

@ -4,6 +4,9 @@
* *
* Copyright 2007 OpenedHand * Copyright 2007 OpenedHand
* Copyright 2008, 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,13 +18,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
* Written by: Emmanuele Bassi <ebassi@openedhand.com>
* Thomas Wood <thomas@linux.intel.com>
*
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H

View File

@ -4,6 +4,9 @@
* *
* Copyright 2007 OpenedHand * Copyright 2007 OpenedHand
* Copyright 2008, 2009 Intel Corporation. * 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 * 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, * under the terms and conditions of the GNU Lesser General Public License,
@ -15,10 +18,7 @@
* more details. * more details.
* *
* You should have received a copy of the GNU Lesser General Public License * 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, * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
* Boston, MA 02111-1307, USA.
*
*/ */
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION) #if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)

View File

@ -1,4 +1,22 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* -*- 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 <http://www.gnu.org/licenses/>.
*/
#include <clutter/clutter.h> #include <clutter/clutter.h>
#include "st-theme.h" #include "st-theme.h"