Commit Graph

90 Commits

Author SHA1 Message Date
Gwanglim Lee bb7173be6c fix gadcon client del event typos
Summary: fix E_Event_Gadcon_Client_Del typos

Test Plan: N/A

Reviewers: zmike, raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1260
2014-08-04 10:04:12 -04:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Chidambar Zinnoury 8d542d40a8 e gadcon settings: add icons.
SVN revision: 81694
2012-12-25 17:04:15 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz fd95d45c9b okay, only try the gadcon config gcc unref if it's a custom gadcon that's editing
SVN revision: 79840
2012-11-29 16:02:33 +00:00
Mike Blumenkrantz 2a6d8d9f74 unref drag gcc when deleting gcc from gc config dialog to ensure it is deleted properly
SVN revision: 79837
2012-11-29 15:22:12 +00:00
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Mike Blumenkrantz 3436f52edc refresh at the end of deleting gadgets, not during; prevents infinite loop
SVN revision: 76527
2012-09-12 13:29:46 +00:00
Mike Blumenkrantz 2747cba221 deleting multiple gadgets in advanced gadget config will now actually delete multiple gadgets
SVN revision: 76525
2012-09-12 13:12:43 +00:00
Mike Blumenkrantz fdc67ec2db clarify advanced gadget config dialog tab names
SVN revision: 76300
2012-09-07 12:04:44 +00:00
Christopher Michael ee4fbda47a E: Make list resizable in New Gadcon Advanced config, and make ilist
use icons based on e_scale (for zmike) ;)



SVN revision: 76298
2012-09-07 11:24:12 +00:00
Mike Blumenkrantz b4f5a3c614 fix up new gadcon config dialogs to crash less and work better
SVN revision: 76257
2012-09-06 18:26:48 +00:00
Mike Blumenkrantz a838447b64 some tweaks to gadget config dialog to make deletion work better in more cases
SVN revision: 76246
2012-09-06 14:20:52 +00:00
Mike Blumenkrantz e4b3f66a50 allow gadcon config dialog hook to set gadcon site
SVN revision: 76244
2012-09-06 13:31:38 +00:00
Mike Blumenkrantz 35a9214b2f prevent creation of multiple gadcon config dialogs
SVN revision: 76243
2012-09-06 13:14:48 +00:00
Mike Blumenkrantz 383e2a42d7 add generic gadcon config hook which can be used with any gadcon
SVN revision: 76239
2012-09-06 11:56:09 +00:00
Mike Blumenkrantz 09aecfb7a4 update gadget config advanced view to play more nicely with the basic view
SVN revision: 76238
2012-09-06 11:53:28 +00:00
Mike Blumenkrantz 3a3ac64542 rewrite gadcon config dialog to have an advanced view which allows deletion of non-loaded gadgets as well as adding multiple gadgets of the same type
SVN revision: 76237
2012-09-06 11:50:20 +00:00
Mike Blumenkrantz 82ae1fcaac when a gc_init function fails, delete the config and clean up after: mainly for systray
SVN revision: 72564
2012-06-21 06:47:26 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 572ed90432 more uninitialized values
SVN revision: 56148
2011-01-16 01:22:41 +00:00
Christopher Michael 37a0e6a197 Fix 'var may be used uninitialized' warning.
SVN revision: 51342
2010-08-18 20:31:35 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek 9b1d74ccf9 fix warnings
SVN revision: 48500
2010-05-01 13:26:32 +00:00
Christopher Michael a074d3fd14 Readd event handler for module updates.
SVN revision: 47910
2010-04-11 00:31:13 +00:00
Christopher Michael 2869f78e31 New Shelf Contents dialog that works w/ small resolutions ... and fixes the
"add/remove multiple gadgets" problem that the first incarnation had.



SVN revision: 47909
2010-04-11 00:20:38 +00:00
Christopher Michael ab0ca94a4e Revert new gadget config dialog due to issues with adding a gadget twice to a shelf.
SVN revision: 47886
2010-04-09 19:38:28 +00:00
Christopher Michael e79308394a New Shelf Contents dialog to work with small resolutions.
SVN revision: 47859
2010-04-09 01:07:40 +00:00
Sebastian Dransfeld 66b667f273 Use efreet_desktop_new where appropriate
efreet_desktop_get (will in time) setup a lot of stuff to monitor
changes. If we just use the results from efreet_desktop_get within one
function and then free, this is unneeded overhead. efreet_desktop_free
will more lightweight (but require a bit more mem alloc).

SVN revision: 46847
2010-03-03 22:10:55 +00:00
Christopher Michael 56178c136b Use e_scale when calculating window width/height.
SVN revision: 44907
2010-01-05 05:28:05 +00:00
Christopher Michael 9d4f41fe94 Use PATH_MAX instead of 4096.
Fix some formatting issues.



SVN revision: 44897
2010-01-04 21:39:07 +00:00
Hannes Janetzek 57c6db0e8f fix warnings
SVN revision: 42605
2009-09-21 20:07:28 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Christopher Michael b877f2af7a Patch from victor to fix removing modules via the "Set Contents" dialog.
SVN revision: 41966
2009-08-25 06:06:26 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Nicholas Hughart 43fcbd7eed Uhh, who was freeing local list pointers?
SVN revision: 35788
2008-09-02 03:11:55 +00:00
Carsten Haitzler cf2d797345 typo!!!!
SVN revision: 34798
2008-06-11 07:02:05 +00:00
Gustavo Sverzut Barbieri 4dbd25097b More const added.
SVN revision: 33738
2008-02-13 04:51:01 +00:00
Christopher Michael 1afb32246c Disable sorting the gadget list for now. Seems to be causing an issue where
gadgets don't show up.


SVN revision: 33477
2008-01-13 23:20:34 +00:00
Christopher Michael 58fca427d2 Make dialog a little wider.
Sort the list of available gadgets by name.


SVN revision: 33454
2008-01-12 00:27:41 +00:00
Sebastian Dransfeld b17822ffd7 Remove unused variable.
SVN revision: 33437
2008-01-10 17:24:02 +00:00
Christopher Michael af701cf3cd Better Shelf Contents Dialog.
- Allows multi-select so we don't have to constently reload the shelf.
  - Provides descriptions for the modules just like the module dialog.


SVN revision: 33342
2008-01-04 09:18:42 +00:00
Christopher Michael 4f53107d14 Provide gadcon_config wrapper functions for toolbar & shelf. For now, just
used so we can have Toolbar Contents vs Shelf Contents in title.


SVN revision: 32528
2007-11-09 23:53:38 +00:00
Christopher Michael 4f4f035465 Formatting fixes.
SVN revision: 32278
2007-11-01 21:39:55 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00