Daniel Juyung Seo
8723a085e0
elm_photocam.c: ELM_SAFE_FREE adoption.
...
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:05:37 +09:00
Daniel Juyung Seo
5f053bf79a
elm: refactoring. use more ELM_FREE_FUNC.
2013-05-23 15:54:49 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
Daniel Zaoui
187d6bf8de
Elementary: replace eo_data_get for objects data referencing.
2013-05-01 11:04:09 +03:00
Daniel Juyung Seo
74b3eed5fd
elm: print the error message inside elm_widget_sub_object_add().
...
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
Elm devs should fix it beforehand.
So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Daniel Juyung Seo
78c042cdbe
elm *.c: fixed formatting with EINA_LIST_FREE.
...
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Jaehwan Kim
d58d971e6f
Add the option about sending signals in content_pos_set.
...
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09: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
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
Daniel Zaoui
cdd1eea853
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo
ffa9c1e793
elm: Refactoring.
...
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.
SVN revision: 82228
2013-01-04 19:10:19 +00:00
Jiyoun Park
2b6e8f8384
sorry indentation
...
SVN revision: 81781
2012-12-28 03:59:36 +00:00
Jiyoun Park
831f70a845
fix elm_photocam file set's error handle code
...
SVN revision: 81779
2012-12-28 03:54:24 +00:00
Yakov Goldberg
5c98343198
We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo
30dba54610
elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
...
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves
39ebd3a128
[elm] Photocam now inheritable.
...
SVN revision: 74606
2012-07-30 22:36:06 +00:00
Gustavo Lima Chaves
a2f1c95825
[elm] Fix on focus handle on photocam.
...
SVN revision: 74255
2012-07-20 14:58:33 +00:00
Gustavo Lima Chaves
584c53c1be
[elm] New elm_widget_add() usage spread.
...
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves
0d1638272e
[elm] More initting code placement fix -- photocam.
...
SVN revision: 74001
2012-07-17 16:38:07 +00:00
Gustavo Lima Chaves
fffbdfce6a
[elm] Elm photocam on scrollable iface, now.
...
SVN revision: 73311
2012-07-04 21:43:29 +00:00
Jihoon Kim
7046f87e3a
elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
...
SVN revision: 69952
2012-04-06 10:34:03 +00:00
Jiyoun Park
9ce3da3627
remove deprecated code related with
...
elm_photocam_region_
elm_photocam_gesture_
function.
SVN revision: 69224
2012-03-12 07:06:43 +00:00
Mikael SANS
44fa969639
elementary/elm_photocam: change api name and add 'do_gesture' variable
...
SVN revision: 68859
2012-03-06 23:56:02 +00:00
Mikael SANS
f81590a0be
elementary/elm_photocam: add multi-touch zoom gesture
...
SVN revision: 68426
2012-02-24 17:58:29 +00:00
Sanjeev BA
8a496e93ab
Fix elm_photocam API and cnp documentation.
...
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>
SVN revision: 68373
2012-02-24 02:26:03 +00:00
Michael BOUCHAUD
631ed501c5
elementary: photocam fix region get, here x and y can be negative
...
SVN revision: 66328
2011-12-19 10:06:32 +00:00
Michael BOUCHAUD
a5f7da8e7a
elementary: photocam fix calc of zoom, need a double here
...
SVN revision: 66327
2011-12-19 10:00:25 +00:00
Michael BOUCHAUD
118ef0bbf8
elementary: now photocam support all image formats (if evas support it sure :D)
...
SVN revision: 66229
2011-12-14 21:03:55 +00:00
Michael BOUCHAUD
17cdac8d95
elementary: add ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN a new policy for zoom in elm_photocam
...
SVN revision: 65958
2011-12-06 15:11:59 +00:00
RAJEEV RANJAN
3983da5dbf
elementary/photocam - [E-devel] [Patch] elm_photocam patch
...
a. Handled memory allocation failure in function grid_create inside source file src/lib/elm_photocam.c of package elementary.
b. Fixed Memory leak in functiongrid_create due to return without releasing memory allocated for variable g of type Grid *.
Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65698
2011-11-30 00:12:10 +00:00
Michael BOUCHAUD
1397db8791
elementary: typo
...
SVN revision: 64695
2011-11-03 13:26:55 +00:00
Michael BOUCHAUD
757ea6981d
elementary: fix typo
...
SVN revision: 64411
2011-10-26 09:31:07 +00:00
Mike McCormack
beafec3884
elementary: Improve include file modularity
...
Move stuff out of elm_priv.h
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63900
2011-10-07 05:56:07 +00:00
Cedric BAIL
2a43cf8486
elementary: automatically rotate image using exif information.
...
Patch by Jiyoun Park <jy0703.park@samsung.com>
SVN revision: 63661
2011-09-29 09:03:16 +00:00
Jonas M. Gastal
53c54e0b6d
Elementary: photocam documentation.
...
SVN revision: 61821
2011-07-27 20:36:47 +00:00
Daniel Juyung Seo
dffab59e5e
elm genlist, photocam, map: Fixed wrong signal emitting.
...
SVN revision: 60325
2011-06-15 05:30:23 +00:00
ChunEon Park
9420b44918
elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
...
made them use signal callbacks description table.
removed never-called signals
updated doxygen.
SVN revision: 58816
2011-04-22 00:42:32 +00:00
Daniel Juyung Seo
77450413d7
Elementary src/lib: Removed all trailing whitespaces.
...
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park
3761fc17f5
elementary / menu, gengrid, slider, separator, photocam, index, toggle
...
updated signal callback list in the doxygen
SVN revision: 58347
2011-04-05 07:04:09 +00:00
ChunEon Park
c7c99ddea6
elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
...
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector
updated signal callback list in the doxygen.
should update genlist, progressbar ...
SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park
5176a3f867
elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
...
fixed indentation, removed white spaces.
SVN revision: 58267
2011-04-01 19:08:56 +00:00
ChunEon Park
711b428aae
elementary / slider, radio, separator, photocam, photo, store, scroller, slideshow, spinner, progressbar - removed white spacesw
...
SVN revision: 58250
2011-04-01 11:24:15 +00:00
Carsten Haitzler
f74c18a02e
make all widgets use a standard setup macro. cuts code down and
...
handles null parent errors, null wd alloc, null obj create errors etc.
SVN revision: 58242
2011-04-01 06:08:02 +00:00
suxia li
58508d43d3
From: suxia li <suxia.li@samsung.com>
...
Subject: [E-devel] Patch for photocam elm_photocam_file_set
hello, i made a patch for photocam, because i found a bug that
sometimes grid_clearall is done after image preload process, but it
should be done before image preload process, otherwise, only low
quality image is loaded.
Please have a check, thanks~
SVN revision: 58083
2011-03-25 04:33:51 +00:00
김지훈
ccfcd3ed74
From: 김지훈 <imfine98@gmail.com>
...
elm_photocam widget does not support keyboard input.
This patch makes elm_photocam be able to process keyboard input such
as Left,
Right, Up, Down, PgDn, and PgUp key.
In addition, image will be zoomed in or out when '+' or '-' key in
keypad is pressed.
Please review it and let me know if there is any problem in this patch.
SVN revision: 55842
2011-01-04 10:09:48 +00:00
3v1n0
ff67ce31fb
Always check for valid evas object.
...
If you try to create a new widget, you must be sure that the parent
is really an evas object.
With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).
SVN revision: 55521
2010-12-12 19:12:43 +00:00
WooHyun Jung
34a3ad17b9
From: WooHyun Jung <wh0705.jung@samsung.com>
...
Subject: [E-devel] [PATCH] Some modifications for adapting
elm_longpress_timeout_get().
I made a patch for adapting elm_longpress_timeout_get() function to all
winsets, using long press event.
And I checked one warning in elm_entry.c , so I modified it.
SVN revision: 55339
2010-12-07 05:04:45 +00:00
helen
030b697366
EINA_SAFETY_ON_NULL_RETURN
...
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary
SVN revision: 55188
2010-12-03 14:08:33 +00:00
helen
b994341879
func _pan_min_get, setting the parameter obj as unused
...
In this functions, the first parameter obj is not used, adding
__UNUSED__ to them
SVN revision: 55011
2010-11-26 13:35:30 +00:00
Rafael Fonseca
f66f9b341e
Make it possible to use origin besides (0,0) for pan object.
...
Although some widgets are modified in this patch there should not be any visible
change. Actually this patch is intended to fix a Gengrid issue (patch following).
In Gengrid when the items were bigger than the grid itself the scroll would not
work correctly when the alignment was other than 0.0. That happened because the
smart scroller object was assuming the pan origin to be (0,0) and doing some
miscalculations based on that.
SVN revision: 54902
2010-11-23 20:20:41 +00:00
Bruno Dilly
77fbb50118
Add bounce setter/getter to elm_photocam
...
By: Li Suxia <suxia.li@samsung.com>
SVN revision: 54146
2010-11-04 12:19:00 +00:00
Tiago Rezende Campos Falcao
ca382f2316
Explicit the correct return value type
...
SVN revision: 53957
2010-10-28 13:38:59 +00:00
Tiago Rezende Campos Falcao
4672a51b0c
Remove tests == 0 and != 0
...
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Rafael Fonseca
a7790e9dd7
Better way of setting bounce from profile.
...
Change pointed out by k-s.
SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca
3eaa37aa3b
Use bounce information from profile in the scrollers.
...
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.
SVN revision: 53730
2010-10-21 18:54:47 +00:00
Tiago Rezende Campos Falcao
8ca4d18a0b
Fixing can_focus to the widgets
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
widgets:
anchorblock: can_focus = EINA_TRUE
anchorview: can_focus = EINA_TRUE
fileselector: can_focus = EINA_FALSE
hoversel: can_focus = EINA_FALSE
notepad: can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble: can_focus = EINA_FALSE
calendar: can_focus = EINA_TRUE
clock: can_focus = EINA_TRUE
conformant: can_focus = EINA_FALSE
flip: can_focus = EINA_FALSE
frame: can_focus = EINA_FALSE
gengrid: can_focus = EINA_TRUE
genlist: can_focus = EINA_TRUE
index: can_focus = EINA_FALSE
list: can_focus = EINA_TRUE
layout: can_focus = EINA_FALSE
map: can_focus = EINA_TRUE
mapbuf: can_focus = EINA_FALSE
menu: can_focus = EINA_FALSE
notify: can_focus = EINA_FALSE
pager: can_focus = EINA_FALSE
panes: can_focus = EINA_FALSE
progressbar: can_focus = EINA_FALSE
photocam: can_focus = EINA_TRUE
scroller: can_focus = EINA_TRUE
table: can_focus = EINA_FALSE
thumb: can_focus = EINA_FALSE
win: can_focus = EINA_FALSE
SVN revision: 52888
2010-09-29 12:22:30 +00:00
김지훈
d99918389f
From: 김지훈 <imfine98@gmail.com>
...
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.
SVN revision: 52839
2010-09-28 04:28:14 +00:00
Bruno Dilly
89f23acadc
Remove some dead assignments from elementary
...
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Lucas De Marchi
3e8419285d
Fix common misspellings
...
Following misspellings were fixed:
accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful
SVN revision: 52009
2010-09-09 00:35:43 +00:00
Cedric BAIL
bdf6efa129
* elementary: fix Ecore API changes.
...
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Fabiano Fidêncio
7746e8b514
From: Fabiano Fidêncio <fidencio@profusion.mobi>
...
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...
SVN revision: 49470
2010-06-05 13:12:45 +00:00
Carsten Haitzler
d888b71dba
theme -> can specify a new theme for an object andit gets inherited. need to
...
add tests.
SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler
6ef532ddae
and do the other instances too.
...
SVN revision: 48668
2010-05-07 13:24:29 +00:00
Boris Faure
1ca26086db
elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
...
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Tiago Rezende Campos Falcao
58ffdf8254
Fix some bugs in Genlist/Photocam. By Fidencio
...
Author: Fabiano Fidêncio <fidencio at profusion.mobi>
SVN revision: 47823
2010-04-07 21:30:54 +00:00
Gustavo Sverzut Barbieri
06d14ed245
const and -Wextra, come on guys! :-/
...
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler
9705f7dbe1
(remove useless edje_object_scale_sets's on objects that are not edje objects)
...
but more importantly - fix list to actually have a specific theme/base for it
SVN revision: 47381
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri
e01d72fe26
Use eina_stringshare_replace to avoid crashes.
...
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
2010-03-13 21:01:26 +00:00
Vincent Torri
b07e49d435
remove unused parameter in the library.
...
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler
6e5836950a
warning-- more
...
SVN revision: 47078
2010-03-09 14:42:41 +00:00
Carsten Haitzler
91e01aa86e
patch from discomfitor <- check type of widget on api call and return if not
...
the right type
SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler
dd7ed79b3c
add test for floating objects (they can slide in etc. andnot be already
...
packed inside the view) and... fix issues with pan based objects clipping to
vieport etc. etc.
SVN revision: 45542
2010-01-25 03:53:36 +00:00
Carsten Haitzler
193e853586
get photocam image for event goop
...
SVN revision: 45321
2010-01-19 08:24:07 +00:00
Carsten Haitzler
82ab409f96
also use canvas as live-region for pan contents like genlist
...
SVN revision: 45277
2010-01-18 06:44:56 +00:00
Jonathan Atton
04242f0952
Elm Photocam : Fix the zoom.
...
SVN revision: 43751
2009-11-17 15:55:59 +00:00
Gustavo Sverzut Barbieri
24d6072ecc
fix valgrind reported problems.
...
GENERAL WARNING:
do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.
Fixed all occurrences I've spotted with valgrind. Please do not add more :-)
SVN revision: 43682
2009-11-13 22:22:05 +00:00
Jonathan Atton
28e2b8664c
Photocam: set the type of the widget
...
SVN revision: 43633
2009-11-12 19:23:44 +00:00
Carsten Haitzler
015304b20b
add paused state to photocam to allow for instance changes of zoom level when
...
desired.
SVN revision: 43072
2009-10-14 14:03:42 +00:00
Carsten Haitzler
f0fbc554e3
fix fit with small images.
...
SVN revision: 43071
2009-10-14 09:22:20 +00:00
Carsten Haitzler
c3ccf673e8
1. add signal emits for scrolling in photocam
...
2. standardise all callback names to be x,y,z etc. if they have multiple words.
3. add cal to get the region viewed
4. test photocams signals and new call
SVN revision: 43069
2009-10-14 08:41:36 +00:00
Carsten Haitzler
0648ca2875
photocam -> allow zoom as a double and allow all values > 0.0 for zoom for
...
variable zoom levels.
SVN revision: 43066
2009-10-14 03:23:03 +00:00
Carsten Haitzler
3c422f238d
printf--
...
SVN revision: 43008
2009-10-11 03:10:52 +00:00
Carsten Haitzler
08d2f2b3f7
fix scrolling in genlist and photocam
...
SVN revision: 43007
2009-10-11 03:10:36 +00:00
Jonathan Atton
6b56241c3a
elm photocam : add file_get()> elm slideshow test : fix a bug
...
SVN revision: 42857
2009-10-02 13:03:57 +00:00
Carsten Haitzler
448f7575f2
add zoom param to docs
...
SVN revision: 42815
2009-09-30 09:25:28 +00:00
Christopher Michael
96c5a5ab5e
fix formatting of divide by 0 'fix'.
...
No need to get the minw & minh if we are just going to set it to -1 anyway.
SVN revision: 42785
2009-09-28 22:18:03 +00:00
Jonathan Atton
d3a677e5d9
elm photocam: fix a case of divide by 0
...
SVN revision: 42784
2009-09-28 22:05:37 +00:00
Carsten Haitzler
c880a4f5ba
and a lot more added to photocam + test code
...
SVN revision: 42693
2009-09-25 09:26:04 +00:00
Carsten Haitzler
fdb8792448
and add doce for photocam. and a todo of less essential features
...
SVN revision: 42677
2009-09-24 13:57:04 +00:00
Carsten Haitzler
cd712671a6
clean up nicer
...
SVN revision: 42676
2009-09-24 13:20:46 +00:00
Carsten Haitzler
9cf54a3efb
and fit handles resizes.. as will fill...
...
SVN revision: 42675
2009-09-24 13:10:42 +00:00
Carsten Haitzler
5b0a120ea4
other zoom modes work now.
...
SVN revision: 42669
2009-09-24 08:55:12 +00:00
Carsten Haitzler
c9036091d4
make these friction and config values
...
SVN revision: 42667
2009-09-24 07:35:54 +00:00
Carsten Haitzler
a58e9e3d24
and zoom actually works dynamically
...
SVN revision: 42665
2009-09-24 07:17:52 +00:00
Carsten Haitzler
08dffc73e4
some zooming working dynamically
...
SVN revision: 42642
2009-09-23 08:19:03 +00:00
Carsten Haitzler
8c7e32b63b
add api calls (non-functioning), remove unneeded objects, turn off smooth
...
scaling while scrolling around
SVN revision: 42619
2009-09-22 14:04:09 +00:00
Carsten Haitzler
300e17b48d
can use specific zoom level now just fine... need to make it dynamic next
...
SVN revision: 42618
2009-09-22 11:06:26 +00:00