Re: [E-devel] itask-ng patch
Hello, It now seems necessary to run the composite module (or another composite manager) for itask-ng to be displayed correctly. It that a prerequisite now? yes, it is. and yea a dialog box giving this info should be added. Hm, ok. And the old behavior couldn't be added again? I prefer to not use composite, until recently it tended to be less stable (at least for me). Supporting shaped windows did complicate stuff quite a bit. It needs redirection of all events/dnd through a separate input window. The code was messy and I thought no one will use shaped window mode anymore. thats why I removed it. Anyway now things cleaned up I added a separate path for shaped windows. BR Best, Nick. Thanks, Nick. BR On Thu, Jan 20, 2011 at 3:34 AM, Nikolas Arendnikolas.ar...@gmx.net wrote: Hi, Attached below is a small itask-ng patch against ng_config.c. It adds the imho missing stacking config entry, which kept messing up my itask-ng module configuration. While looking at this, I noticed two things: - throughout the itask-ng code, function parameters (pointers) are assumed to be non-NULL but never checked before accessed or assigned. In the situation that the missing config entry created this led to a segfault instead of proper recovery. I'm talking about the following code in ng_config.c if (ci-stacking != cfdata-stacking) { restart = 1; goto end; } and the subsequent restart procedure (i.e. ng_free()). - the if(restart) part in ng_config() mentioned above does not seem to be recovering things properly. If e.g. the above check with respect to stacking fails, then it should restore the config and apply default parameters, I guess? It is not doing this for me. I can probably come up with patches for both (certainly for the first issue), but maybe others who know the code better would be more efficient. Best, Nick. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] itask-ng patch
On 01/22/2011 10:04 PM, hannes.janet...@gmail.com wrote: Hello, It now seems necessary to run the composite module (or another composite manager) for itask-ng to be displayed correctly. It that a prerequisite now? yes, it is. and yea a dialog box giving this info should be added. Hm, ok. And the old behavior couldn't be added again? I prefer to not use composite, until recently it tended to be less stable (at least for me). Supporting shaped windows did complicate stuff quite a bit. It needs redirection of all events/dnd through a separate input window. The code was messy and I thought no one will use shaped window mode anymore. thats why I removed it. Anyway now things cleaned up I added a separate path for shaped windows. Thanks for reintroducing it. Because of bugs in the graphics drivers, the only way I can use itask-ng (for an significant length of time) is in the non-composite mode. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] itask-ng patch
On 01/19/2011 09:34 PM, Nikolas Arend wrote: Hi, Attached below is a small itask-ng patch against ng_config.c. It adds the imho missing stacking config entry, which kept messing up my itask-ng module configuration. While looking at this, I noticed two things: - throughout the itask-ng code, function parameters (pointers) are assumed to be non-NULL but never checked before accessed or assigned. In the situation that the missing config entry created this led to a segfault instead of proper recovery. I'm talking about the following code in ng_config.c if (ci-stacking != cfdata-stacking) { restart = 1; goto end; } and the subsequent restart procedure (i.e. ng_free()). - the if(restart) part in ng_config() sorry, that should be _basic_apply_data() in ng_config.c. mentioned above does not seem to be recovering things properly. If e.g. the above check with respect to stacking fails, then it should restore the config and apply default parameters, I guess? It is not doing this for me. I can probably come up with patches for both (certainly for the first issue), but maybe others who know the code better would be more efficient. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel