~brandontschaefer/compiz/window-max-semimax-animation

« back to all changes in this revision

Viewing changes to compizconfig/integration/gnome/src/ccs_gnome_integration.c

  • Committer: Brandon Schaefer
  • Date: 2013-01-11 23:45:42 UTC
  • mfrom: (3533.2.25 0.9.9)
  • Revision ID: brandon.schaefer@canonical.com-20130111234542-xuld503t61hm95io
* Merged trunk

[ Jussi Pakkanen ]
* Build warning "multiple rules generate gtk/gnome/compiz.desktop.
  build will not be correct; continuing anyway" (LP: #1086789)
* Build uses pyrexc without checking that it exists (LP: #1086704)
[ Iven Hsu ]
* KWD: Appmenu always pops up at top-left corner of the screen (LP:
  #1089863)
[ Matija Skala ]
* findcompiz_install doesn't work (LP: #1051595)
[ Michail Bitzes ]
* [regression-r3320] firepaint doesn't paint any fire any more (LP:
  #1048505)
[ Timo Jyrinki ]
* Default blacklist string shouldn't contain double escape (LP:
  #1091103)
[ Scott Moreau <oreaus@gmail.com>, MC Return <mc.return@gmx.net>, Sam Spilsbury ]
* [needs-packaging] Wishlist: Missing plug-In: Wizard (LP: #1012330)
[ Brandon Schaefer ]
* Window management - When a monitor is disconnected, the windows do
  not move to the remaining monitor and the Launcher pips do not
  update (LP: #1002246)
[ MC Return ]
* [regression] thumbnail plugin does not build any more (LP: #1020825)
* [regression-r3320][GLES]: showmouse plugin does not work anymore at
  all (LP: #1048267)
[ Robert M <osfan6313@gmail.com>, Sam Spilsbury ]
* CCSM segfaults if no settings found (LP: #1092651)
[ Daniel van Vugt ]
* [regression] Window resize granularity is lost when restored after
  using Grid (LP: #925867)
* compiz_test_resize_logic: Multiple errors: Conditional jump or move
  depends on uninitialised value(s) (LP: #1097179)
* Add support for blacklisting some drivers from using unredirected
  fullscreen windows (LP: #1089246)
* [regression] compiz spends 31% of its CPU time in regexec() (LP:
  #1095001)
* GLShaderCache::priv [PrivateShaderCache] is leaked (LP: #1097664)
* [regression] r3523: Restored windows' contents are offset from (not
  aligned with) their frames (LP: #1089279)
* On ARM lp:compiz defaults to GL instead of GLES and FTBFS unless you
  -DBUILD_GLES=ON (LP: #1088414)
* [regression][GLES] wallpaper plugin does not build any more (LP:
  #1020830)
* [regression-r3320] firepaint doesn't paint any fire any more (LP:
  #1048505)
* findcompiz_install doesn't work (LP: #1051595)
* [Regression] Minimizing a window creates an input-insensitive area
  if you have unityshell loaded (LP: #1089811)
* [clang] lp:compiz r3523 FTBFS: unused function
  'ListValueToSettingValueList' [-Werror,-Wunused-function]  (LP:
  #1089250)
* compiz fails to configure on arm with -DCOMPIZ_BUILD_TESTING=ON
  [package 'gl' not found] (LP: #1088419)
* PrivateGLScreen::projection is leaked (LP: #1097657)
* [clang] Multiple segfaults in test: SetSemantics (LP: #1089251)
* Plugin names are not sorted (they're shown in directory order) when
  cmake is run (LP: #1096780)
* Windows don't respond to input (mouse clicks) if XShape is disabled
  or unavailable (LP: #1087193)
* cmake suggests (kind of) expo is disabled but it still builds
  correctly. (LP: #1083027)
* EGL/GLES compiz builds do a eglWaitGL (synchronous wait) on every
  frame, likely to slow things down (LP: #1086779)
* Incorrect detection of shader support on fglrx (LP: #1026920)
* 1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to
  wrong values (LP: #1063617)
* resize leaks memory in multiple locations calling
  resize::CompScreenImpl::findWindow() -> operator new() (LP:
  #1097126)
[ Andrea Azzarone ]
* Modal dialogs don't appear on the same workspace/monitor as their
  parent window (LP: #754508)
* Multimonitor: New windows open on the wrong monitor, Place Plugin
  settings silently ignored (LP: #874146)
[ Sam Spilsbury ]
* [regression][GLES] cubeaddon plugin does not build any more (LP:
  #1020823)
* [regression-r3320] Animations and modules/plugins missing in Ubuntu
  12.10 and 13.04 (LP: #1069112)
* [nvidia] Moving or resizing windows freezes and stutters on nvidia
  (especially if some other window is redrawing). (LP: #1027211)
* Clicking on semi-maximized windows in a different workspace fails to
  switch to the correct workspace (LP: #1037164)
* CCSM segfaults if no settings found (LP: #1092651)
* Building compiz with clang++ on raring fails to build libgtest (LP:
  #1095906)
* Using grid-resize prevents windows from maximizing correctly (LP:
  #1093757)
* 1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to
  wrong values (LP: #1063617)
* ccp can fail to compile, as CompizPlugin is not included (LP:
  #1090845)
* opengl plugin FTBFS with clang (LP: #1095915)
[ Łukasz 'sil2100' Zemczak ]
* FTBFS after python2.7 upgrade - missing pyconfig.h (LP: #1088996)
[ Automatic PS uploader ]
* Automatic snapshot from revision 3554

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
                                                                                                                          settingName);
121
121
 
122
122
    if (integratedSettings)
123
 
        return integratedSettings->data;
 
123
    {
 
124
        /* At the moment, we only support the first setting out of
 
125
         * the list. Assert the returned size is one */
 
126
        g_assert (ccsIntegratedSettingListLength (integratedSettings) == 1);
 
127
 
 
128
        CCSIntegratedSetting *integratedSetting = integratedSettings->data;
 
129
        ccsIntegratedSettingListFree (integratedSettings, FALSE);
 
130
 
 
131
        return integratedSetting;
 
132
    }
124
133
 
125
134
    return NULL;
126
135
}
197
206
    if (ccsIntegratedSettingsStorageEmpty (priv->storage))
198
207
        registerAllIntegratedOptions (integration);
199
208
 
200
 
    ret = ccsSettingIsReadableByBackend (setting);
201
 
 
202
 
    if (!ret)
 
209
    if (!ccsSettingIsReadableByBackend (setting))
203
210
        return FALSE;
204
211
 
205
212
    switch (ccsGNOMEIntegratedSettingInfoGetSpecialOptionType ((CCSGNOMEIntegratedSettingInfo *) integratedSetting)) {
207
214
        {
208
215
            type = TypeInt;
209
216
            v = ccsIntegratedSettingReadValue (integratedSetting, type);
 
217
            if (!v)
 
218
                break;
210
219
            ccsSetInt (setting, v->value.asInt, TRUE);
211
220
            ret = TRUE;
212
221
        }
215
224
        {
216
225
            type = TypeBool;
217
226
            v = ccsIntegratedSettingReadValue (integratedSetting, type);
 
227
            if (!v)
 
228
                break;
218
229
            ccsSetBool (setting, v->value.asBool, TRUE);
219
230
            ret = TRUE;
220
231
        }
223
234
        {
224
235
            type = TypeString;
225
236
            v = ccsIntegratedSettingReadValue (integratedSetting, type);
 
237
            if (!v)
 
238
                break;
226
239
            char *str = v->value.asString;
227
240
 
228
241
            ccsSetString (setting, str, TRUE);
249
262
                type = TypeBool;
250
263
                v = ccsIntegratedSettingReadValue (integratedSetting, type);
251
264
 
 
265
                if (!v)
 
266
                    break;
 
267
 
252
268
                Bool showAll = v->value.asBool;
253
269
                ccsSetBool (setting, !showAll, TRUE);
254
270
                ret = TRUE;
257
273
            {
258
274
                type = TypeString;
259
275
                v = ccsIntegratedSettingReadValue (integratedSetting, type);
 
276
                if (!v)
 
277
                    break;
260
278
 
261
279
                const char *value = v->value.asString;
262
280
                if (value)
272
290
            {
273
291
                type = TypeString;
274
292
                v = ccsIntegratedSettingReadValue (integratedSetting, type);
 
293
                if (!v)
 
294
                    break;
275
295
 
276
296
                const char *focusMode = v->value.asString;
277
297