Commit Graph

239 Commits

Author SHA1 Message Date
Carsten Haitzler f98a8e82d2 clock - save some power and send freeze to clock when screen is blanked
don't tick quietly in the background when screen is off. no point
2021-04-20 10:16:53 +01:00
Carsten Haitzler 484c9f5818 e - module icons ... the great flattening begins... (partly done)
did a chunk of the module icons, but not all. it now matches flat.
2021-04-05 23:45:47 +01:00
Alastair Poole 633b374b8b clock: defer edje signal process after MOUSE_DOWN cb.
Setting the MOUSE_DOWN callback before
edje_object_signal_message_process improves the reliabilty of the
event. I don't understand why that could be interfering but this
is more-or-less a cosmetic change.
2021-03-05 10:40:33 +00:00
Elyes HAOUAS f47d1a789e tree-wide: get rid of trailing whitespace (part 6)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11825
2020-05-14 13:49:18 +02:00
Carsten Haitzler b7d2ac57b0 freeze/that - use a bit more to cut out unwanted events 2019-08-20 08:42:55 +01:00
Ross Vandegrift 629f7d41c8 clean up .desktop files and misc typos
Summary:
Drop deprecated Encoding key from desktop files

The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 0.22.1.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5585
2018-01-04 09:57:52 -05:00
Marcel Hollerbach 29901d67b2 meson: use file instead of doing the relative path by hand
a reason for doing that is that you can just pack together targets into
a array and pass them to our helper, and the helper will just handle
them, so even module with eldbus codegen etc is now supported.

This also means that we are just passing the src object directly into
the shared_module call, which means the user of our helper can just pack
everything he needs into the src var and the helper does not need to
know about it.
2017-08-08 18:38:37 +02:00
Carsten Haitzler 822a0bcacb e module build - make ibar and clock really simple and generic
now their build fiels are super easy to maintan. we should expand this
kind of ptterning aross the e build and then expand it to handle new
patters where needed like custom binaries (setuid or not), etc etc.
2017-07-27 18:30:11 +09:00
Carsten Haitzler f6d9eeb99a meson - clock and ibar - use same template as most modules now 2017-07-27 17:50:37 +09:00
Mike Blumenkrantz e8dc71cd48 meson. 2017-07-20 17:18:33 -04:00
Mike Blumenkrantz b7e8e886e9 do not generate module.desktop files
the purpose of this is to allow variable substitutions, but no desktop
files do this so it's a waste of build time for no reason
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz 2290657f36 disable clock+time gadget updating during dpms 2017-07-14 18:40:50 -04:00
Mike Blumenkrantz b283e95d1e rename clock+time module event handler lists
this is no longer what it used to be...
2017-07-14 18:40:50 -04:00
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Mike Blumenkrantz fe5d2e6e61 add bool return for mouse-based E_Action callbacks
in many cases, a mouse action's callback will fail to execute as a result of multiple
objects being under the pointer at the time of the event. in this case,
the callback should be able to determine whether action callback processing should
continue.

as an example, when attempting to execute an action which only activates for
client objects, if the passed object is not a client then the callback should return
false to indicate that it was not able to perform the action for the given object,
allowing further actions to be attempted on this object
2016-02-03 18:09:18 -05:00
Peter Kjellerstedt 872c3d2601 Add support for the ISO 8601 date format to the clock module
Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3129
2015-10-04 13:02:48 -04:00
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 b842855391 fix clock popup widget parenting 2015-04-20 15:17:05 -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 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
Jake Jaeseok Yoon 273133ffea src/modules/clock/module.desktop.in korean add
Summary: 시계(Korean expression of clock) add src/modules/clock/module.desktop.in

Subscribers: cedric, JakeYoon

Differential Revision: https://phab.enlightenment.org/D1591
2014-11-05 17:08:49 +09:00
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02: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
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Igor Murzov 315dbf8409 Let's drop meaningless empty translations from .desktop files 2013-06-17 13:43:34 +04:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02: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