[EGIT] [core/enlightenment] master 01/01: e winlist focus alt-tabbing - fix focus list changes while tabbing
raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b73364269b649ffecf67c3b93cb4b5cbefb061c8 commit b73364269b649ffecf67c3b93cb4b5cbefb061c8 Author: Carsten Haitzler (Rasterman) Date: Sat Sep 12 13:38:38 2015 +0900 e winlist focus alt-tabbing - fix focus list changes while tabbing this should fix T2700 @fix --- src/bin/e_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 391bb5c..e89eafa 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -3348,6 +3348,7 @@ e_client_hook_del(E_Client_Hook *ch) E_API void e_client_focus_latest_set(E_Client *ec) { + if (focus_track_frozen > 0) return; focus_stack = eina_list_remove(focus_stack, ec); focus_stack = eina_list_prepend(focus_stack, ec); } --
[EGIT] [core/elementary] master 01/01: elm config - fix labels in config ui for smooth time window
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=254d513590f510a7443856ab7b9feb8aa6734054 commit 254d513590f510a7443856ab7b9feb8aa6734054 Author: Carsten Haitzler (Rasterman) Date: Sat Sep 12 12:45:25 2015 +0900 elm config - fix labels in config ui for smooth time window --- src/bin/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/config.c b/src/bin/config.c index 37a7e96..6733be6 100644 --- a/src/bin/config.c +++ b/src/bin/config.c @@ -3545,11 +3545,11 @@ _status_config_scrolling(Evas_Object *win, evas_object_smart_callback_add(sl, "delay,changed", smooth_change, NULL); /* Scroll Smooth Time Window */ - LABEL_FRAME_ADD("Scroll Smooth Amount"); + LABEL_FRAME_ADD("Scroll Smooth Time Window"); sl = elm_slider_add(win); - elm_object_tooltip_text_set(sl, "This is the amount smoothing to apply" - "to thumbscroll to avoid jerky input"); + elm_object_tooltip_text_set(sl, "This is the window of time to look back" + "into for smoothing of thumbscroll"); evas_object_data_set(win, "scroll_smooth_time_window", sl); evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); --
[EGIT] [enlightenment/modules/edgar] master 01/02: Add a new ram+swap gadget
davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/edgar.git/commit/?id=81bda2a9ce99f03f1e13094cd192234e994cb111 commit 81bda2a9ce99f03f1e13094cd192234e994cb111 Author: Dave Andreoli Date: Fri Sep 11 22:47:26 2015 +0200 Add a new ram+swap gadget screenshot and info at: https://phab.enlightenment.org/w/emodules/edgar/ --- GADGETS/cpu/cpu.edc | 2 +- GADGETS/cpu/images/mockup.xcf | Bin 67599 -> 72916 bytes GADGETS/mem/Makefile | 36 ++ GADGETS/mem/__init__.py | 58 GADGETS/mem/images/bar_bg.png | Bin 0 -> 274 bytes GADGETS/mem/images/blu_on.png | Bin 0 -> 286 bytes GADGETS/mem/images/mem.png| Bin 0 -> 1962 bytes GADGETS/mem/mem.edc | 154 ++ 8 files changed, 249 insertions(+), 1 deletion(-) diff --git a/GADGETS/cpu/cpu.edc b/GADGETS/cpu/cpu.edc index 6686263..6867cc4 100644 --- a/GADGETS/cpu/cpu.edc +++ b/GADGETS/cpu/cpu.edc @@ -1,5 +1,5 @@ /** - * EDGAR Dropbox Gadget + * EDGAR Multicore CPU Gadget */ #define DBG_SHOW(_PART, _R, _G, _B) \ diff --git a/GADGETS/cpu/images/mockup.xcf b/GADGETS/cpu/images/mockup.xcf index ec00d27..1cf6c18 100644 Binary files a/GADGETS/cpu/images/mockup.xcf and b/GADGETS/cpu/images/mockup.xcf differ diff --git a/GADGETS/mem/Makefile b/GADGETS/mem/Makefile new file mode 100644 index 000..1d3957d --- /dev/null +++ b/GADGETS/mem/Makefile @@ -0,0 +1,36 @@ +# Simple Makefile for Enlightenment (edgar) gadgets + +# gadget specific config +GADGET_NAME = mem +EXTRA_FILES = + + +# nothing should be changed below this point +GADGET_FILES = __init__.pyc $(GADGET_NAME).edj +prefix = $(shell pkg-config --variable=libdir enlightenment) +gadget_folder = ${prefix}/enlightenment/gadgets/$(GADGET_NAME) + +.PHONY: all install clean + +all: $(GADGET_FILES) $(EXTRA_FILES) + +install: all + @mkdir -p -v ${gadget_folder} + @cp --preserve=mode -v $(GADGET_FILES) $(EXTRA_FILES) $(gadget_folder) + +uninstall: all + @rm -rfv ${gadget_folder} + +clean: + @rm -fv *.edj *.pyc + + +EDJE_CC = edje_cc +EDJE_FLAGS = -v -id images/ -fd fonts/ + +%.edj: %.edc images/* + $(EDJE_CC) $(EDJE_FLAGS) $< + @chmod -v og+r $@ + +%.pyc: %.py + python3 -c "from py_compile import compile; compile('$<', '$@')" diff --git a/GADGETS/mem/__init__.py b/GADGETS/mem/__init__.py new file mode 100644 index 000..4dce6c6 --- /dev/null +++ b/GADGETS/mem/__init__.py @@ -0,0 +1,58 @@ +# This python file use the following encoding: utf-8 + +import psutil + +import e + +from efl import ecore +from efl import evas +from efl import edje + + +__gadget_name__ = 'Memory Monitor' +__gadget_vers__ = '0.1' +__gadget_auth__ = 'DaveMDS' +__gadget_mail__ = 'd...@gurumeditation.it' +__gadget_desc__ = 'Ram + Swap monitor' +__gadget_vapi__ = 1 +__gadget_opts__ = { 'popup_on_desktop': False } + + + +class Gadget(e.Gadget): + +def __init__(self): +super().__init__() + +self.poller = None +self.mem = 0 +self.swp = 0 + +def instance_created(self, obj, site): +super().instance_created(obj, site) + +obj.size_hint_aspect = (evas.EVAS_ASPECT_CONTROL_BOTH, +int(obj.data_get('aspect_w')), +int(obj.data_get('aspect_h'))) + +if self.poller is None: +self.poller = ecore.Poller(8, self.poller_cb, ecore.ECORE_POLLER_CORE) + +def instance_destroyed(self, obj): +super().instance_destroyed(obj) + +if len(self._instances) < 1 and self.poller is not None: +self.poller.delete() +self.poller = None + +def poller_cb(self): +mem = psutil.virtual_memory().percent +swp = psutil.swap_memory().percent + +if mem != self.mem or swp != self.swp: +for obj in self._instances: +obj.message_send(0, (mem, swp)) +self.mem = mem +self.swp = swp + +return ecore.ECORE_CALLBACK_RENEW diff --git a/GADGETS/mem/images/bar_bg.png b/GADGETS/mem/images/bar_bg.png new file mode 100644 index 000..1d2686d Binary files /dev/null and b/GADGETS/mem/images/bar_bg.png differ diff --git a/GADGETS/mem/images/blu_on.png b/GADGETS/mem/images/blu_on.png new file mode 100644 index 000..48d3f04 Binary files /dev/null and b/GADGETS/mem/images/blu_on.png differ diff --git a/GADGETS/mem/images/mem.png b/GADGETS/mem/images/mem.png new file mode 100644 index 000..ed7d0cb Binary files /dev/null and b/GADGETS/mem/images/mem.png differ diff --git a/GADGETS/mem/mem.edc b/GADGETS/mem/mem.edc new file mode 100644 index 000..055b2df --- /dev/null +++ b/GADGETS/mem/mem.edc @@ -0,0 +1,154 @@ +/** + * EDGAR Memory + Swap Gadget + */ + +#define DBG_SHOW(_PART, _R, _G, _B) \ + part { name: "dbg_show"_PART; \ + type: RECT; mouse_events: 0; \ + description { state: "default" 0.0; \ + rel1.to: _PA
[EGIT] [enlightenment/modules/edgar] master 02/02: More correct usage of PyErr_Print()
davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/edgar.git/commit/?id=6e186dcb8558561ee06c86418a49656030560bcf commit 6e186dcb8558561ee06c86418a49656030560bcf Author: Dave Andreoli Date: Fri Sep 11 22:49:24 2015 +0200 More correct usage of PyErr_Print() that function can crash if no errors really occurred --- src/e_mod_edgar.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/e_mod_edgar.c b/src/e_mod_edgar.c index 55ff56f..33d6f14 100644 --- a/src/e_mod_edgar.c +++ b/src/e_mod_edgar.c @@ -73,13 +73,17 @@ static PyObject *edjeEdjeType; #define PY_ON_ERROR_RETURN(_extra_check_, _ret_val_, _msg_) \ - if (PyErr_Occurred() || _extra_check_) { \ + if (PyErr_Occurred()) { \ PyErr_Print();\ PyRun_SimpleString("sys.stdout.flush()"); \ PyRun_SimpleString("sys.stderr.flush()"); \ if (_msg_) DBG("EDGAR: ERROR "_msg_); \ return _ret_val_; \ }\ + if (_extra_check_) { \ + if (_msg_) DBG("EDGAR: ERROR "_msg_); \ + return _ret_val_; \ + }\ #if (PY_VERSION_HEX < 0x0303) @@ -294,7 +298,7 @@ edgar_gadget_unload(Edgar_Py_Gadget *gadget) // kill all the active popups edje obj EINA_LIST_FOREACH_SAFE(gadget->pops_obj, l, l2, popup_content) - E_FREE_FUNC(popup_content, evas_object_del); + E_FREE_FUNC(popup_content, evas_object_del); // Free the gadcon client class e_gadcon_provider_unregister(gadget->cclass); --
[EGIT] [enlightenment/modules/desksanity] annotated tag v1.0.2 created (now d8596e9)
This is an automated email from the git hooks/post-receive script. discomfitor pushed a change to annotated tag v1.0.2 in repository enlightenment/modules/desksanity. at d8596e9 (tag) tagging a25d7a4262c81a2aac05b151b4fff09bd768668d (commit) replaces v1.0.1 tagged by Mike Blumenkrantz on Fri Sep 11 13:23:47 2015 -0400 - Log - 1.0.2 Mike Blumenkrantz (3): reorder ds client iterator filter to catch override clients before ec->desk deref switch bzip2->xz in dist update news, bump version --- No new revisions were added by this update. --
[EGIT] [enlightenment/modules/desksanity] desksanity-1.0 02/02: update news, bump version
discomfitor pushed a commit to branch desksanity-1.0. http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=a25d7a4262c81a2aac05b151b4fff09bd768668d commit a25d7a4262c81a2aac05b151b4fff09bd768668d Author: Mike Blumenkrantz Date: Fri Sep 11 13:13:24 2015 -0400 update news, bump version --- NEWS | 7 +++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 81553b1..5c64da4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +Release 1.0.2 + + +Mike Blumenkrantz (1): + reorder ds client iterator filter to catch override clients before ec->desk deref + + Release 1.0.1 diff --git a/configure.ac b/configure.ac index 94801c4..c9809fc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(desksanity, 1.0.1, zm...@enlightenment.org) +AC_INIT(desksanity, 1.0.2, zm...@enlightenment.org) AC_CONFIG_MACRO_DIR([m4]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(configure.ac) --
[EGIT] [core/enlightenment] enlightenment-0.19 02/02: 19.10 NEWS updates
discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=80c1e367b851a1bd46ac019e973eab9feb985431 commit 80c1e367b851a1bd46ac019e973eab9feb985431 Author: Mike Blumenkrantz Date: Fri Sep 11 13:11:35 2015 -0400 19.10 NEWS updates --- NEWS | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 994cd09..be67f14 100644 --- a/NEWS +++ b/NEWS @@ -1,13 +1,32 @@ +Release 0.19.10: +- +Carsten Haitzler (1): + e comp - set rects to null to silence compiler warning + +Mike Blumenkrantz (8): + fix x11 compositor to use damage events + explicitly show the client object of internal window during show + force-disable refocus during desk flip on client activation + unshade clients when activating + ensure that normal clients are stacked below overrides when raising + add extreme hacks to enforce nocomp stacking policies + set 'starting' flag for desk show in e_zone_desk_count_set() + ensure that non-fullscreen nocomp clients have their layers re-set + +Simon Lees (1): + Wizard: Update icon theme search list + + Release 0.19.9: - -Carsten @raster Haitzler (1): +Carsten Haitzler (1): e - systray - add more sizes to icon hunt to fix missing icons -Cedric @cedric BAIL (2): +Cedric BAIL (2): temperature: let's finally allow the temp process to rest also when enlightenment die. battery: let's finally allow the battery process to rest also when enlightenment die. -Mike @zmike Blumenkrantz (25): +Mike Blumenkrantz (25): add event rect for deskmirror in pager/taskbar modes reject x11 NotifyVirtual and NotifyInferior mouse in events more accurately use better keybind activation logic @@ -34,6 +53,7 @@ Mike @zmike Blumenkrantz (25): remove dirty callback for deskmirror clients upon creating visual remove bz2 from dist + Release 0.19.8: - Carsten Haitzler (3): --
[EGIT] [enlightenment/modules/desksanity] desksanity-1.0 01/02: switch bzip2->xz in dist
discomfitor pushed a commit to branch desksanity-1.0. http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=c20689c6ed150997745a58f635678f5b71fb4bc6 commit c20689c6ed150997745a58f635678f5b71fb4bc6 Author: Mike Blumenkrantz Date: Fri Sep 11 13:21:43 2015 -0400 switch bzip2->xz in dist --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index de0b7dc..94801c4 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_ISC_POSIX -AM_INIT_AUTOMAKE([1.8 dist-bzip2]) +AM_INIT_AUTOMAKE([1.8 dist-xz]) AM_CONFIG_HEADER(config.h) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) --
[EGIT] [core/enlightenment] enlightenment-0.19 01/02: 19.10 release
discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=439a2c914c41dd16fdd06c0baecd4072679426f9 commit 439a2c914c41dd16fdd06c0baecd4072679426f9 Author: Mike Blumenkrantz Date: Fri Sep 11 13:10:17 2015 -0400 19.10 release --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9245cb2..62e1ad2 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,11 @@ ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [0]) m4_define([v_min], [19]) -m4_define([v_mic], [9]) +m4_define([v_mic], [10]) m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl ##-- When released, remove the dnl on the below line m4_undefine([v_rev]) -m4_define([relname], [0.19.9]) +m4_define([relname], [0.19.10]) ##-- When doing snapshots - change soname. remove dnl on below line m4_define([relname], [ver-serious-0.19]) m4_define([v_rel], [-release relname]) --
[EGIT] [core/enlightenment] annotated tag v0.19.10 created (now 5ffbc50)
This is an automated email from the git hooks/post-receive script. discomfitor pushed a change to annotated tag v0.19.10 in repository core/enlightenment. at 5ffbc50 (tag) tagging 80c1e367b851a1bd46ac019e973eab9feb985431 (commit) replaces v0.19.9 tagged by Mike Blumenkrantz on Fri Sep 11 13:24:05 2015 -0400 - Log - 0.19.10 release Carsten Haitzler (1): e comp - set rects to null to silence compiler warning Mike Blumenkrantz (10): fix x11 compositor to use damage events explicitly show the client object of internal window during show force-disable refocus during desk flip on client activation unshade clients when activating ensure that normal clients are stacked below overrides when raising add extreme hacks to enforce nocomp stacking policies set 'starting' flag for desk show in e_zone_desk_count_set() ensure that non-fullscreen nocomp clients have their layers re-set 19.10 release 19.10 NEWS updates Simon Lees (1): Wizard: Update icon theme search list --- No new revisions were added by this update. --
[EGIT] [core/enlightenment] enlightenment-0.19 01/01: ensure that non-fullscreen nocomp clients have their layers re-set
discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=e7176b5104556fb02e0c707e8c29e3b53527912b commit e7176b5104556fb02e0c707e8c29e3b53527912b Author: Mike Blumenkrantz Date: Fri Sep 11 13:04:02 2015 -0400 ensure that non-fullscreen nocomp clients have their layers re-set in the case where a window is fullscreen without having the 'fullscreen' flag set, the previously-used layer must be reapplied upon nocomp end in order to avoid breaking the compositor --- src/bin/e_comp.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index a016721..5146409 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -245,6 +245,8 @@ _e_comp_cb_nocomp_begin(E_Comp *c) Eina_Bool fs; fs = c->nocomp_ec->fullscreen; + if (!fs) +c->nocomp_ec->saved.layer = c->nocomp_ec->layer; c->nocomp_ec->fullscreen = 0; c->nocomp_ec->layer = E_LAYER_CLIENT_PRIO; evas_object_layer_set(c->nocomp_ec->frame, E_LAYER_CLIENT_PRIO); @@ -356,18 +358,17 @@ _e_comp_nocomp_end(E_Comp *c) if (c->nocomp_ec) { -if (c->nocomp_ec->fullscreen) - { - E_Layer layer = MAX(c->nocomp_ec->saved.layer, E_LAYER_CLIENT_NORMAL); - - if (!e_config->allow_above_fullscreen) - layer = E_LAYER_CLIENT_FULLSCREEN; - else if (e_config->mode.presentation) - layer = E_LAYER_CLIENT_TOP; - c->nocomp_ec->fullscreen = 0; - evas_object_layer_set(c->nocomp_ec->frame, layer); - c->nocomp_ec->fullscreen = 1; - } +E_Layer layer = MAX(c->nocomp_ec->saved.layer, E_LAYER_CLIENT_NORMAL); +Eina_Bool fs; + +if (!e_config->allow_above_fullscreen) + layer = E_LAYER_CLIENT_FULLSCREEN; +else if (e_config->mode.presentation) + layer = E_LAYER_CLIENT_TOP; +fs = c->nocomp_ec->fullscreen; +c->nocomp_ec->fullscreen = 0; +evas_object_layer_set(c->nocomp_ec->frame, layer); +c->nocomp_ec->fullscreen = fs; } c->nocomp_ec = NULL; } --
[EGIT] [core/enlightenment] master 01/01: ensure that non-fullscreen nocomp clients have their layers re-set
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=ca3a14c059c8c295833f7308f9414b6f183da3c2 commit ca3a14c059c8c295833f7308f9414b6f183da3c2 Author: Mike Blumenkrantz Date: Fri Sep 11 13:04:02 2015 -0400 ensure that non-fullscreen nocomp clients have their layers re-set in the case where a window is fullscreen without having the 'fullscreen' flag set, the previously-used layer must be reapplied upon nocomp end in order to avoid breaking the compositor --- src/bin/e_comp.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index c5ad76c..380df4e 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -247,6 +247,8 @@ _e_comp_cb_nocomp_begin(void) Eina_Bool fs; fs = e_comp->nocomp_ec->fullscreen; + if (!fs) +e_comp->nocomp_ec->saved.layer = e_comp->nocomp_ec->layer; e_comp->nocomp_ec->fullscreen = 0; e_comp->nocomp_ec->layer = E_LAYER_CLIENT_PRIO; evas_object_layer_set(e_comp->nocomp_ec->frame, E_LAYER_CLIENT_PRIO); @@ -355,18 +357,17 @@ _e_comp_nocomp_end(void) _e_comp_cb_nocomp_end(); if (e_comp->nocomp_ec) { -if (e_comp->nocomp_ec->fullscreen) - { - E_Layer layer = MAX(e_comp->nocomp_ec->saved.layer, E_LAYER_CLIENT_NORMAL); - - if (!e_config->allow_above_fullscreen) - layer = E_LAYER_CLIENT_FULLSCREEN; - else if (e_config->mode.presentation) - layer = E_LAYER_CLIENT_TOP; - e_comp->nocomp_ec->fullscreen = 0; - evas_object_layer_set(e_comp->nocomp_ec->frame, layer); - e_comp->nocomp_ec->fullscreen = 1; - } +E_Layer layer = MAX(e_comp->nocomp_ec->saved.layer, E_LAYER_CLIENT_NORMAL); +Eina_Bool fs; + +if (!e_config->allow_above_fullscreen) + layer = E_LAYER_CLIENT_FULLSCREEN; +else if (e_config->mode.presentation) + layer = E_LAYER_CLIENT_TOP; +fs = e_comp->nocomp_ec->fullscreen; +e_comp->nocomp_ec->fullscreen = 0; +evas_object_layer_set(e_comp->nocomp_ec->frame, layer); +e_comp->nocomp_ec->fullscreen = fs; } e_comp->nocomp_ec = NULL; } --
[EGIT] [core/enlightenment] enlightenment-0.19 02/02: set 'starting' flag for desk show in e_zone_desk_count_set()
discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=2f3c0c29307abd23ed501cdbd48862dba978a046 commit 2f3c0c29307abd23ed501cdbd48862dba978a046 Author: Mike Blumenkrantz Date: Fri Sep 11 12:57:15 2015 -0400 set 'starting' flag for desk show in e_zone_desk_count_set() as a result of earlier changes which prevented recursive desk flips, e_desk_show() now rejects some desk show calls which are invalid such as a show where the "current" desk does not have the visible flag set. this behavior is overridden in the case of startup, which is functionally the same effect as changing the desk count fix T2717 --- src/bin/e_zone.c | 4 1 file changed, 4 insertions(+) diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index f8ea2d6..15597d9 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -720,8 +720,12 @@ e_zone_desk_count_set(E_Zone *zone, desk = e_desk_current_get(zone); if (desk) { +/* need to simulate "startup" conditions to force desk show to reevaluate here */ +int s = starting; desk->visible = 0; +starting = 1; e_desk_show(desk); +starting = s; } e_zone_edge_flip_eval(zone); --
[EGIT] [core/enlightenment] enlightenment-0.19 01/02: e comp - set rects to null to silence compiler warning
discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b79fde5de79d9431c973fcf25786fc84a06e1745 commit b79fde5de79d9431c973fcf25786fc84a06e1745 Author: Carsten Haitzler (Rasterman) Date: Thu Sep 10 22:13:57 2015 +0900 e comp - set rects to null to silence compiler warning even though n is 0 and we don't use rects, compiler doesn't know, so to avoid noise - set to null so we can focus on warnings of real errors. --- src/bin/e_comp_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 60bc35c..fdc5faf 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -2678,7 +2678,7 @@ static Eina_Bool _e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Damage *ev) { E_Client *ec; - Ecore_X_Rectangle *rects; + Ecore_X_Rectangle *rects = NULL; int n = 0; ec = _e_comp_x_client_find_by_damage(ev->damage); --
[EGIT] [core/enlightenment] master 01/01: set 'starting' flag for desk show in e_zone_desk_count_set()
discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3ba247dafd0ff2b478a96dd6fc0846c23800a3ea commit 3ba247dafd0ff2b478a96dd6fc0846c23800a3ea Author: Mike Blumenkrantz Date: Fri Sep 11 12:57:15 2015 -0400 set 'starting' flag for desk show in e_zone_desk_count_set() as a result of earlier changes which prevented recursive desk flips, e_desk_show() now rejects some desk show calls which are invalid such as a show where the "current" desk does not have the visible flag set. this behavior is overridden in the case of startup, which is functionally the same effect as changing the desk count fix T2717 --- src/bin/e_zone.c | 4 1 file changed, 4 insertions(+) diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index fb08a5e..66c1ecf 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -728,8 +728,12 @@ e_zone_desk_count_set(E_Zone *zone, desk = e_desk_current_get(zone); if (desk) { +/* need to simulate "startup" conditions to force desk show to reevaluate here */ +int s = starting; desk->visible = 0; +starting = 1; e_desk_show(desk); +starting = s; } e_zone_edge_flip_eval(zone); --
[EGIT] [core/elementary] master 01/01: elm - thumbscroll finger scrolling - make it far smoother
raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=939d8ef4c3c48120046560814db63858175a2d12 commit 939d8ef4c3c48120046560814db63858175a2d12 Author: Carsten Haitzler (Rasterman) Date: Fri Sep 11 23:24:51 2015 +0900 elm - thumbscroll finger scrolling - make it far smoother smooth out scrolling and simplifyconfig as well as expose config apis to configure it all and elm config ui sliders and checkboxes for related config values etc. etc. - with this it is much smoother if you use the default values, though latency is a bit worse. it looks nicer though. @feature --- config/default/base.src.in | 9 +-- config/mobile/base.src.in | 5 +- config/standard/base.src.in| 9 +-- src/bin/config.c | 131 - src/lib/elm_config.c | 68 +++ src/lib/elm_config.h | 84 src/lib/elm_interface_scrollable.c | 84 +++- src/lib/elm_priv.h | 6 +- 8 files changed, 313 insertions(+), 83 deletions(-) diff --git a/config/default/base.src.in b/config/default/base.src.in index 83cff05..5b01b5e 100644 --- a/config/default/base.src.in +++ b/config/default/base.src.in @@ -20,12 +20,9 @@ group "Elm_Config" struct { value "zoom_friction" double: 0.5; value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.25; - value "scroll_smooth_start_enable" uchar: 0; - value "scroll_smooth_time_interval" double: 0.0; - value "scroll_smooth_amount" double: 0.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_start_enable" uchar: 1; + value "scroll_smooth_amount" double: 1.0; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in index 8be5652..6219c11 100644 --- a/config/mobile/base.src.in +++ b/config/mobile/base.src.in @@ -21,11 +21,8 @@ group "Elm_Config" struct { value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.7; value "scroll_smooth_start_enable" uchar: 1; - value "scroll_smooth_time_interval" double: 0; value "scroll_smooth_amount" double: 1.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; diff --git a/config/standard/base.src.in b/config/standard/base.src.in index 1b1cb84..b5f1b7a 100644 --- a/config/standard/base.src.in +++ b/config/standard/base.src.in @@ -20,12 +20,9 @@ group "Elm_Config" struct { value "zoom_friction" double: 0.5; value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.25; - value "scroll_smooth_start_enable" uchar: 0; - value "scroll_smooth_time_interval" double: 0.0; - value "scroll_smooth_amount" double: 0.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_start_enable" uchar: 1; + value "scroll_smooth_amount" double: 1.0; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; diff --git a/src/bin/config.c b/src/bin/config.c index d174024..37a7e96 100644 --- a/src/bin/config.c +++ b/src/bin/config.c @@ -166,6 +166,19 @@ sb_change(void *data EINA_UNUSED, } static void +ss_change(void *data EINA_UNUSED, + Evas_Object *obj, + void *event_info EINA_UNUSED) +{ + Eina_Bool val = elm_check_state_get(obj); + Eina_Bool ss = elm_config_scroll_thumbscroll_smooth_start_get(); + + if (val == ss) return; + elm_config_scroll_thumbscroll_smooth_start_set(val); + elm_config_all_flush(); +} + +static void bf_round(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) @@ -266,6 +279,56 @@ zf_change(void *data EINA_UNUSED, } static void +smooth_round(void *data EINA_UNUSED, + Evas_Object *obj, + void *event_info EINA_UNUSED) +{ + double val = elm_slider_value_get(obj); + double v; + + v = ((double)((int)(val * 100.0))) / 100.0; + if (v != val) elm_slider_value_set(obj, v); +} + +static void +smooth_change(void *data EINA_UNUSED, + Evas_Object *obj, + void *event_info EINA_UNU
[EGIT] [core/efl] master 01/01: evas render2 - more work on fleshing it out a bit
raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6da5d54f8e41ad6f7d916dd5dde044bbc48ee325 commit 6da5d54f8e41ad6f7d916dd5dde044bbc48ee325 Author: Carsten Haitzler (Rasterman) Date: Fri Sep 11 16:11:21 2015 +0900 evas render2 - more work on fleshing it out a bit --- src/lib/evas/canvas/evas_object_rectangle.c| 9 src/lib/evas/canvas/render2/evas_render2.c | 2 +- src/lib/evas/canvas/render2/evas_render2_th_main.c | 62 ++ src/lib/evas/canvas/render2/region.c | 27 -- src/lib/evas/canvas/render2/region.h | 3 +- 5 files changed, 66 insertions(+), 37 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_rectangle.c b/src/lib/evas/canvas/evas_object_rectangle.c index bcbb627..b154bb5 100644 --- a/src/lib/evas/canvas/evas_object_rectangle.c +++ b/src/lib/evas/canvas/evas_object_rectangle.c @@ -139,9 +139,6 @@ evas_object_rectangle_render2_walk(Evas_Object *eo_obj, // just became visible or invisible if (visible_is != visible_was) { -printf(" UP1 %p - %4i %4i %4ix%4i\n", eo_obj, - obj->cur->cache.clip.x, obj->cur->cache.clip.y, - obj->cur->cache.clip.w, obj->cur->cache.clip.h); region_rect_add (updates, obj->cur->cache.clip.x - offx, obj->cur->cache.clip.y - offy, @@ -162,9 +159,6 @@ evas_object_rectangle_render2_walk(Evas_Object *eo_obj, (obj->restack) ) { -printf(" UP2 %p - %4i %4i %4ix%4i\n", eo_obj, - obj->prev->cache.clip.x, obj->prev->cache.clip.y, - obj->prev->cache.clip.w, obj->prev->cache.clip.h); region_rect_add (updates, obj->prev->cache.clip.x - offx, obj->prev->cache.clip.y - offy, @@ -179,9 +173,6 @@ nochange: // object hasn't really changed if ((visible_is) && (evas_object_is_opaque(eo_obj, obj))) { -printf(" NO- %p - %4i %4i %4ix%4i\n", eo_obj, - obj->cur->cache.clip.x, obj->cur->cache.clip.y, - obj->cur->cache.clip.w, obj->cur->cache.clip.h); region_rect_del (updates, obj->cur->cache.clip.x - offx, obj->cur->cache.clip.y - offy, diff --git a/src/lib/evas/canvas/render2/evas_render2.c b/src/lib/evas/canvas/render2/evas_render2.c index d3bac27..0454958 100644 --- a/src/lib/evas/canvas/render2/evas_render2.c +++ b/src/lib/evas/canvas/render2/evas_render2.c @@ -76,7 +76,7 @@ _evas_render2(Eo *eo_e, Evas_Public_Data *e) // if render threads not initted - init them - maybe move this later? _evas_render2_th_init(); - printf(" %p %p\n", eo_e, e); + printf(" %p %p\n", eo_e, e); // wait for any previous render pass to do its thing t = get_time(); evas_canvas_async_block(e); diff --git a/src/lib/evas/canvas/render2/evas_render2_th_main.c b/src/lib/evas/canvas/render2/evas_render2_th_main.c index e0bcc02..8f164f0 100644 --- a/src/lib/evas/canvas/render2/evas_render2_th_main.c +++ b/src/lib/evas/canvas/render2/evas_render2_th_main.c @@ -104,12 +104,12 @@ _evas_render2_th_main_obj_del_handle(Evas_Public_Data *e, } static void -_evas_render2_th_main_obj_basic_process(Evas_Public_Data *e, -Evas_Object_Protected_Data *obj, -void *updates, -int offx, -int offy, -int l EINA_UNUSED) +_evas_render2_th_main_obj_basic_walk_process(Evas_Public_Data *e, + Evas_Object_Protected_Data *obj, + void *updates, + int offx, + int offy, + int l EINA_UNUSED) { Evas_Object *eo_obj = obj->object; @@ -130,12 +130,12 @@ _evas_render2_th_main_obj_basic_process(Evas_Public_Data *e, } static void -_evas_render2_th_main_obj_process(Evas_Public_Data *e, - Evas_Object_Protected_Data *obj, - void *updates, - int offx, - int offy, - int l EINA_UNUSED) +_evas_render2_th_main_obj_walk_process(Evas_Public_Data *e, + Evas_Object_Protected_Data *obj, + void *updates, + int offx, + int offy, + int l EINA_UNUSED) { // process object OR walk through child objects if smart and process those Evas_Object_Protected_Data *obj2; @@ -154,8 +154,8 @@
[EGIT] [core/efl] master 01/01: eina_thread: non-linux fixes following latest changes
q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8f62e4f7cef8ddc7caec5567e012c59cb44f68c3 commit 8f62e4f7cef8ddc7caec5567e012c59cb44f68c3 Author: Daniel Kolesa Date: Fri Sep 11 13:37:53 2015 +0100 eina_thread: non-linux fixes following latest changes --- m4/efl_threads.m4 | 10 ++ src/lib/eina/eina_thread.c | 15 +++ 2 files changed, 25 insertions(+) diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4 index 4ed9ff2..52631f7 100644 --- a/m4/efl_threads.m4 +++ b/m4/efl_threads.m4 @@ -56,6 +56,9 @@ pthread_barrier_init(&barrier, NULL, 1); #include #include #include +#ifndef __linux__ +#include +#endif ]], [[ pthread_attr_setaffinity_np(NULL, 0, NULL); @@ -67,9 +70,16 @@ pthread_attr_setaffinity_np(NULL, 0, NULL); #define _GNU_SOURCE #include #include +#ifndef __linux__ +#include +#endif ]], [[ +#ifndef __linux__ +pthread_set_name_np(NULL, NULL); +#else pthread_setname_np(NULL, NULL); +#endif ]])], [efl_have_setname="yes"], [efl_have_setname="no"]) diff --git a/src/lib/eina/eina_thread.c b/src/lib/eina/eina_thread.c index 3d64f5a..3216719 100644 --- a/src/lib/eina/eina_thread.c +++ b/src/lib/eina/eina_thread.c @@ -35,6 +35,13 @@ # include # include +#ifdef EINA_HAVE_PTHREAD_AFFINITY +#ifndef __linux__ +#include +#define cpu_set_t cpuset_t +#endif +#endif + static inline void * _eina_thread_join(Eina_Thread t) { @@ -181,8 +188,16 @@ eina_thread_name_set(Eina_Thread t, const char *name) buf[15] = 0; } else buf[0] = 0; +#ifndef __linux__ + pthread_set_name_np((pthread_t)t, buf); + return EINA_TRUE; +#else if (pthread_setname_np((pthread_t)t, buf) == 0) return EINA_TRUE; #endif +#else + (void)t; + (void)name; +#endif return EINA_FALSE; } --