Commit Graph

49 Commits

Author SHA1 Message Date
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05: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 842d830c39 remove ability to alter gadgets in EFM toolbars
this whole site as a "fully functioning gadcon" is pretty broken (by design), and it's not worthwhile to fix it at this point
2013-12-04 12:21:22 -05:00
Igor Murzov abfe4e1b69 Make gadcon locations translatable 2013-05-12 02:02:26 +04:00
Mike Blumenkrantz ecfa985b15 e toolbars now have a gadcon location 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 88f00310d7 e toolbar gadgets no longer crash when trying to display a popup
SVN revision: 84258
2013-02-20 09:13:03 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 317ca83733 delete smart callbacks when deleting efm toolbar
ticket #2026


SVN revision: 81242
2012-12-18 12:16:47 +00:00
Mike Blumenkrantz bcd7b442c4 hack/fix initial toolbar sizing, prevents weird fwin size bugs caused by trying to calc toolbar size before the toolbar has been sized
SVN revision: 78852
2012-11-02 11:31:06 +00:00
Carsten Haitzler 0bb52eb9ed adjust efm fwin setup and popup to be... better theme friendly!
SVN revision: 78565
2012-10-28 07:45:48 +00:00
Mike Blumenkrantz 37ce2b80ef enable dnd for toolbars
SVN revision: 77863
2012-10-11 11:54:40 +00:00
Mike Blumenkrantz ae3dfcabca formatting
SVN revision: 75977
2012-09-03 08:44:46 +00:00
Mike Blumenkrantz 4c0fa2d381 big roundup commit fixing leaky submenus
SVN revision: 75973
2012-09-03 08:30:39 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Hannes Janetzek 19d53a58eb e17: fix resize of efm_toolbar gadcon
SVN revision: 62233
2011-08-09 08:28:13 +00:00
Mike Blumenkrantz aa202802e4 just set to 0 instead of subtracting to 0
SVN revision: 55703
2010-12-22 22:39:53 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Christopher Michael 027e79bea1 Add UNUSED where needed.
SVN revision: 51365
2010-08-18 21:56:51 +00:00
toma 58703dc534 Better definition between e/toolbar and e/widgets/toolbar. Its now e/fileman/toolbar as it is fileman specific, where as the other is a widget. THEME MAKERS: You will need to update to accomodate this change. I think the e_toolbar.c should probably be renamed too...
SVN revision: 47678
2010-04-02 04:30:09 +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
Viktor Kojouharov d9f453e443 improvements to the tabbed e_fwin. changing tabs will not cause a reload, since each tab holds its own fm object.
ctrl+w will close the current tab. if there are no more tabs, the window will be closed


SVN revision: 40447
2009-04-28 17:38:09 +00:00
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +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 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Gustavo Sverzut Barbieri 05402668aa e_menu: recursively delete children menus.
e_menu had this behaviour that submenus were not deleted
automatically, relying on the parent menu to hook to post_deactivate
and then delete them.

This was good because maybe you don't want to delete these children,
you might want to reuse them sometime.

But it ended that nobody was using this feature, and worse: most use
cases were failing to delete these children, causing memory leak.

This commit changes the default behaviour and thus remove all the
existing code that was replicating such work. If one want the old
behavior, just call e_menu_item_submenu_set(mi, NULL) and it will be
unbounded from the parent.

If you experience any problems with that, try adding some printf()
before _e_menu_free() and _e_menu_item_free() and print some relevant
information like m->category and m->header.title or mi->label in order
to figure out the problematic menu.



SVN revision: 38528
2009-01-10 07:02:32 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +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
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Christopher Michael 020677904e For now, use the same toolbar for each new efm window.
SVN revision: 33344
2008-01-04 20:59:10 +00:00
Christopher Michael a78f33109f No need to use a switch when detecting mouse button. A simple one-line if
will work instead.


SVN revision: 33064
2007-12-09 15:35:41 +00:00
Sebastian Dransfeld e0245ebe53 Remove unused variable
SVN revision: 32825
2007-11-22 19:33:34 +00:00
Christopher Michael 36c6082b05 Fix toolbar layer.
Modify e_gadcon so that the "Stop resizing this item" menu appears for
toolbar. No need to get w & h from the canvas to pop the menu, only need x & y.


SVN revision: 32730
2007-11-16 03:07:55 +00:00
Christopher Michael bf1f087362 Some minor fixes for toolbar on resize.
SVN revision: 32635
2007-11-12 20:59:10 +00:00
Christopher Michael d6f44b47dc Add callback signals for efm modules. Almost ready for primetime :)
SVN revision: 32575
2007-11-11 15:46:06 +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 5907077bf6 Add ability to change orient & resize correctly.
Still not ready for use yet.


SVN revision: 32526
2007-11-09 23:12:13 +00:00
Christopher Michael 00ff3f6f28 Add api functions to change orientation.
SVN revision: 32525
2007-11-09 21:05:18 +00:00
Christopher Michael 96d567024e Populate the toolbar when it gets created.
Added start of orientation support.


SVN revision: 32523
2007-11-09 20:43:54 +00:00
Christopher Michael e72ba36a68 Working on getting actual efm modules into the gadcon.
Remove whitespace.


SVN revision: 32365
2007-11-04 21:40:39 +00:00
Christopher Michael 9a4d68f63a Initial check-in of upcoming toolbar. Ignore this code for now as it's still
a work in progress (ie: do not use right now).


SVN revision: 32229
2007-10-31 10:09:51 +00:00