Commit Graph

147 Commits

Author SHA1 Message Date
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ed897a231e de-e_comp_get()ify e
mrw I remember how to regex http://i.giphy.com/dC9dujPVeAfIY.gif
2015-03-13 15:12:20 -04:00
Mike Blumenkrantz 206577876d use elm functions on new clock elm objects 2015-01-15 12:04:38 -05:00
Carsten Haitzler 63f879fc08 clock - fix popup content.. use elm widgets now. 2015-01-15 21:09:28 +09:00
Mike Blumenkrantz 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05: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
Carsten Haitzler fabf991909 fix monitoring of non-existant files/dirs in clock module 2014-07-01 16:35:58 +09: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
Carsten Haitzler 221631ef19 suspend/resume handler in clock - fix and use handler that doesnt need eio ev 2013-10-23 10:03:56 +01:00
Carsten Haitzler fdbb4525a2 clock - use system timerfd change event in ecore and fix eio monitor of tz
this now uses the system ecore timedate change event instead of a
local timerfd. centralized implementation now.

also it fixes yhe eio monitor to ALSO monitor /etc as well to detect
changes to timzesone and filter down to the files needed.
2013-10-22 07:56:01 +01:00
Mike Blumenkrantz 54055e4125 default clock gadget config is now digital with seconds display disabled
I've never seen anyone use the analog clock, so this should save people some time when adding new clocks on their screen

next step: make the clock able to do timezones...
2013-10-07 04:01:29 +01:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
Carsten Haitzler 8dad24565f segv-- for clock popup o_popclock object ref benig dangling. this is a
new bug methinks in e18 dev.
2013-03-31 11:58:41 +09:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Carsten Haitzler 5aaeebde0b fix/improve clock module date/time change detection. :)
SVN revision: 83717
2013-02-07 08:14:03 +00:00
Mike Blumenkrantz 68c11dfc68 possibly fix possibly existing clock popup crash
ticket #2090


SVN revision: 83062
2013-01-22 09:01:25 +00:00
Lucas De Marchi 67932d8096 e: fix crash when changing desktops configuration
#0  0x00007f33b8eb1b1d in pause () from /usr/lib/libpthread.so.0
 #1  <signal handler called>
 #2  0x00007f33a19c19ab in _clock_popup_desk_change (inst=0x2bb2360, type=176, ev=0x36a6680) at clock/e_mod_main.c:305
 #3  0x00007f33b982499c in _ecore_call_handler_cb (event=<optimized out>, type=<optimized out>, data=<optimized out>, func=<optimized out>)
     at lib/ecore/ecore_private.h:354
 #4  _ecore_event_call () at lib/ecore/ecore_events.c:562
 #5  0x00007f33b982a639 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1942
 #6  0x00007f33b982abc7 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:964
 #7  0x0000000000434b73 in main (argc=<optimized out>, argv=<optimized out>) at e_main.c:1061



SVN revision: 82225
2013-01-04 18:35:27 +00:00
Cedric BAIL 5af50c40da e: remove some warning when compiling on FreeBSD.
Patch by Maxime Villard <rustyBSD@gmx.fr>.


SVN revision: 81772
2012-12-28 00:27:41 +00:00
Chidambar Zinnoury 62950bd494 e clock settings: full is back to not full, and remove translatable from last setting.
Thanks GArik!


SVN revision: 81696
2012-12-25 18:05:10 +00:00
Chidambar Zinnoury 7dcc5a91a8 e clock settings: full is full, and let all those date reprensentations be i18n-able.
SVN revision: 81692
2012-12-25 16:43:23 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Massimo Maiurana c4175e62ec Fix mismatching parameters for e_action_predef_name_{set,del}() (patch from Igor Murzov)
SVN revision: 81048
2012-12-16 16:51:12 +00:00
Cedric BAIL 294c8951a4 e: fix timerfd leak in E.
NOTE: I don't know why we do that here, look suspicious.
NOTE2: fcntl(timer_fd, F_SETFL, O_NONBLOCK | FD_CLOEXEC) will not
set the FD_CLOEXEC on linux, see the man page.


SVN revision: 80428
2012-12-07 10:24:05 +00:00
Mike Blumenkrantz 16fc340345 "Show Calendar" action correctly renamed to "Toggle Calendar"
SVN revision: 79720
2012-11-26 14:13:21 +00:00
Carsten Haitzler a7853d3ed9 add a shorter date format...
SVN revision: 79487
2012-11-21 03:10:41 +00:00
Mike Blumenkrantz c2ef62e4b5 fix bug where changing config in one clock gadget would reset all clock gadgets
SVN revision: 79229
2012-11-13 13:40:31 +00:00
Carsten Haitzler e34a70334f thar be clock theme fun... in e17.
warning: new strings for intl due to having to make date a config
option.



SVN revision: 79130
2012-11-12 04:32:59 +00:00
Carsten Haitzler b278916e9d dark theme -> e17 tree default.
SVN revision: 78896
2012-11-04 11:52:35 +00:00
Mike Blumenkrantz 183c036dcf clock popup now hides only when switching to a desktop where its parent gadcon is not present or if a window goes fullscreen after the popup has appeared
ticket #1592


SVN revision: 77417
2012-10-04 10:05:40 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 55ffb7c063 clock now resets on resume
SVN revision: 76948
2012-09-21 09:17:30 +00:00
Mike Blumenkrantz 546d83c6ba clock now uses timerfd_create() to receive updates when the system clock has changed to ensure proper sync
SVN revision: 76946
2012-09-21 08:55:22 +00:00
Mike Blumenkrantz 17f3ddae83 clock module now updates immediately on timezone change
SVN revision: 76942
2012-09-21 08:37:04 +00:00
Mike Blumenkrantz af16f102d0 formatting
SVN revision: 76939
2012-09-21 08:16:50 +00:00
Mike Blumenkrantz 097e570c03 by the power of the mixer code that I reused, the clock gadget popup will now hide whenever you do anything other than quietly admire its majesty
SVN revision: 76609
2012-09-13 13:21:31 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Chidambar Zinnoury 985a236370 e clock calendar: complexity--.
No need to check whether day names is already got for each day when it can be done once.

 Not sure why they are cleared and recreated at every month change.


SVN revision: 72275
2012-06-17 06:39:13 +00:00
Mike Blumenkrantz 98b7a46e8b fix magic check when timer doesn't exist
SVN revision: 71843
2012-06-08 10:25:17 +00:00
Mike Blumenkrantz b78a276183 no need to delete timers, setting the timer time is supported
SVN revision: 71834
2012-06-08 07:47:08 +00:00
Carsten Haitzler 46aaf99d2c force 1 more msg process too.
SVN revision: 70554
2012-04-30 11:03:21 +00:00
Carsten Haitzler 52a4e76c1d fix size recalce issue enabling/disabling features in clock
SVN revision: 70553
2012-04-30 11:02:45 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Hannes Janetzek 950f9cd729 e17: use GADCON_CLIENT_CONFIG_GET, remove old transitional code to remove config items without id
SVN revision: 63125
2011-09-03 14:39:28 +00:00
Gustavo Sverzut Barbieri 8365bd3e5d clock: provide placement orientation and width-for-height and vice-versa.
If no minimum size is provided in the group, it will allocate the
height (for horizontal shelves) or width (for vertical shelves) and
then calculate the required size of the gadget.

It will also send messages to notify the gadget about it's
orientation, if horizontal, vertical or floating. This way it can
adapt its "fit" and relative-to properly.

NOTE: depends on Edje at revision greater than r62640.



SVN revision: 62641
2011-08-21 01:59:09 +00:00
Gustavo Sverzut Barbieri 4aed42e8e4 clock will feed current locale date (abbrev. weekday + date) to themes.
SVN revision: 62543
2011-08-17 20:13:23 +00:00