Commit Graph

46773 Commits

Author SHA1 Message Date
Carsten Haitzler febfa6de9d ecas gl: ensure make current/window/outpbut enabled before flushing
this should cover up possible texture leaks from gl engine with a null
context on font freeing.

@fix
2016-04-12 17:30:48 +09:00
Carsten Haitzler 53c66c98c2 ecore - system modules - fix eldbus interdependency and complaints
so ecore uses ecore system modules ... that use eldbus. eldbus inits
ecore. this is a vicious cycle. eldbus shouldnt init ecore. it's a
dependency but should be provided outside of initting eldbus. this all
led to hack-arounds on initting eldbus in these ecore modules that
just break things like shutting down eldbus when still in use.

this ensures any pending messages are canceled on ecore module shutdown.
this ensures every ecore module fully inits and shuts down eldbus as
they should so refcounting the inits works.
this stops eldbus from inittign ecore to avoid the circuluar dependency.

this stops lots of CRI/ERR complaints eg if you run elua with no
cmdline options.

this is just better.

@fix
2016-04-12 14:11:32 +09:00
Carsten Haitzler f54a2eb570 ecore system upower - silence if service doesnt exist
this silences come complaint warnings that should not be noisy - eg if
upower dbus service doesn't exist.
2016-04-12 12:51:48 +09:00
Carsten Haitzler af4c3c0fe1 evas gl - fix leak with font glyph textures
some font glyphs are still allocated after tyhe last gl window is
freed which means we can't make current anymore to free textures after
that. this fixes that by flushing gl texture info from the font cache
when the last gl windows are gone.

@fix
2016-04-12 12:47:30 +09:00
Cedric BAIL 21ee8b8337 elementary: we actually need to include this generated files or make dist will fail. 2016-04-11 11:26:06 -07:00
Oleksandr Shcherbina 1f66a9e731 evas.canvas3d: Add FXAA post processing render.
Summary:
Add post processing render function as rendering full screen quard after
rendering to texture.
Add possibility use size of current frame in shader.
Add FXAA shader source files

Reviewers: raster, cedric, Hermet

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3847
2016-04-12 00:50:46 +09:00
Hermet Park 5f9e73b966 elementary/scroller: code refactoring.
try to update scroller size when popup layout is updated.
2016-04-12 00:36:12 +09:00
Jinyong Park 33d9bcc551 elc_popup: If popup's parent is resized, popup need to resized, too
Summary:
When window's size is not enough to show popup, popup resize smaller to show it in appropriate size.
But if window resize larger enough to show popup, popup is locked in small size.
On the contrary to this case, if window resize too smaller, popup has still large size, so popup doesn't display properly.

Test Plan:
1. elementary_test popup
2. maximize test list window
3. click 8th item, "popup-center-title + items + 3 buttons"
4. restore window size
5. close popup, resize window to smaller than popup in 3).
6. click 8th item, "popup-center-title + items + 3 buttons"
7. restore window size
popup size of 4. and 7. is different

Reviewers: jaehwan, cedric, raster, id213sin, singh.amitesh, SanghyeonLee

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3854
2016-04-12 00:28:55 +09:00
Hermet Park 1efa5dfe57 updated po 2016-04-12 00:28:33 +09:00
Stefan Schmidt dadfe4ffb9 docs: add descriptions for ecore_con_eet_{client,server} EO classes 2016-04-11 16:52:43 +02:00
Stefan Schmidt c0afe61dd0 docs: add description to ecore_con_eet_base class 2016-04-11 16:52:43 +02:00
Stefan Schmidt 05a66cebc0 docs: document ecore_animator EO class.
Keep it brief as we want the larger parts being editable from the wiki part of
the new doc system.
2016-04-11 16:52:43 +02:00
Jinyong Park edcfc6d036 popup : fix scale calculation in _scroller_size_calc
Summary:
when calculate real size of action area in _scroller_size_calc,
edje base scale is omitted.

Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh, SanghyeonLee, Hermet

Reviewed By: Hermet

Subscribers: Hermet, herb, jpeg

Differential Revision: https://phab.enlightenment.org/D3857
2016-04-11 23:31:03 +09:00
Ji-Youn Park e561a65c39 Elm_icon: fix build error. --; 2016-04-11 21:48:46 +08:30
Ji-Youn Park 44d6506b8a Elm_icon: move thumb_set API from eo to legacy. 2016-04-11 21:44:31 +08:30
Ji-Youn Park 02a37da0ed Elm_thumb: move all api from eo to legacy
elm_thumb,elm_icon,elm_photo will be removed.
2016-04-11 21:31:42 +08:30
Stefan Schmidt 626decac68 build: make sure generated files in examples get cleaned up
Distcheck pointed these out as not being cleaned up and it was right. Make sure
we handle these generated files during cleanup.
2016-04-11 14:18:17 +02:00
Shuhrat Dehkanov eae53f2218 genlist: do not evaluate against max coord if the value is negative
Summary:
If x is already less than '0', there is no need to check if it is
bigger than pan_max_x. Likewise, if y is already less than '0',
there is no need to check if it is bigger than pan_max_y.

Reviewers: Hermet, cedric, SanghyeonLee, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: seoz, minkyu, sju27, jpeg

Differential Revision: https://phab.enlightenment.org/D3865
2016-04-11 17:44:56 +05:30
Ji-Youn Park 810ebb5db8 Elm_image: remove no_scale and resizable property.
elm image add new API to deal with scale type.
if we use scale type for elm_image, we don't need to use no_scale and resizable property
2016-04-11 20:03:25 +08:30
Ji-Youn Park 7b4c23489d Elm_photo: move api from eo to legacy.
elm_photo will be deprecated in the future.
so move all api from eo to legacy.
2016-04-11 13:21:05 +08:30
Felipe Magno de Almeida 62841aee3c eolian: Make promise eolian generation use macros for hooks
Modify the way hooks are defined and used by promise generation in
Eolian in the Eo API.

Instead of passing macro names as parameters to EO_FUNC_BODY macros,
just re-define the actual hooks when it is needed.
2016-04-11 01:28:50 -03:00
Carsten Haitzler eff86cd48a vpath - use double-happy format as poposed by onefang
vpath now uses a simley at the start and end of a special meta
location. i.e.:

(:home:)/blah.png
(:app.data:)/blah.jpg
2016-04-11 11:48:35 +09:00
Cedric Bail 13059e96ba elementary: fix dependencies to build clean examples. 2016-04-10 12:04:29 -07:00
Daniel Zaoui 9936b92ce3 CtxPopup: fix auto-hide property setting
Set and get functions are inconsistent one with the other. When set
function is used with a certain value, one expects the get function
to return this value.
2016-04-10 15:23:13 +03:00
Daniel Zaoui 3e02f6fd4c Ecore Exe: check parameter validity 2016-04-10 15:15:08 +03:00
Daniel Zaoui b29340b3a1 Edje: check parameter validity 2016-04-10 15:15:08 +03:00
Daniel Zaoui 49f0f09661 Ecore_Con: protect access to internal data 2016-04-10 15:15:08 +03:00
Jean Guyomarc'h ca346eb273 ecore: fix documentation of Ecore_Exe_Event_Del 2016-04-09 21:52:39 +02:00
Cedric BAIL 1c48b76da8 elementary: restore examples build. 2016-04-08 16:01:07 -07:00
Cedric BAIL 785228de9f evas: don't track some forgotten example 2016-04-08 16:01:07 -07:00
Cedric BAIL 25671270b2 elua: unbreak make install-examples 2016-04-08 16:01:07 -07:00
Cedric BAIL 5505a262e2 ecore_evas: make it easier to have custom dependencies per module. 2016-04-08 16:01:07 -07:00
Mike Blumenkrantz b6f87499e1 elm_win: force opaque update on maximize state change
enforce csd recalc to ensure accurate maximize sizing

@fix
2016-04-08 15:50:44 -04:00
Stefan Schmidt 3f7da730f6 tests/eloian: ship eo file needed for tests in tarball
Without this the make check run inside distcheck fails.
2016-04-08 15:41:03 +02:00
Tom Hacohen 1b14a33a91 Elm tests: Silence warnings in the unused elm prefs test. 2016-04-08 11:35:18 +01:00
Tom Hacohen 8203c79678 Evas langauge: Prevent potential buffer overflow and clean code.
We were copying a user defined string into a fixed size buffer
without doing any boundary checks. This commit fixes that.
Also cleaned up similar code that was using hardcoded numbers.

@fix.
2016-04-08 11:34:53 +01:00
Youngbok Shin f4f9753c20 Evas: Add API to reinit the language and use it in elementary.
Summary:
evas_common_language_from_locale_* functions kept static pointers
inside of its functions. Once these function was called, it was never reset.
It made big problems for harfbuzz and hyphenation. Also, Elementary
provides elm_language_set() API. Then we need to support it fully.
@fix

Test Plan: Test case for hyphenation is included in Evas test suite.

Reviewers: raster, tasn, herdsman, woohyun, z-wony, Blackmole, minudf

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3864
2016-04-08 11:24:32 +01:00
Jee-Yong Um f7a4a2b2a0 list: fix item highlight geometry correctly
Summary:
Calculation for item highlight geometry is incorrect when item
is larger than viewport geometry.
This patch adjusts highlight geometry to fit visible item size.

Test Plan: enventor (look "Settings-Text Editor-Font Names" list)

Reviewers: Jaehyun_Cho

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D3738
2016-04-08 17:47:11 +09:00
Jean-Philippe Andre a6d7efcf73 elm_win: Fix warning (unused variable) 2016-04-08 14:19:58 +09:00
Amitesh Singh 4cd002fc7d doc: fix typo in 410cdd1501 2016-04-08 10:14:35 +05:30
Amitesh Singh 410cdd1501 doc: add widget_preview_nstate.c to noinst_PROGRAMS 2016-04-08 09:48:47 +05:30
Carsten Haitzler 5e6bdd6da9 efreetd - dont use netdb.sh as per man page on windows 2016-04-08 12:57:30 +09:00
Carsten Haitzler 09435e5e81 efreet - use eina tmp dir instead of /tmp dir
use eina_environment_tmp_get() for windows
2016-04-08 12:57:30 +09:00
Amitesh Singh ea6027b3c8 theme: add nstate.edc in Makefile.am
fixes make dist
2016-04-08 09:20:24 +05:30
Amitesh Singh 4cf98237ee doc: add elm nstate preview 2016-04-08 09:20:24 +05:30
Carsten Haitzler 978f416b8c efreetd - fix more cache path handling to live in the cache dir
follow on fixes from 5028a88077

@fix
2016-04-08 12:41:36 +09:00
Carsten Haitzler 5028a88077 efreet: fix tmp file/dir/log handling to not leave a mess and work
so efreets tmp file/cache/log file handling was broken, using
filenames in tmp and renaming them to a caceh dir that can be on
different filesystems. also log file should have been in a tmp dir ...
and subsidrs cache didnt get renamed properly at all and thus not
updated.

@fix
2016-04-08 12:13:42 +09:00
Jean-Philippe Andre 81c1b8b530 doc: Remove widget_preview_nstate.c
These is no such file.
Hopefully this will fix make dist.
2016-04-08 11:25:14 +09:00
Jean-Philippe Andre e1eb5b8b86 efl_vpath: Fix compilation for windows
Patch by @vtorri

Fixes T3431
2016-04-08 11:13:06 +09:00
Jean-Philippe Andre f253f9a7bc Evas 3d: Fix compilation for Windows
near and far are #defined in windows.h. Old legacy stuff.
To be sure the code compiles, rename the variables.

Fixes T3423
2016-04-08 11:13:06 +09:00