[compiz] KWD crash

2008-01-23 Thread Mike Dransfield
Attached is a crash which I get very regularly when shutting down compiz. I normally only see it when restarting, but I have seen it at shutdown too, so I assume its happening then. The backtrace seems to point there too. Using host libthread_db library /lib/libthread_db.so.1. [Thread debugging

Re: [compiz] [PATCH] Case insensitive matching for the regex plugin

2007-06-21 Thread Mike Dransfield
Danny Baumann wrote: Hi, I have created an addition to the regex plugin that allows case insensitive matching for title/class/name/role. To enable the case insentive matching, I chose to prepend an 'i' before the tag (ititle=, iclass=, ...). The patch is obviously attached ;-) Are there

[compiz] configure gconf error

2007-06-21 Thread Mike Dransfield
I am running autogen with a fresh checkout, my autogen line is this. ./autogen.sh --prefix=/usr --enable-librsvg --disable-schema-install --enable-kde --disable-metacity --disable-gnome --disable-gconf This gives me the error configure: error: conditional GCONF_SCHEMAS_INSTALL was never

Re: [compiz] [PATCH] Use X-Fleur cursor on move

2007-06-09 Thread Mike Dransfield
Treviño wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm Treviño (AKA Trevinho, AKA 3v1n0, AKA trevi55 ;P) it's my first message here, also if I'm reading the ML from the archives since long time... I maintened a beryl-svn (then git) repository, and I'm planning to do the

[compiz] KWD crash

2007-06-05 Thread Mike Dransfield
Attached is a backtrace from a KWD crash, it happens regularly when restarting compiz. Regards Mike Using host libthread_db library /lib/libthread_db.so.1. [Thread debugging using libthread_db enabled] [New Thread 47750156939440 (LWP 6152)] [KCrash handler] #5 0x2b6dafa10368 in

Re: [compiz] PaintOutput patches for widget, cheatsheet and flash

2007-06-04 Thread Mike Dransfield
Sam Spilsbury wrote: Erm, forgot to attach them :/ Thanks, I have applied the necessary changes for those to work. Widget didn't need any changes though, did you just search and replace? Regards Mike On 6/4/07, Sam Spilsbury [EMAIL PROTECTED] wrote: Hi Attached are some patches to make

[compiz] N_ macro

2007-06-03 Thread Mike Dransfield
I have just updated the place plugin to use integers rather than strings with restrictions (as per the other plugins). The only thing which is now using the N_ macro is windowTypeString which I think can be removed. I think some plugins may still be using this so I have not removed it just yet.

Re: [compiz] Extensible logging framework

2007-06-01 Thread Mike Dransfield
David Reveman wrote: On Thu, 2007-05-24 at 19:40 +0100, Mike Dransfield wrote: Attached is a quick patch which adds a logging framework to compiz. I think it should be fairly self explanitory. I think it should allow plugin writers to extend it for any purpose, but I would appreciate any

Re: [compiz] Zoom plugin changes

2007-05-31 Thread Mike Dransfield
Kristian Lyngstøl wrote: I'm sorry for being rude, but I am quite upset by this, because it has gone too far. I posted a few weeks ago that I was going to be working on zoom over the summer to improve the accessibility, and I have already begun to do that. Every step of the way I have made

Re: [compiz] Extensible logging framework

2007-05-25 Thread Mike Dransfield
Kristian Lyngstøl wrote: On 5/24/07, Mike Dransfield [EMAIL PROTECTED] wrote: Attached is a quick patch which adds a logging framework to compiz. I think it should be fairly self explanitory. I think it should allow plugin writers to extend it for any purpose, but I would appreciate any

[compiz] Extensible logging framework

2007-05-24 Thread Mike Dransfield
Attached is a quick patch which adds a logging framework to compiz. I think it should be fairly self explanitory. I think it should allow plugin writers to extend it for any purpose, but I would appreciate any feedback or comments before going any further. Regards Mike diff --git

Re: [compiz] Allow core functions to be activated on hotcorners

2007-05-21 Thread Mike Dransfield
Sam Spilsbury wrote: Recently there was a suggestion that the Show Desktop plugin could be activated on a hotcorner. I noticed that there is now a core interface for this - otherwise known as Hide all windows and focus the desktop. This can be activated with Ctrl-Alt-D. However - it cannot be

Re: [compiz] Allow core functions to be activated on hotcorners

2007-05-21 Thread Mike Dransfield
Mike Dransfield wrote: Sam Spilsbury wrote: Recently there was a suggestion that the Show Desktop plugin could be activated on a hotcorner. I noticed that there is now a core interface for this - otherwise known as Hide all windows and focus the desktop. This can be activated with Ctrl

[compiz] Some suggestions for extra metadata

2007-05-21 Thread Mike Dransfield
Here are a few extra attributes which I have not seen mentioned yet which I think would be useful. Any comments would be appreciated. *Version* The version of the plugin, I think the reasons for this are obvious. version major0/major minor1/minor patch0/patch /version *Addition to

Re: [compiz] Window specific actions and edge buttons

2007-05-21 Thread Mike Dransfield
David Reveman wrote: On Fri, 2007-05-18 at 15:14 +0100, Mike Dransfield wrote: David Reveman wrote: On Wed, 2007-05-16 at 11:51 +0100, Mike Dransfield wrote: David Reveman wrote: On Tue, 2007-05-15 at 00:29 +0100, Mike Dransfield wrote

Re: [compiz] Maximized windows dissappear

2007-05-21 Thread Mike Dransfield
David Reveman wrote: On Sat, 2007-05-19 at 17:35 +0100, Mike Dransfield wrote: David Reveman wrote: On Sun, 2007-04-29 at 15:17 +0100, Mike Dransfield wrote: Jesper Andersen wrote: Replying to my own email here: On Fri, 2007-04-27 at 09:05 +0200, Jesper

Re: [compiz] place plugin

2007-05-21 Thread Mike Dransfield
David Reveman wrote: On Mon, 2007-05-21 at 20:35 +0200, Guillaume Seguin wrote: 2007/5/21, David Reveman [EMAIL PROTECTED]: On Thu, 2007-05-17 at 14:06 +0200, dragoran wrote: The place plugin has a bug: when compiz is restarted or started to replace another wm it the windows

Re: [compiz] [PATCH] Descriptions for dbus when plugin not loaded

2007-05-18 Thread Mike Dransfield
David Reveman wrote: On Tue, 2007-05-15 at 19:23 +0100, Mike Dransfield wrote: Here is a quick patch for dbus to make it try to load the metadata from a file if the plugin is not loaded. I have tested it and it works fine, but I wanted to check to see if you had something else in mind

[compiz] [PATCH] Get compiz core information from dbus

2007-05-18 Thread Mike Dransfield
Sep 17 00:00:00 2001 From: Mike Dransfield [EMAIL PROTECTED] Date: Thu, 17 May 2007 14:37:39 +0100 Subject: [PATCH] Add getCoreInfo function --- plugins/dbus.c | 54 ++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/plugins

Re: [compiz] state plugin

2007-05-18 Thread Mike Dransfield
/compiz/2007-February/001448.html On 5/17/07, Kresimir Kukulj [EMAIL PROTECTED] wrote: hi, I saw that Mike Dransfield tried to port 'state' plugin from beryl. What does it do? It should be able to place windows, based on name, class etc., to specific viewports. I recently

Re: [compiz] Window specific actions and edge buttons

2007-05-16 Thread Mike Dransfield
David Reveman wrote: On Tue, 2007-05-15 at 00:29 +0100, Mike Dransfield wrote: There is a problem with some window specific actions like scale_group and rotate_with_window when they are activated by an edgebutton. The basic problem is that each of those actions use the window option

Re: [compiz] Dbus plugin problem: Setting reset

2007-05-15 Thread Mike Dransfield
Danny Baumann wrote: Hi, since quite some time I encounter a problem which I believe is in the dbus plugin: Sometimes when I load or unload plugins by changing the configuration, all settings of all plugins are reset. At the same time, the following message appears multiple times in the

[compiz] Bug in xslt

2007-05-15 Thread Mike Dransfield
There seems to be a bug in the schemas generation when the XML file does not contain any options. The descriptions are not generated at all, it just produces an empty schema file like this. ?xml version=1.0? gconfschemafile schemalist/ /gconfschemafile This happens with ini and with the

[compiz] [PATCH] Descriptions for dbus when plugin not loaded

2007-05-15 Thread Mike Dransfield
Here is a quick patch for dbus to make it try to load the metadata from a file if the plugin is not loaded. I have tested it and it works fine, but I wanted to check to see if you had something else in mind. diff --git a/plugins/dbus.c b/plugins/dbus.c index 811d2d6..8dc6c40 100644 ---

Re: [compiz] Building Compiz

2007-05-15 Thread Mike Dransfield
Grant Patterson wrote: That did it, thanks! While I'm at it, I'll say I had some other issues building that I'd already gotten past. I'm pretty sure I didn't do anything to screw up the permissions, but I got this: cursor.c:197: fatal error: opening dependency file .deps/cursor.pp:

[compiz] Window specific actions and edge buttons

2007-05-14 Thread Mike Dransfield
There is a problem with some window specific actions like scale_group and rotate_with_window when they are activated by an edgebutton. The basic problem is that each of those actions use the window option provided to the action. When an edgebutton is used the window id sent is actually the id of

Re: [compiz] meta data update

2007-05-11 Thread Mike Dransfield
Dennis Kasprzyk wrote: Am Freitag, 11. Mai 2007 17:09 schrieb David Reveman: On Fri, 2007-05-11 at 11:52 +0200, Dennis Kasprzyk wrote: Am Montag, 7. Mai 2007 18:22 schrieb David Reveman: The switch to the new metadata system is almost complete. All plugins in the fdo repo

Re: [compiz] meta data update

2007-05-11 Thread Mike Dransfield
Dennis Kasprzyk wrote: Am Freitag, 11. Mai 2007 18:36 schrieben Sie: I think the point is that plugins should not be aware of other plugins at all and should not do anything bad if those plugins are not loaded. The point is here that some plugins extend or rely on functionality

Re: [compiz] extra plugins for 0.5.0?

2007-05-07 Thread Mike Dransfield
Matthias Hopf wrote: Hi, is anybody already working on porting the extra plugins (those ported over from beryl) to compiz 0.5.0? I'm especially thinking about the animation plugin. Or is this something to be addressed post-unification? There is a tarball here with versions of all the

Re: [compiz] extra plugins for 0.5.0?

2007-05-07 Thread Mike Dransfield
Danny Baumann wrote: Hi, is anybody already working on porting the extra plugins (those ported over from beryl) to compiz 0.5.0? I'm especially thinking about the animation plugin. Or is this something to be addressed post-unification? For the sake of completeness and if you once

Re: [compiz] meta data update

2007-05-07 Thread Mike Dransfield
2001 From: Mike Dransfield [EMAIL PROTECTED] Date: Tue, 8 May 2007 00:41:42 +0100 Subject: [PATCH] Update ini to use metadata --- metadata/Makefile.am |1 + metadata/ini.xml.in |6 ++ plugins/ini.c| 19 ++- 3 files changed, 25 insertions(+), 1 deletions

Re: [compiz] Bug in otherScreenGrabExist?

2007-05-04 Thread Mike Dransfield
Danny Baumann wrote: Hi, I am fairly sure that this is just a bug in the codes logic, but I thought I should check first I noticed that the function was always returning true if only one grab is checked for (maybe other cases too) If nobody shouts I shall commit it because the behaviour

Re: [compiz] Bug in otherScreenGrabExist?

2007-05-04 Thread Mike Dransfield
David Reveman wrote: On Fri, 2007-05-04 at 00:49 +0100, Mike Dransfield wrote: I am fairly sure that this is just a bug in the codes logic, but I thought I should check first hm, I think the code is currently doing the correct thing. In that case I think this patch is more

Re: [compiz] Strange behaviour in move plugin

2007-05-02 Thread Mike Dransfield
David Reveman wrote: On Thu, 2007-04-05 at 18:55 +0200, Bellegarde Cedric wrote: One of the two last commit to move plugin make windows movements really strange and cpu usage really intensive... Strange in what way? One of the changes that was made is that the server side window

Re: [compiz] Re: compiz: Changes to 'master'

2007-04-29 Thread Mike Dransfield
David Reveman wrote: On Wed, 2007-04-25 at 20:45 +0100, Mike Dransfield wrote: David Reveman wrote: On Wed, 2007-04-25 at 11:09 -0700, Robert Carr wrote: include/compiz.h |1 + 1 files changed, 1 insertion(+) New commits: commit 2402215a6a3bd50e9d87e99d4a45de14b635ecea

Re: [compiz] Extension languages and Compiz.

2007-04-26 Thread Mike Dransfield
Robert Carr wrote: My recent work on Compiz-scheme has brought to my attention several problems preventing a real compiz extension language. Note that when I refer to an extension language, I am not referring to the ability to add plugins in some other languages, but more of something in the

Re: [compiz] Extension languages and Compiz.

2007-04-26 Thread Mike Dransfield
Robert Carr wrote: On 4/26/07, Mike Dransfield [EMAIL PROTECTED] wrote: Robert Carr wrote: My recent work on Compiz-scheme has brought to my attention several problems preventing a real compiz extension language. Note that when I refer to an extension language, I am not referring

Re: [compiz] Re: compiz: Changes to 'master'

2007-04-25 Thread Mike Dransfield
David Reveman wrote: On Wed, 2007-04-25 at 11:09 -0700, Robert Carr wrote: include/compiz.h |1 + 1 files changed, 1 insertion(+) New commits: commit 2402215a6a3bd50e9d87e99d4a45de14b635ecea Merge: 1b0ae38... 7f518da... Author: Robert Carr [EMAIL PROTECTED](none) Date: Wed Apr 25

[compiz] [PATCH] Remove timeout callback

2007-04-23 Thread Mike Dransfield
would benefit from this. It is OK to go in or were there any comments? From 4cbf2a803d3203a71f2711851383e21688266a9b Mon Sep 17 00:00:00 2001 From: Mike Dransfield [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 14:26:17 +0100 Subject: [PATCH] Add remove callback to timeouts --- include/compiz.h |1

Re: [compiz] [PATCH] Remove timeout callback

2007-04-23 Thread Mike Dransfield
Mike Dransfield wrote: David Reveman wrote: On Mon, 2007-04-23 at 16:14 +0100, Mike Dransfield wrote: David Reveman wrote: On Mon, 2007-04-23 at 14:28 +0100, Mike Dransfield wrote: While working on the python plugin, I realised that the timeout system does not allow

Re: [compiz] Just another ini patch

2007-04-13 Thread Mike Dransfield
Patrick Niklaus wrote: Hi, well after some ever further investigation of some bugs, I ended up cleaning up the code, again. I also fixed some really heavy memory leaks in csvToList and made it in general more stable. Thanks very much, is it possible that you can split the patch into separate

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-13 Thread Mike Dransfield
Just FYI I have updated this to support a few extra functions and have generated some (less than useful) documentation which I have here. http://www.anykeysoftware.co.uk/compiz/pydoc/compiz.html ___ compiz mailing list [EMAIL PROTECTED]

Re: [compiz] Just another ini patch

2007-04-13 Thread Mike Dransfield
Patrick Niklaus wrote: 2007/4/13, Mike Dransfield [EMAIL PROTECTED]: Patrick Niklaus wrote: Hi, ok I hope this patches are now ok for you to commit. Thanks. The part which worries me is this -for (i=0; ilen; i++) -{ -if (filename[i] == '-') -{ -if (!pluginSep

Re: [compiz] Compiz web based settings framework

2007-04-13 Thread Mike Dransfield
Robert Carr wrote: Once we have the new settings library finished I plan to (have already started) to do a set of SWIG bindings for it. This will give us PHP/Python/Perl/other language bindings that might give an easier way to do a web based settings framework. Sounds good. I look forward to

[compiz] Compiz web based settings framework

2007-04-11 Thread Mike Dransfield
Here is a new way for people to access compiz settings. This is 2 pieces of software in one. 1. HTTP - DBUS - JSON bridge 2. Web based settings application based on that The most important part is the first because it allows you to change compiz settings using HTTP requests made to a locally

Re: [compiz] Patch for ini plugin

2007-04-11 Thread Mike Dransfield
Patrick Niklaus wrote: Hi, recently I took a look at ini to find a bug which made it crash at startup. While fixing the bug I realized I could do some improvements to the option reading code (espacally the action part). So I went on and here we are. This patch should make ini more robust,

Re: [compiz] Python plugin (Python API for Compiz)

2007-04-10 Thread Mike Dransfield
Travis Watkins wrote: On 4/10/07, Mike Dransfield [EMAIL PROTECTED] wrote: Removing WRAP/UNWRAP totally seems virtually impossible without losing a lot of functionality. If I make them just provide a named method then I have to check each plugins attributes one by one and they would still have

Re: [compiz] RTLD_GLOBAL flag for dlopen

2007-04-09 Thread Mike Dransfield
David Reveman wrote: On Mon, 2007-04-09 at 17:16 +0100, Mike Dransfield wrote: I am just experimenting with a plugin loader and I found that there are problems with external symbols which are loaded at runtime. The solution is to add RTLD_GLOBAL to the dlopen mode, but I am not sure

[compiz] Python plugin (Python API for Compiz)

2007-04-09 Thread Mike Dransfield
Here is my python loader plugin which loads plain python scripts as full plugins. There is not much documentation, but I have included a few examples to get you going. triangle - Just a basic plugin which shows a triangle on a button press. This shows using ctypes to pass values from compiz to

Re: [compiz] update hp for new releases?

2007-04-05 Thread Mike Dransfield
dragoran wrote: 0.5.0 is out (see http://xorg.freedesktop.org/archive/individual/app/compiz-0.5.0.tar.bz2) but the homepage still points to 0.3.6 ... any reason for this? The 0.4.0 and 0.5.0 releases are slightly unofficial. Once they are 'official' then all the links will be updated.

[compiz] Example plugins

2007-04-05 Thread Mike Dransfield
Here are some example plugins for anyone who is interested in developing. They are helloworld - uses an action to write hello world to the terminal blackandwhite - just makes all windows black and white triangle - paints a triangle to the screen

Re: [compiz] Flat file backend (ini)

2007-04-05 Thread Mike Dransfield
Diogo Ferreira wrote: The current INI plugin seems to fail loading when there isn't a ~/.compiz dir. Since most users won't have it I believe it makes sense to mkdir it before trying to mkdir the sub-options directory. I would have done it but since you use the get dir function a lot it would

Re: [compiz] update hp for new releases?

2007-04-05 Thread Mike Dransfield
unwiredbrain wrote: The 0.4.0 and 0.5.0 releases are slightly unofficial. Once they are 'official' then all the links will be updated. When this is gonna happen? Soon :) ___ compiz mailing list compiz@lists.freedesktop.org

Re: [compiz] Re: Beryl Merger

2007-04-02 Thread Mike Dransfield
gandalfn wrote: Hello, Let me please enter the debate about compiz-extra. It's me who named and packaged the whole plugins beryl under compiz. I am not responsible of plugins development, I only made an aggregate work of Mike Dransfield. For me It was relevant to offer a packaging and a simple

Re: [compiz] re-work option initialization

2007-03-30 Thread Mike Dransfield
Dennis Kasprzyk wrote: Do you also want a CompOptionTypeExecutable, Thats hardly ever needed, when it is used, it normally refers to a command rather than directly to an executable. If you wanted this then you could always create a file type and have it parse the mime type etc.

Re: [compiz] re-work option initialization

2007-03-30 Thread Mike Dransfield
Dennis Kasprzyk wrote: Am Donnerstag, 29. März 2007 18:33 schrieben Sie: Dennis Kasprzyk wrote: The problem is that we already have additional data in the plugins. So we should be consistent here and remove also the long/short decriptions of the option struct and or the plugin vtable

Re: [compiz] re-work option initialization

2007-03-30 Thread Mike Dransfield
Dennis Kasprzyk wrote: Am Freitag, 30. März 2007 17:48 schrieben Sie: We could always add an option 5 where there a getOptionMetaData function which the storage plugins could be responsible for wrapping They could then choose how to store this information. In this system a plugin

Re: [compiz] re-work option initialization

2007-03-29 Thread Mike Dransfield
Dennis Kasprzyk wrote: Additions to the CompOption struct: char * group/char * subgroup : Ability to group sets of options and to give this sets a name. I think that subgroup (and probably group) are excessive and they lead to the plugin writer designing the UI which is not right. From

Re: [compiz] re-work option initialization

2007-03-29 Thread Mike Dransfield
Travis Watkins wrote: On 3/29/07, Mike Dransfield [EMAIL PROTECTED] wrote: 2. No convenient way to get the initial value of an option once it's been modified. No, this was my problem when writing ini. The way I see it is that gconf should be able to revert to the default easily, ini might

Re: [compiz] re-work option initialization

2007-03-29 Thread Mike Dransfield
Dennis Kasprzyk wrote: The problem is that we already have additional data in the plugins. So we should be consistent here and remove also the long/short decriptions of the option struct and or the plugin vtable and move it to an additional file or have everything in the plugin. A mixture of

Re: [compiz] re-work option initialization

2007-03-29 Thread Mike Dransfield
Danny Baumann wrote: I disagree. There are different usage models, reflected best by having different settings managers. Beginner users may want an as-simple-as-possible settings manager (such as desktop-effects), average users may want a settings manager which provides some more settings (such

Re: [compiz] KWD crashes

2007-03-29 Thread Mike Dransfield
David Reveman wrote: On Wed, 2007-03-21 at 16:02 +, Mike Dransfield wrote: I got this whilst changing to the laptop theme. It happens both with changing to laptop and starting with it enabled. From the back-trace it looks like it's related to the code between line 1382 and line

Re: [compiz] dbus introspection

2007-03-28 Thread Mike Dransfield
Travis Watkins wrote: On 3/27/07, David Reveman [EMAIL PROTECTED] wrote: I told Mike Dransfield to have a look at your patches and include them if they're OK. Let me know if you need feedback from me. I keep updating and expecting them to be there. :) Mike didn't seem to have any problems

Re: [compiz] [PATCH] Notification on window restacking

2007-03-25 Thread Mike Dransfield
Erkin Bahceci wrote: On 3/24/07, Mike Dransfield [EMAIL PROTECTED] wrote: Erkin Bahceci wrote: This patch adds notification on window restacking. Plugins may need to do something when that happens. For example, it is used in the new version of animation plugin to perform a fade effect when

[compiz] Crash unloading blur

2007-03-14 Thread Mike Dransfield
I am getting this crash when unloading compiz by starting kwin. It seems fairly easy to reproduce here. I am using nvidia 9755 drivers (gdb) bt #0 0x2b9b20e688b0 in write () from /lib/libc.so.6 #1 0x2b9b2088c7bf in ?? () from /usr/lib/libX11.so.6 #2 0x2b9b208842f9 in ?? () from

Re: [compiz] state of blur plugin

2007-03-09 Thread Mike Dransfield
Joel Stanley wrote: Hello, On 2/7/07, David Reveman [EMAIL PROTECTED] wrote: I've added two small utility programs to git.compiz.org: git.compiz.org/blurset and git.compiz.org/blurdemo I'm triyng to clone these two repos, however, keep getting the following: $ git clone

Re: [compiz] Plugin Library Interface

2007-03-07 Thread Mike Dransfield
Patrick Niklaus wrote: We just want to get some feedback on these ideas. If you are interested I can provide a patch for compiz too. Thanks for showing us this. I have a couple of questions though. What are the major pros/cons of using this method over plain old libraries? Do you have any

Re: [compiz] Plugin Library Interface

2007-03-07 Thread Mike Dransfield
Danny Baumann wrote: What are the major pros/cons of using this method over plain old libraries? They plug into the normal plugin infrastructure and don't add the need for plugin writers to mess around with dlopen(), dlsym() and such. Basically, they work like normal libraries and look

Re: [compiz] Plugin Library Interface

2007-03-07 Thread Mike Dransfield
Danny Baumann wrote: Other than being notified when it is added or removed I don't see how it is beneficial. Using a library would mean that the functionality could always be guaranteed. There might be functionality which isn't needed to be guaranteed. The animation subplugins were an

Re: [compiz] Plugin Library Interface

2007-03-07 Thread Mike Dransfield
Dennis Kasprzyk wrote: Am Mittwoch, 7. März 2007 16:59 schrieb Mike Dransfield: Danny Baumann wrote: What are the major pros/cons of using this method over plain old libraries? They plug into the normal plugin infrastructure and don't add the need for plugin writers to mess

Re: [compiz] video plugin?

2007-03-07 Thread Mike Dransfield
dragoran wrote: Hello, I updated to current git and find the video plugin. What exactly is it supposed to do? I want to test it but I don't know exactly what to test Enabling it did not make any difference (it loaded successfully). All the information you need is here. You will need to

Re: [compiz] Flat file backend (ini)

2007-03-05 Thread Mike Dransfield
Gerd Kohlberger wrote: The IN_MODIFY bit isn't really useful for text files. If you watch the event sequence which get emited by inotify you'll see something like: 1) MOVE compiz.conf - compiz.conf~ 2) MOVE compiz.conf~ - compiz.conf 3) DELETE compiz.conf~ So if you watch compiz.conf

Re: [compiz] dbus introspection

2007-03-05 Thread Mike Dransfield
Travis Watkins wrote: We to advertise the dictionary method with introspection but still support the old method. Not sure if you can do it with the same activate message though. It should be easy enough, just a case of checking the type of the first iterator and handling either string or

Re: [compiz] Flat file backend (ini)

2007-03-03 Thread Mike Dransfield
David Reveman wrote: On Fri, 2007-03-02 at 13:35 +, Mike Dransfield wrote: This seems roughly what I would need. I applied your patches and added IN_MODIFY since I need that too. Yes, we need a MODIFY bit. I am attaching a patch for that I have also changed the notification

Re: [compiz] window matching interface and the new match option

2007-03-03 Thread Mike Dransfield
David Reveman wrote: If you have any questions related to this or if you have problem converting some plugin to use the new match option, please let me know. I have been doing some testing with the blur plugin. Here is my match string for alpha_blur class=Konsole !state=maxvert This

Re: [compiz] CompDisplay from loaderLoadPlugin

2007-03-03 Thread Mike Dransfield
Travis Watkins wrote: I'm trying to use custom functions for loaderLoadPlugin and loaderUnloadPlugin to register/unregister plugin paths in the dbus plugin as needed but I need to get access to a CompDisplay or DbusDisplay in order to do so. Is there any way to get access to this? Could you

Re: [compiz] decoration mask

2007-03-02 Thread Mike Dransfield
Travis Watkins wrote: Beryl has this mask called PAINT_WINDOW_DECORATION_MASK that the decoration plugin sets when it's drawing the decorator windows. It lets you apply an effect to a window that doesn't affect the decorations. Does this sound like something that would be useful in compiz?

Re: [compiz] decoration mask

2007-03-02 Thread Mike Dransfield
Travis Watkins wrote: Beryl has this mask called PAINT_WINDOW_DECORATION_MASK that the decoration plugin sets when it's drawing the decorator windows. It lets you apply an effect to a window that doesn't affect the decorations. Does this sound like something that would be useful in compiz? OK

Re: [compiz] decoration mask

2007-03-02 Thread Mike Dransfield
Danny Baumann wrote: Beryl has this mask called PAINT_WINDOW_DECORATION_MASK that the decoration plugin sets when it's drawing the decorator windows. It lets you apply an effect to a window that doesn't affect the decorations. Does this sound like something that would be useful in compiz?

Re: [compiz] Flat file backend (ini)

2007-02-28 Thread Mike Dransfield
David Reveman wrote: On Tue, 2007-02-27 at 19:24 +, Mike Dransfield wrote: I will write a fam plugin as well and test if that works correctly too. I think it will need extending a bit but I didn't look too hard. Do you get any benefit out of fam except that it provides polling

Re: [compiz] Invisible window problem

2007-02-28 Thread Mike Dransfield
David Reveman wrote: On Wed, 2007-02-28 at 00:52 +, Mike Dransfield wrote: David Reveman wrote: OK, I still can't reproduce it. Does the attached patch help? Yes, it does, thanks. hm, I'm not sure exactly why. I've pushed out a fix to a bug that I think is related

Re: [compiz] window matching interface and the new match option

2007-02-27 Thread Mike Dransfield
Bellegarde Cedric wrote: Another question, do we need a state plugin? blur, switcher, ... now use window matching to enable/disable effect. With your proposition, we should be able to specify blur type. I think we will still need a state plugin, maybe other plugins could take care of some

[compiz] Invisible window problem

2007-02-27 Thread Mike Dransfield
There is a bug which I am seeing and a few people are reporting on the forum. The problem is a hidden window which is always rendered on top. It is always short and wide and appears near the bottom-center of the screen. Here is the output from xwininfo on that window, xprop produces nothing.

[compiz] BSO paint values - was window matching interface and the new match option

2007-02-27 Thread Mike Dransfield
Danny Baumann wrote: The bso plugin should not exist because it does not actually do the work of changing the paint values. It just sets the atoms which core responds to, so it is just a hack. I disagree. obs (as well as bs before) changes both paint values and the atoms. BTW, Beryl's

Re: [compiz] dbus introspection

2007-02-27 Thread Mike Dransfield
Travis Watkins wrote: The real problem is actions (ie activate/terminate) because they can take a variable number of arguments so would need to register somehow. Perhaps it can take an array? It would need to be a dictionary because they are named parameters and they contain different

Re: [compiz] window matching interface and the new match option

2007-02-27 Thread Mike Dransfield
Bellegarde Cedric wrote: On Tuesday 27 February 2007 15:03:02 Mike Dransfield wrote: It just sets the atoms which core responds to, so it is just a hack. It's exactly what is doing compiz core with opacity... Look at increaseSaturation() and inceaseOpacity(), the code is the same

[compiz] Re: BSO paint values - was window matching interface and the new match option

2007-02-27 Thread Mike Dransfield
Danny Baumann wrote: It's slightly different. Whenever a client wants to change an atom (such as opacity), it sends a client message with the request to the WM which then decides to modify the actual X property or to ignore it. Whenever there is a client message requesting an

Re: [compiz] window matching interface and the new match option

2007-02-27 Thread Mike Dransfield
David Reveman wrote: PID can be in the core. Process name, host name.. and everything else you can think of that are strings should be in the regex plugin. Window dimensions would be useful. '', '', '=' can be used without any changes to match interface as those things are up to the expression

Re: [compiz] dbus introspection

2007-02-27 Thread Mike Dransfield
Travis Watkins wrote: From the specification: A DICT_ENTRY works exactly like a struct, but rather than parentheses it uses curly braces, and it has more restrictions. The restrictions are: it occurs only as an array element type; it has exactly two single complete types inside the curly

Re: [compiz] Invisible window problem

2007-02-27 Thread Mike Dransfield
David Reveman wrote: Can you reproduce it? if so, how? OK, I can reproduce it now and point you in the right direction. I am 99.9% sure it is related to the decorators and their drawing of the title bar in the switcher. If I quickly switch then the window appears, if I wait for the

Re: [compiz] Invisible window problem

2007-02-27 Thread Mike Dransfield
David Reveman wrote: OK, I still can't reproduce it. Does the attached patch help? Yes, it does, thanks. ___ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz

Re: [compiz] dbus introspection

2007-02-26 Thread Mike Dransfield
Travis Watkins wrote: The real solution is to change the API to make it introspection-friendly. Rather than make these changes and submit them I thought it was be a good idea to ask what people thought a good solution would be. The API would ideally have every method take/return the same number

Re: [compiz] window matching interface and the new match option

2007-02-26 Thread Mike Dransfield
David Reveman wrote: If you have any window properties that you find useful for matching, please let me know and I'll consider adding them. Whether they get added to the core or not doesn't matter as you can always put the matching in a plugin. Just a couple. PID and/or process name and

Re: [compiz] Blur problems

2007-02-22 Thread Mike Dransfield
David Reveman wrote: I was changing the filter from Mipmap - Gaussian and this error appeared, alpha blur did not work until a restart of Compiz. The earlier problem pointed out by Ioannis seems related. This time it didn't crash, just stopped working. OK, let me know if anything

Re: [compiz] Blur problems

2007-02-21 Thread Mike Dransfield
David Reveman wrote: On Mon, 2007-02-19 at 15:58 +, Mike Dransfield wrote: I am having a few problems with blur which I notice other people are having too. Focus blur works perfectly (although only with 4xBilinear) Using a source blur filter with radius greater than one texel

Re: [compiz] keybindings patch, gnome-keybinding-bridge and vignettes plugins

2007-01-29 Thread Mike Dransfield
gandalfn wrote: Oups, sorry the correct url http://gandalfn.club.fr/ubuntu/vignettes/vignettes-0.0.2.tar.gz I have tried this without the modified window list I created a vindow with the dbus command and that worked perfectly. The problem is when I click on the parent window and kicker

Re: [compiz] Irritating reloading

2007-01-28 Thread Mike Dransfield
Stjepan Glavina wrote: Compiz reloads itself if it crashes or another app kills it. This can be sometimes very irritating and annoying. Can there at least be a command-line option to disable this? Are you sure? I dont think it does Maybe you have the crashhandler plugin enabled or

Re: [compiz] Re: Compiz .36 = No Borders

2007-01-28 Thread Mike Dransfield
Matteo Landi wrote: i forgot... that is the error when i type the commands for compiz: [EMAIL PROTECTED]:~$ LIBGL_ALWAYS_INDIRECT=1 compiz --replace --strict-binding --use-cow gconf [1] 19249 [EMAIL PROTECTED]:~$ compiz: Couldn't load plugin '--strict-binding' compiz: Couldn't load plugin

[compiz] [PATCH] Allow plugins to wrap enterShowDesktopMode

2007-01-28 Thread Mike Dransfield
I wrote this so that the plugins can wrap enter/leaveShowDesktopMode. This means that there will be consistency with keybindings and plugins which initiate showdesktop will always use the same effect. My idea is that the plugin will wrap each function and then set w-inShowDesktopMode for all the

Re: [compiz] Annoying Scale and DnD behaviour

2007-01-27 Thread Mike Dransfield
Stjepan Glavina wrote: Current behavior terminates scale when not moving cursor _between windows_. Shouldn't scale be terminated only when not moving cursor _at all_ for the specified time? You would be unable to locate the window to drop into, unless you could find it within 2 seconds

  1   2   >