Commit Graph

7500 Commits

Author SHA1 Message Date
Carsten Haitzler 13a895de77 Fix 1byte invalid read & do memset, rewind if needed.
Summary:
1. because eina_simple_xml_parse uses char *, buf should be null
terminated.  So I use memset.
2. Because NULL is needed at the end, I add one more byte.
fread read exact bytes and has no NULL.
3. If buf is failed to alloc (very rarely case), it is not need to rewind and memset.

Test Plan: Use valgrind and elm_map_name_add API

Reviewers: tasn, bluezery

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D10
2013-02-25 12:00:07 +09:00
Carsten Haitzler 0756536437 add lable to anchor button disabled test. 2013-02-24 13:53:38 +09:00
Carsten Haitzler 05e5f81d41 update po line #'s. 2013-02-24 12:12:40 +09:00
Carsten Haitzler e740e4ca74 add test cases to button test. 2013-02-24 12:12:13 +09:00
Carsten Haitzler c2082c1973 fix 64bit complaint for elm cnp (harmless other than warning noise). 2013-02-24 12:11:24 +09:00
Carsten Haitzler 9b2c6ab91f <<Enter Revision Title>>
Summary: 80 column width

Test Plan: text file

Reviewers: cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D9
2013-02-24 00:09:03 +09:00
Carsten Haitzler 95d270b59d Test TODO change
Summary:
This is testing a TODO change by removing something already
working from the todo.

Test Plan: It's a text file. what tests?

Reviewers: cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D8
2013-02-23 23:59:21 +09:00
Carsten Haitzler c740ea5e83 gitignore: let's ignore cmake generated files for the moments.
Summary: Improve result of git status

Test Plan: call git status

Reviewers: cedric

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D7
2013-02-23 23:57:37 +09:00
Carsten Haitzler 84f1a585e5 TODO: let's think about the futur.
Summary: dreaming

Test Plan: open your mind

Reviewers: cedric

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D6
2013-02-23 23:38:58 +09:00
Carsten Haitzler 853f3e0aaa TODO: fix a typo.
Summary: fix a typo

Test Plan: need to be read by a native english speaker (aussie will do)

Reviewers: raster

Reviewed By: raster

CC: tasn

Differential Revision: https://phab.enlightenment.org/D5
2013-02-23 23:21:53 +09:00
Carsten Haitzler af45856d79 test arc review process with small todo changes
Summary: XX

Test Plan: pants on

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D4
2013-02-23 23:07:18 +09:00
Carsten Haitzler 0de6400e0a add .arcconfig back. 2013-02-23 22:57:11 +09:00
Carsten Haitzler 7a733d136d ok - remove .arcconfig... for now. 2013-02-23 22:38:16 +09:00
Carsten Haitzler 78c5e1d3b4 add .arcconfig for elm... 2013-02-23 22:13:18 +09:00
Carsten Haitzler 10bc37e9ca better check for awarenes setting.
SVN revision: 84300
2013-02-22 09:24:49 +00:00
Carsten Haitzler 1c66b0cf99 quick fix > 1 win for dnd! :)
SVN revision: 84299
2013-02-22 09:21:21 +00:00
Carsten Haitzler 6ff515ea60 update docs.
SVN revision: 84298
2013-02-22 08:50:07 +00:00
Carsten Haitzler 30cc0a85c8 allow dealing with dnd actions and status at src.
SVN revision: 84296
2013-02-22 08:49:08 +00:00
Daniel Juyung Seo c0c6b4f933 elm ChangeLog: Fixed formatting. Do not use tab for ChangeLog.
Btw, do we use 2 spaces or 1 space before names?

SVN revision: 84295
2013-02-22 02:19:03 +00:00
Daniel Juyung Seo c48531ecb5 elementary, elementary-1.7 ChangeLog/NEWS: Updated Change and NEWS for jaehwan's scroller bug fix commit.
SVN revision: 84294
2013-02-22 02:09:38 +00:00
Daniel Juyung Seo d8815d2ff2 elm elm_index.c: removed unnecessary type casting.
SVN revision: 84292
2013-02-22 01:41:04 +00:00
Carsten Haitzler 3091ccc3f6 flesh out a lot more of dnd support in elm and add apis to set up dnd
targets for objects as well as initiate a dnd.



SVN revision: 84282
2013-02-21 13:21:08 +00:00
ChunEon Park 458faf56a3 elementary/popup - removed duplicated strings.
SVN revision: 84279
2013-02-21 11:44:49 +00:00
Jaehwan Kim f04933d80c Small bug in scroller when the page is set.
SVN revision: 84277
2013-02-21 09:36:14 +00:00
ChunEon Park ee1daa1eec elementary/naviframe - guarantee that new pushed item to be the top layer in a naviframe.
SVN revision: 84276
2013-02-21 08:40:09 +00:00
ChunEon Park 97c6cc2d81 elementary/button,label,bg - i have no idea but elm_layout_theme_set() should be called in smart_add().
this fixes the hoversel.



SVN revision: 84275
2013-02-21 05:57:05 +00:00
ChunEon Park 6941e2aca4 elementary/hoversel - renamed internal variable.
SVN revision: 84274
2013-02-21 04:46:28 +00:00
ChunEon Park 73bd086b53 elementary/widget - missed return there.
thanks glima for spotting it.



SVN revision: 84270
2013-02-21 03:42:04 +00:00
ChunEon Park b17a158181 elementary/naviframe - remove del callback function before deleting the object.
SVN revision: 84269
2013-02-21 02:55:02 +00:00
Carsten Haitzler 21338a73a3 more work on fixing cnp... still more to go. debug on.
SVN revision: 84260
2013-02-20 09:41:06 +00:00
Carsten Haitzler aec477530d fix gl engine opt + pulse.
SVN revision: 84249
2013-02-20 03:08:33 +00:00
Shinwoo Kim b0ba47bd1f update NEWS, ChangeLog for r84245
SVN revision: 84247
2013-02-20 02:36:25 +00:00
Jihoon Kim 11ca192805 elm: fix typo in naviframe document
SVN revision: 84246
2013-02-20 02:33:02 +00:00
Shinwoo Kim bf0ff25e5d [ctxpopup] proper restacking, previous restack callback makes the bg be top of the ctxpopup.
SVN revision: 84245
2013-02-20 02:30:04 +00:00
Tom Hacohen 1cc1651f6c Elm win: Fixed an OBVIOUS gcc warning.
SVN revision: 84242
2013-02-19 16:26:11 +00:00
Tom Hacohen 912eac55ce Elm layout: Expose some clouseau information.
SVN revision: 84241
2013-02-19 16:23:27 +00:00
Carsten Haitzler 3faccb1149 much better.. dnd actually works now.. doesnmt get stuck etc... need
to GRAB mouse etc... still not all there yet. cant dnd within ones own
window yet. that's NEXT



SVN revision: 84235
2013-02-19 12:10:02 +00:00
Carsten Haitzler b266a4c86c some cleanups missing from previous commit.
SVN revision: 84106
2013-02-19 10:48:37 +00:00
Carsten Haitzler eca7d3d879 this is messing woith internal apis in elm - but drop target delc was
wrong, and internally it didnt handle mime types properly. no one
really used/tested this much... because it wasnt available for use
really :). so fix up.



SVN revision: 84103
2013-02-19 10:14:35 +00:00
Stefan Schmidt 7129201160 elm_map: Free allocated buffer in all cases.
Very well spotted from Hermet. My original fix only free'ed the buffer
in the case fread failed, but apperently we we always leaked this buffer.

Make sure we free it in all cases.

SVN revision: 84087
2013-02-19 09:04:45 +00:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
ChunEon Park ff3150ee09 elemenatry/photocam - oopss sorry my fault.
SVN revision: 84081
2013-02-19 08:10:34 +00:00
ChunEon Park f8b3da532a elemenatry/photocam - reverted 84074
SVN revision: 84075
2013-02-19 08:05:50 +00:00
ChunEon Park 6af1925282 elementary/photocam - removed unused
SVN revision: 84074
2013-02-19 08:00:49 +00:00
Shinwoo Kim 14a0ba6ea3 [focus][popup] fix focus related bugs
1. if user just hides the popup, the focus tree is broken. it is caused by elm_object_content_unset(notify);
   popup calls elm_object_content_set(notify, popup); in the _on_show(); it would be terrible.
   there would be a structual problem, but it is hart to figure out.

2. _elm_popup_smart_focus_direction(); calls notify's focus_direction(); and it calls popup's one again.
   there is circular dependency between notify and popup.



SVN revision: 84073
2013-02-19 06:51:19 +00:00
Jaehwan Kim c3a9687a33 typo
SVN revision: 84072
2013-02-19 05:06:11 +00:00
ChunEon Park 2adf327237 elementary/naviframe - removed unused group and fixed wrong alias.
SVN revision: 84048
2013-02-18 10:21:11 +00:00
ChunEon Park fe09ea60c8 elemenatry - fixed typo
SVN revision: 84037
2013-02-18 06:07:12 +00:00
ChunEon Park 0d5a0dc6e6 elemenatry/widget - --printf
SVN revision: 84036
2013-02-18 05:15:53 +00:00
ChunEon Park 8c475fe1ab elementary/theme - Missed this in privouse commit.
Add watcher only edje_object_file is applied successfully.



SVN revision: 84035
2013-02-18 05:15:17 +00:00
ChunEon Park ade43adfd9 elementary/widgets - if the orient mode is changed, apply a default only if the style doesn't applied anything. other wise, use the preivouse one.
SVN revision: 84034
2013-02-18 05:13:58 +00:00
Mike Blumenkrantz 6fcab85ab0 forwardport previous entry commit for blocking blank hoversels
SVN revision: 84023
2013-02-17 14:36:00 +00:00
Mike Blumenkrantz 822f4e8429 ignore tab key focus changes in elm_win if ctrl/alt is pressed: the trunk version
SVN revision: 84021
2013-02-17 14:19:53 +00:00
Cedric BAIL 1aaa6e41e1 elementary: as previously stated sizeof (long) != sizeof (void*)
SVN revision: 84014
2013-02-17 03:53:02 +00:00
ChunEon Park f801eec4d2 elementary/naviframe - fix some trivial bugs.
SVN revision: 83998
2013-02-16 14:33:16 +00:00
ChunEon Park a69c304b39 elementary/naviframe - removed duplicated strings.
SVN revision: 83992
2013-02-16 14:16:50 +00:00
ChunEon Park 500fa3f34b elementary/widget - ++FIXME
SVN revision: 83991
2013-02-16 13:54:52 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Davide Andreoli 1f92ae407d elm external actionslider: missing param declaration
SVN revision: 83988
2013-02-16 13:01:31 +00:00
ChunEon Park 46f7abc6df elementary/naviframe - don't call the parent smart_theme. Actually navifram itself is nothing to do about theme.
SVN revision: 83986
2013-02-16 12:33:52 +00:00
ChunEon Park e91c97418c elementary/naviframe - improve the naviframe to not apply it's items style multiple time when theme or styles are changed.
SVN revision: 83985
2013-02-16 12:08:42 +00:00
Davide Andreoli 0bdf6191ea elm external clock: another type error. Big SPANK to who write and commit code without testing!!
SVN revision: 83984
2013-02-16 12:06:30 +00:00
Davide Andreoli 298fd8e16b elm external slider: min and max are double not string
SVN revision: 83982
2013-02-16 11:24:05 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
Cedric BAIL f6207619b3 elementary: Use eina_file_stat_ls() when listing profiles
The eina_file_stat_ls() function should be used instead of
eina_file_direct_ls() in _elm_config_profiles_list() - since it checks
for file types.

Patch by "Paulo C. A. Cavalcanti Jr" <paulo.cavalcanti@intel.com>


SVN revision: 83979
2013-02-16 10:25:42 +00:00
ChunEon Park f9734b72e0 elementary/popup - a workaround code to prevent a popup lost it's parent.
Terrible. Should be totally rewritten.



SVN revision: 83975
2013-02-16 08:52:10 +00:00
Daniel Juyung Seo 541ce8f603 elm panes: fixed unclear horizontal mode description.
SVN revision: 83974
2013-02-16 08:43:48 +00:00
Daniel Juyung Seo fd804d6153 elm elm_panes.c: fixed wrong eo description.
SVN revision: 83969
2013-02-16 06:07:22 +00:00
Daniel Juyung Seo 61348fd4d9 elm panes: fixed wrong signal name.
elm.panes.fixed/unfixed -> elm,panes,fixed/unfixed.
whoever added this signal should be spanked.
I left the signal emission from the code due to backward compatibility.
So there is no theme api break.
We should remove the previous one when we start EFL 2.0.

SVN revision: 83967
2013-02-16 05:37:44 +00:00
Daniel Juyung Seo 0bd279221f elm elm_panes.h: fixed wrong documentation about elm_panes_fixed_set/get.
SVN revision: 83966
2013-02-16 05:37:40 +00:00
Daniel Juyung Seo 146ae3d268 elm panes.edc: fixed formatting. keep the consistency with other edc codes.
SVN revision: 83965
2013-02-16 05:37:36 +00:00
Daniel Juyung Seo 9fd0cb4708 elm test_panes.c, panes_example.c: refactoring. use the panes in a better way.
1. do not use unnecessary global variable.
2. remember the last left pane size and set it later when double clicked again.
3. do not call elm_panes_content_left_size_get() twice.

SVN revision: 83963
2013-02-15 19:32:05 +00:00
Daniel Juyung Seo c9181018b5 elm test_panes.c: fixed formatting before working on the code.
SVN revision: 83962
2013-02-15 19:32:00 +00:00
ChunEon Park 1004d5c062 elementary/widget - null conditional check
SVN revision: 83956
2013-02-15 14:04:06 +00:00
ChunEon Park 156f7c284c elementary/popup - init the action area layout theme to not have a crash when popup style is changed before any action buttons set.
now elementary test -> popup -> transparent will be happy.



SVN revision: 83954
2013-02-15 13:30:16 +00:00
ChunEon Park a8c7d8e137 elementary - actually this fix was invalid in branches.
SVN revision: 83951
2013-02-15 12:59:02 +00:00
ChunEon Park 978cda4022 elementary/popup - fix popup to not unswallow invalid contents when the contents are deleted.
SVN revision: 83950
2013-02-15 12:55:43 +00:00
ChunEon Park 55d595b44e elementary/naviframe,button,label - support naviframe, button, label orientation mode
SVN revision: 83947
2013-02-15 11:22:09 +00:00
ChunEon Park cf2d0c9d6d elementary/widget - Apply current orientation mode styles. if it doesn't have, then apply the default.
Also whenever orientation mode is changed, the widget itself has orient signals.



SVN revision: 83945
2013-02-15 11:06:19 +00:00
Shinwoo Kim fdc3045369 [popup] popup is now a focusable object!!
[access] omit an object on the focus cycle which does not have access information.


SVN revision: 83943
2013-02-15 10:39:00 +00:00
Jaehwan Kim b254c7680b Change "up" to "clicked" in edc
SVN revision: 83937
2013-02-15 06:01:58 +00:00
Jaehwan Kim 2a4a111289 Add the reorder effect in Toolbar.
SVN revision: 83936
2013-02-15 05:37:53 +00:00
ChunEon Park 49ea2c7dd4 elementary/widget - don't set orient mode if the new value is same as previous one.
SVN revision: 83935
2013-02-15 05:27:09 +00:00
ChunEon Park cbaf59be98 elementary/widget - keep orient_mode has actual degree.
SVN revision: 83932
2013-02-15 04:45:53 +00:00
Davide Andreoli 6dc1294f60 elementary external slider: wasn not an int but an Evas_Coord...to be precise :)
SVN revision: 83925
2013-02-14 21:21:05 +00:00
Davide Andreoli 9005263ee8 elementary external slider: parameter span is an int not a bool
SVN revision: 83902
2013-02-14 19:06:25 +00:00
Daniel Juyung Seo bce05c0493 elm elm_interface_scrollable.c: fixed formatting.
Fixed formatting while reading the code.

SVN revision: 83886
2013-02-14 10:14:26 +00:00
Shinwoo Kim b534e20062 [access][ctxpopup][popup] parent could be any object such as elm_list which does
not know ctxpopup, popup as its child object in the focus_next();.



SVN revision: 83884
2013-02-14 09:20:54 +00:00
Shinwoo Kim 72991f6dfe I "accidently" fixed this bug in elm_access.
_elm_access_highlight_cycle sets access read_mode as EINA_TRUE
and then never set it back as EINA_FASLE,
which causes elm_widget_focus_steal not to be called when restoring focus tree.

...sorry for a lame explanation (somebody help me out!)

signed-off-by: Jaeun Choi jaeun_choi@naver.com


SVN revision: 83883
2013-02-14 08:41:18 +00:00
ChunEon Park afa738e3e6 elementary/widget - added widget orientation mode infra and 2 apis elm_object_orientation_mode_disabled_set(0, elm_object_orientation_mode_disabled_get()
Orientation Mode is used for widgets to change it's styles or to send signals
whenever it's window degree is changed. If the orientation mode is enabled
and the widget has different looks and styles for the window degree(0, 90,
180, 270), it will apply a style that is readied for the current degree,
otherwise, it will send signals to it's own edje to change it's any states if
the style doesn't be readied.



SVN revision: 83880
2013-02-14 05:38:26 +00:00
ChunEon Park 132df3ba04 elementary/win - removed duplicated logic.
SVN revision: 83868
2013-02-13 11:47:51 +00:00
ChunEon Park f45b4efac0 elementary/widget - for consistency, revised internal func names.
SVN revision: 83865
2013-02-13 11:02:36 +00:00
Jihoon Kim eb70a1ea43 elm: sync with AUTHOR
SVN revision: 83861
2013-02-12 23:27:04 +00:00
Carsten Haitzler 730986d1f1 unbreak hermet commit. :)
SVN revision: 83860
2013-02-12 22:04:30 +00:00
ChunEon Park 19c9d98d7e elementary/widget - added elm_widget_item_translate(). Now each item can be translated by calling this.
SVN revision: 83859
2013-02-12 15:14:38 +00:00
ChunEon Park fef0b0cadd elemenatry/widget - removed incorrect call in widget_translate.
SVN revision: 83858
2013-02-12 13:03:17 +00:00
ChunEon Park 34f27273f9 elementary - removed duplicated logic from translatable_part_text_set()/get().
SVN revision: 83857
2013-02-12 13:00:37 +00:00
ChunEon Park 09dc0877a0 elemenatry - replace elm_object_domain_translatable_text_part_set()/text_part_get() with elm_object_domain_transltable_part_text_set(), part_text_get()
SVN revision: 83856
2013-02-12 11:43:39 +00:00
Arvind R 8ba138ba2c From: Arvind R <arvino55@gmail.com>
Subject: Re: [e-users] 3 small corrections in elc_player

Hi,
1. remove __UNUSED__ for parameter that is used.
2. emit a "elm,player,play" signal as is done in _pause to keep the
state of pause/play buttons in sync.
3. Correct double_to_string which misses out subtracting hours to get
seconds.



SVN revision: 83855
2013-02-12 11:22:05 +00:00
Carsten Haitzler 533707cc6e let's make the player widget only udpate every 0.25 sec... or so form
playback info. :)



SVN revision: 83854
2013-02-12 11:10:55 +00:00