Commit Graph

46686 Commits

Author SHA1 Message Date
Stefan Schmidt 74a046fee5 docs: generate nstate widget preview for documentation
The preview example code was already there but not hooked up in our preview
screenshot magic.
2016-04-13 17:01:23 +02:00
Carsten Haitzler c2e26a5121 edje - delete obj - null out freed items in structs/data
i just got a segv freeing ian invalid ptr... it SEEMS as if something
has tried to free and edje object twice... but i can't be sure as
valgrind can't catch this. it's a one-off, so ensure after free, we
NULL out things we freed to avoid this.

@fix
2016-04-13 20:02:12 +09:00
Amitesh Singh bc9bde253a ctxpopup: pass const object ptr as argument in horizontal_get() 2016-04-13 16:11:19 +05:30
Amitesh Singh 1e74fd73ad example: eina log - set eina log levels in examples 2016-04-13 15:29:29 +05:30
Cedric BAIL fedc8939cc eldbus: make tests suite more robust to initialization count change. 2016-04-12 10:40:58 -07:00
Carsten Haitzler 8be56c9498 eo - add object sotrage in generic values with ref/unref
this adds eo_key_obj_set/get/del() like with data but for object
handles so the obj is ref'd as long as the key and parent obj exists
and then unreffed on deletion. it also tracks deletion of reffed
objects like weak refs and then removes the key automatically.

@feature
2016-04-13 01:06:40 +09:00
Stefan Schmidt 5065356ae6 tests/eldbus: add now needed calls to ecore_init/shutdown
Since commit 53c66c98c2 eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
2016-04-12 17:22:28 +02:00
Stefan Schmidt 8712f03f57 tests/eldbus_cxx: add ecore_init calls in tests now that eldbus does no longer
Since commit 53c66c98c2 eldbus o longer calls
ecore_init() wo we need to handle this. Fixes edlbus_cxx tests cases.
2016-04-12 16:55:48 +02:00
Tom Hacohen de1a7759fa Eina matrix/vector tests: pass correct pointers to arrays.
Clang (rightfully) complained about passing double ** where we should have
passed a double *.
2016-04-12 15:45:10 +01:00
Tom Hacohen 1d71d21d35 Eet test: renamed shadowing variable. 2016-04-12 15:40:49 +01:00
Tom Hacohen b4da02cac2 Elm test web: Correctly disable the web tests.
This gets rid of some clang warnings.
2016-04-12 15:39:36 +01:00
Tom Hacohen f14305024e Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
2016-04-12 15:23:55 +01:00
Amitesh Singh 736fb9d498 ctxpopup: implement Efl.Orientation interface functions
Also move horizontal_set/get as legacy APIs.
2016-04-12 17:51:45 +05:30
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