[EGIT] [core/enlightenment] master 01/01: nvidia driver workaround atexit handlers for pam auth
raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=4f8e3acfcf9a2a42e044a52038250b4632fdc38c commit 4f8e3acfcf9a2a42e044a52038250b4632fdc38c Author: Carsten Haitzler (Rasterman)Date: Mon Oct 30 13:11:06 2017 +0900 nvidia driver workaround atexit handlers for pam auth this works around an apparently atexit() handler in nvidia drivers that if you fork() a parent and do NOT exec() then the child process will end up messing with the parent processes access to the nvidia devices/display/whatever i believe via an atexit() handler because moving from exit() to _exit() solves the issue. fixes T6197 @fix --- src/bin/e_auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_auth.c b/src/bin/e_auth.c index 9754ce2d9..2fabc25a6 100644 --- a/src/bin/e_auth.c +++ b/src/bin/e_auth.c @@ -236,7 +236,7 @@ e_auth_begin(char *passwd) if (pamerr != PAM_SUCCESS) { free(current_user); -exit(1); +_exit(1); } pamerr = pam_authenticate(da.pam.handle, 0); pam_end(da.pam.handle, pamerr); @@ -246,10 +246,10 @@ e_auth_begin(char *passwd) if (pamerr == PAM_SUCCESS) { free(current_user); -exit(0); +_exit(0); } free(current_user); - exit(-1); + _exit(-1); return 0; } --
[EGIT] [apps/terminology] master 01/01: add /build to ignore for meson
raster pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=1366f4aab49fbf1ad83712db78323debd7559a57 commit 1366f4aab49fbf1ad83712db78323debd7559a57 Author: Carsten Haitzler (Rasterman)Date: Mon Oct 30 12:09:47 2017 +0900 add /build to ignore for meson --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6acf91d..d307ee0 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,4 @@ Makefile.in /terminology.spec /terminology_config.h /terminology_config.h.in +/build --
[EGIT] [core/efl] master 02/02: ecore_cocoa: fix the backspace key
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=744d2a63c56f983fa182e59e333bd0fefee498f4 commit 744d2a63c56f983fa182e59e333bd0fefee498f4 Author: Jean Guyomarc'hDate: Sun Oct 29 16:06:31 2017 +0100 ecore_cocoa: fix the backspace key The backspace key is supposed to send an ASCII code of 0x08, not 0x7F (this would be the delete key). This has not be seen before as it is is rare to use the ASCII code for the BackSpace key. @fix --- src/lib/ecore_cocoa/ecore_cocoa_keys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h index 00ae04590a..9a3324c2c7 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h @@ -121,7 +121,7 @@ static const struct _ecore_cocoa_keys_s keystable[] = { 123, "braceleft","{" }, { 124, "pipe", "|" }, { 125, "braceright", "}" }, -{ 127, "BackSpace","\177" }, +{ 127, "BackSpace","\x08" }, { 126, "asciitilde", "~" }, { 160, "w0", "" }, --
[EGIT] [core/efl] master 01/02: ecore_cocoa: consitfy structure fields
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d28dddfdea28f59f2fc73cda6f859763e441d672 commit d28dddfdea28f59f2fc73cda6f859763e441d672 Author: Jean Guyomarc'hDate: Sun Oct 29 16:04:24 2017 +0100 ecore_cocoa: consitfy structure fields This structure is exclusively statically initialized. As none of its fields will be altered, they can all be const. --- src/lib/ecore_cocoa/ecore_cocoa_keys.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h index 4eda272cf3..00ae04590a 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h @@ -9,9 +9,9 @@ struct _ecore_cocoa_keys_s { - int code; - const char *name; - const char *compose; + const int code; + const char *const name; + const char *const compose; }; static const struct _ecore_cocoa_keys_s keystable[] = --
[EGIT] [core/efl] master 02/03: ecore: fix typo in documentation
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9d6cde74ba8ae6d7fc03652219027905087ad497 commit 9d6cde74ba8ae6d7fc03652219027905087ad497 Author: Jean Guyomarc'hDate: Wed Sep 27 23:40:10 2017 +0200 ecore: fix typo in documentation --- src/lib/ecore/ecore_exe.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_exe.eo b/src/lib/ecore/ecore_exe.eo index 100f5b35f3..8566d71f5b 100644 --- a/src/lib/ecore/ecore_exe.eo +++ b/src/lib/ecore/ecore_exe.eo @@ -17,7 +17,7 @@ struct Ecore.Exe.Event_Data exe: Efl.Object; [[The handle to the process. FIXME: should actually be Ecore.Exe, workaround cyclic]] data: void_ptr; [[The raw binary data from the child process that was received]] size: int; [[The size of this data in bytes]] - lines: ptr(Ecore.Exe.Event_Data.Line); [[An array of line data if line buffered, the last one has it's line member set to $NULL]] + lines: ptr(Ecore.Exe.Event_Data.Line); [[An array of line data if line buffered, the last one has its line member set to $NULL]] } enum Ecore.Exe_Flags --
[EGIT] [core/efl] master 03/03: eina: enforce strict Eina_Bool parameter
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=87c2b37d8d48fb2153beb7d6d17c145564706ac7 commit 87c2b37d8d48fb2153beb7d6d17c145564706ac7 Author: Jean Guyomarc'hDate: Sun Oct 29 13:38:37 2017 +0100 eina: enforce strict Eina_Bool parameter --- src/lib/eina/eina_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_module.c b/src/lib/eina/eina_module.c index d670371479..493e1a59ff 100644 --- a/src/lib/eina/eina_module.c +++ b/src/lib/eina/eina_module.c @@ -499,7 +499,7 @@ EAPI Eina_Array *eina_module_arch_list_get(Eina_Array *array, list_get_cb_data.cb = NULL; list_get_cb_data.data = (void *)arch; - eina_file_dir_list(path, 0, &_dir_arch_list_cb, _get_cb_data); + eina_file_dir_list(path, EINA_FALSE, &_dir_arch_list_cb, _get_cb_data); return list_get_cb_data.array; } --
[EGIT] [core/efl] master 01/03: ecore_input: constify global
jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=eb34b537f344e2d51adb270ec572b0751d88b4f2 commit eb34b537f344e2d51adb270ec572b0751d88b4f2 Author: Jean Guyomarc'hDate: Sat Sep 23 16:20:47 2017 +0200 ecore_input: constify global This is just for correctness, it changes nothing. --- src/lib/ecore_input/ecore_input_compose.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_input/ecore_input_compose.h b/src/lib/ecore_input/ecore_input_compose.h index 50dd5cad61..22a7b80ab8 100644 --- a/src/lib/ecore_input/ecore_input_compose.h +++ b/src/lib/ecore_input/ecore_input_compose.h @@ -9,7 +9,7 @@ * algorithms. */ -static const char *comp = +static const char *const comp = "dead_breve\x00" "\x83\x07" /* 'dead_breve' 775 */ "dead_breve\x00" "\x10" /* 'dead_breve' 16 */ "˘\x00" "\x04" /* '˘' 4 */ --
[EGIT] [tools/edi] master 01/01: Revert "edi_filepanel: if file is deleted close item in view."
netstar pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=22b903fdcfc5a2271cfd5f81109d8f10356b136a commit 22b903fdcfc5a2271cfd5f81109d8f10356b136a Author: Al PooleDate: Sun Oct 29 09:54:11 2017 + Revert "edi_filepanel: if file is deleted close item in view." This reverts commit 2e10b48162090a806124328ebd273cbd0d5cb191. --- src/bin/edi_filepanel.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/bin/edi_filepanel.c b/src/bin/edi_filepanel.c index b676714..64a838d 100644 --- a/src/bin/edi_filepanel.c +++ b/src/bin/edi_filepanel.c @@ -958,15 +958,9 @@ _file_listing_updated(void *data EINA_UNUSED, int type EINA_UNUSED, parent_it = _file_listing_item_find(dir); if (type == EIO_MONITOR_FILE_CREATED) - { -_file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); - } + _file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); else if (type == EIO_MONITOR_FILE_DELETED) - { -_file_listing_item_delete(ev->filename); -edi_mainview_item_close_path(ev->filename); - } - + _file_listing_item_delete(ev->filename); if (type == EIO_MONITOR_DIRECTORY_CREATED) _file_listing_item_insert(ev->filename, EINA_TRUE, parent_it); else if (type == EIO_MONITOR_DIRECTORY_DELETED) --
[EGIT] [tools/edi] master 01/01: edi_filepanel: if file is deleted close item in view.
netstar pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=2e10b48162090a806124328ebd273cbd0d5cb191 commit 2e10b48162090a806124328ebd273cbd0d5cb191 Author: Al PooleDate: Sun Oct 29 09:46:37 2017 + edi_filepanel: if file is deleted close item in view. If file is deleted outside of Edi or we stash and the file is removed we should close the item in the editor also. --- src/bin/edi_filepanel.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/bin/edi_filepanel.c b/src/bin/edi_filepanel.c index 64a838d..b676714 100644 --- a/src/bin/edi_filepanel.c +++ b/src/bin/edi_filepanel.c @@ -958,9 +958,15 @@ _file_listing_updated(void *data EINA_UNUSED, int type EINA_UNUSED, parent_it = _file_listing_item_find(dir); if (type == EIO_MONITOR_FILE_CREATED) - _file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); + { +_file_listing_item_insert(ev->filename, EINA_FALSE, parent_it); + } else if (type == EIO_MONITOR_FILE_DELETED) - _file_listing_item_delete(ev->filename); + { +_file_listing_item_delete(ev->filename); +edi_mainview_item_close_path(ev->filename); + } + if (type == EIO_MONITOR_DIRECTORY_CREATED) _file_listing_item_insert(ev->filename, EINA_TRUE, parent_it); else if (type == EIO_MONITOR_DIRECTORY_DELETED) --