~timo-jyrinki/ubuntu/quantal/compiz/ubuntu.0984bzr3407

« back to all changes in this revision

Viewing changes to compizconfig/libcompizconfig/src/ccs_text_file_interface.h

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2012-09-27 14:05:41 UTC
  • mfrom: (3248.2.11)
  • Revision ID: lukasz.zemczak@canonical.com-20120927140541-c1f3gk2no4x2iczw
* New upstream release.
  - FTBFS with -DCOMPIZ_BUILD_TESTING=OFF if libgtest-dev is not installed 
    (LP: #1057421)
  - [performance] glXSwapIntervalEXT called every frame, which is very slow 
    on Nvidia. (LP: #1051286)
  - opacify plugin: opacity isn't reset after switching window (LP: #1050757)
  - cmake fails on python 2.6 as sys.version_info does not contain 
    major_version or minor_version (LP: #1048964)
  - scale mode is not visible if a fullscreen window is unredirected 
    (LP: #1047168)
  - Unredirected fullscreen windows flicker briefly when another window 
    (like a menu) opens above them (LP: #1046664)
  - Week33 - Grid highlight window appears while switching between workspaces
    (LP: #1037142)
  - gtk-window-decorator leaks large numbers of pixmaps and pixmap memory 
    (LP: #1057263)
  - [fglrx] compiz crashed with SIGSEGV in glXDestroyContext() 
    [/usr/lib/fglrx/libGL.so.1] from GLScreen::~GLScreen() (LP: #1054724)
  - Maximized window gets unredirected when it's not fullscreen 
    (LP: #1053902)
  - Double shortcuts conflict with gnome-control-center ones (LP: #1050796)
  - gtk-window-decorator leaking window handles. Window operations become 
    sluggish after a few days of usage (LP: #1050610)
  - [valgrind] Up to 520,000 bytes lost when running 
    CCSGSettingsBackendConceptTest (LP: #1049169)
  - 1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to 
    wrong values (LP: #1042041)
  - Compiz r3275 breaks VirtualBox Guest Additions: black screen or just 
    wallpaper (LP: #1030891)
  - Incorrect (low/stuttering) refresh rate with NVIDIA driver (LP: #92599)
  - ARM build broken with 'swapInterval' is not a member of 'GL' 
    (LP: #1056645)
  - compiz.fix_927168 broke ARM building (LP: #1052838)
  - compiz crashed with SIGSEGV in __strcasestr_ia32() from 
    ccsStringToModifiers(binding=NULL) (LP: #1041535)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Compiz configuration system library
 
3
 *
 
4
 * ccs_text_file_interface.h
 
5
 *
 
6
 * Copyright (C) 2012 Canonical Ltd.
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2.1 of the License, or (at your option) any later version.
 
12
 
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Lesser General Public License for more details.
 
17
 
 
18
 * You should have received a copy of the GNU Lesser General Public
 
19
 * License along with this library; if not, write to the Free Software
 
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
21
 *
 
22
 * Authored By:
 
23
 * Sam Spilsbury <sam.spilsbury@canonical.com>
 
24
 */
 
25
#ifndef CCS_TEXT_FILE_INTERFACE_H
 
26
#define CCS_TEXT_FILE_INTERFACE_H
 
27
 
 
28
#include <ccs-defs.h>
 
29
#include <ccs-object.h>
 
30
 
 
31
COMPIZCONFIG_BEGIN_DECLS
 
32
 
 
33
typedef struct _CCSTextFile CCSTextFile;
 
34
typedef struct _CCSTextFileInterface CCSTextFileInterface;
 
35
 
 
36
typedef char * (*CCSReadTextFileFromStart) (CCSTextFile *file);
 
37
typedef Bool   (*CCSAppendStringToTextFile) (CCSTextFile *file, const char *str);
 
38
typedef void   (*CCSFreeTextFile) (CCSTextFile *file);
 
39
 
 
40
struct _CCSTextFileInterface
 
41
{
 
42
    CCSReadTextFileFromStart  readFromStart;
 
43
    CCSAppendStringToTextFile appendString;
 
44
    CCSFreeTextFile           free;
 
45
};
 
46
 
 
47
struct _CCSTextFile
 
48
{
 
49
    CCSObject object;
 
50
};
 
51
 
 
52
CCSREF_HDR (TextFile, CCSTextFile);
 
53
 
 
54
char *
 
55
ccsTextFileReadFromStart (CCSTextFile *);
 
56
 
 
57
Bool
 
58
ccsTextFileAppendString (CCSTextFile *, const char *);
 
59
 
 
60
void
 
61
ccsFreeTextFile (CCSTextFile *);
 
62
 
 
63
unsigned int ccsCCSTextFileInterfaceGetType ();
 
64
 
 
65
COMPIZCONFIG_END_DECLS
 
66
 
 
67
#endif