Cedric BAIL
a11beb0a96
* ecore_xcb: Fix key grab too.
...
SVN revision: 39518
2009-03-17 13:34:40 +00:00
Cedric BAIL
bff5617109
* ecore_x: Unbreak E17 use of ALT modifier. Bindings should work again.
...
SVN revision: 39517
2009-03-17 13:23:04 +00:00
Gustavo Sverzut Barbieri
bd6ef0cce1
add missing prototype.
...
SVN revision: 39516
2009-03-17 13:05:02 +00:00
Gustavo Sverzut Barbieri
56d1e979ce
fix docs and add clone and reversed iterator calls.
...
* docs: be clear if it's a copy or in-place.
* clone: add some apis to create a copy while operates, sort should
do the same.
* reversed iterator: new call to walk the list reversed, will make
life easier in some cases.
SVN revision: 39515
2009-03-17 12:52:38 +00:00
Cedric BAIL
c21896a948
* ecore_x_atoms: Refix spotted by Peter.
...
SVN revision: 39507
2009-03-16 17:33:30 +00:00
Cedric BAIL
8f9b260382
* ecore_evas_x: Remove now useless function.
...
SVN revision: 39506
2009-03-16 16:40:00 +00:00
Cedric BAIL
57e8d73fba
Let me introduce you to Ecore_Input. The idea is to share as much as possible event
...
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.
SVN revision: 39505
2009-03-16 16:24:43 +00:00
Cedric BAIL
f05eb71b29
* ecore_con_url: Add some constness.
...
SVN revision: 39504
2009-03-16 13:46:16 +00:00
Carsten Haitzler
09176167bd
more neon infra - just for "copies" right now. only 1 func filled in.
...
SVN revision: 39502
2009-03-16 10:50:37 +00:00
Carsten Haitzler
c173f09b34
1. oops - types on tslib fixes
...
2. sdl1.2 - optional...
SVN revision: 39486
2009-03-15 03:13:17 +00:00
Carsten Haitzler
ad895c3afd
and match new tslib flags
...
SVN revision: 39484
2009-03-15 02:48:32 +00:00
Carsten Haitzler
f13fb4b769
slightly better tslib checking - use pkgconfig first.
...
SVN revision: 39483
2009-03-15 02:46:24 +00:00
Vincent Torri
8153df719c
typo
...
SVN revision: 39482
2009-03-14 20:42:48 +00:00
Vincent Torri
f45226d6fe
AC_CHECK_HEADERS is not correctly used in evas_check_engine.m4.
...
The behavior of AC_CHECK_HEADERS is a bit strange: If one has
2 header files foo.h and bar.h and foo.h exists while bar.h
does not, then:
1) with
have headers="no"
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"])
the value of have_headers is "yes"
2) with
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"], [have_headers="no"])
the value of have_headers is "no"
SVN revision: 39479
2009-03-14 17:24:53 +00:00
Vincent Torri
b626953fc6
typo in header file name
...
SVN revision: 39476
2009-03-14 16:42:52 +00:00
Carsten Haitzler
eba0aaffd6
preliminary neon asm support. do NOT use!
...
SVN revision: 39474
2009-03-14 06:48:25 +00:00
Carsten Haitzler
b4465ec30a
use macros for lock/unlock in .c file
...
SVN revision: 39473
2009-03-14 05:08:08 +00:00
Vincent Torri
d9d7c7d23b
* update configure.ac so that default options are chosen according to the host
...
* fix requirements
* fix configuration on mac os x (problem with automake 1.9) and
add missing values/macro for quartz support
* small typo in ecore_evas_win32 api
* use m4 api in m4 files
SVN revision: 39471
2009-03-13 16:35:16 +00:00
Carsten Haitzler
a510f6a593
llvm complaint fix from Tiago Falcão
...
SVN revision: 39469
2009-03-13 16:12:24 +00:00
Carsten Haitzler
6e471e8dfb
handle mapping notify properly - patch from Olof Sjobergh
...
SVN revision: 39468
2009-03-13 15:55:34 +00:00
Carsten Haitzler
6bc4266805
patch from Tiago Falcão - unroll loops in evas a bit.
...
SVN revision: 39467
2009-03-13 15:18:39 +00:00
Gustavo Sverzut Barbieri
750bdfce3d
inlist: add count.
...
SVN revision: 39465
2009-03-13 11:32:56 +00:00
Carsten Haitzler
739db97356
1. cygwin fixes from booleanlabel@gmail.com
...
2. these are just generic fixes - so also fix 1 doc example too.
SVN revision: 39464
2009-03-13 10:53:07 +00:00
Carsten Haitzler
5e925c916e
patch from Gustavo F. Padovan - minor code cleanups (effectually cosmetic) :)
...
SVN revision: 39463
2009-03-13 10:42:04 +00:00
Carsten Haitzler
691aa040b9
strict-aliasing is gcc 3+ - apply to CFLAGS for libeina.
...
SVN revision: 39462
2009-03-13 10:24:45 +00:00
Carsten Haitzler
fea71a8859
patch from Lars Munch for abs input device support in ecore_fb
...
SVN revision: 39461
2009-03-13 09:47:43 +00:00
Carsten Haitzler
a63715c0c4
patch from julian - fix typos in docs.
...
SVN revision: 39460
2009-03-13 09:38:46 +00:00
Carsten Haitzler
603dc96699
oops - use macro for .h too
...
SVN revision: 39459
2009-03-13 09:34:46 +00:00
Carsten Haitzler
bb0e068fa1
use mutex instead of spinlock. older pthreads dont have spinlocks. also this
...
uses the same mutex macros used by the mutex on font objects, so it makes it
a bit simpler. old code is commented out for reference.
SVN revision: 39458
2009-03-13 09:32:42 +00:00
Vincent Torri
0dd51fa0cf
fix compilation on Windows XP (EAPI is not correctly set)
...
SVN revision: 39444
2009-03-10 22:44:36 +00:00
Vincent Torri
4dedbe0bb7
release the clipper only it has been created, that is in windowed mode
...
SVN revision: 39434
2009-03-10 17:55:43 +00:00
Cedric BAIL
7a0edc53f6
* eet/AUTHORS,
...
* eet/ChangeLog: Actually update ChangeLog and AUTHORS according to last work.
SVN revision: 39425
2009-03-09 17:56:42 +00:00
Cedric BAIL
bd0d413ffe
* eet/src/lib/eet_cipher.c: Report size as expected by API.
...
SVN revision: 39424
2009-03-09 15:52:14 +00:00
Vincent Torri
9ed772fd35
mask is a pixmap, not a drawable
...
SVN revision: 39404
2009-03-07 07:45:05 +00:00
Vincent Torri
5b5282ec3e
remove trailing spaces
...
SVN revision: 39403
2009-03-07 07:00:29 +00:00
Vincent Torri
fd3ec295bd
remove hack about unused parameter and use __UNUSED__ instead
...
SVN revision: 39402
2009-03-07 06:56:42 +00:00
Vincent Torri
0b5c7881a1
* fix possible se fault (spotted by Lars Munch)
...
* add some info when keys are pressed
SVN revision: 39393
2009-03-06 16:13:18 +00:00
Peter Wehrfritz
882e9214f1
remove superfluid list
...
SVN revision: 39380
2009-03-05 20:07:45 +00:00
Cedric BAIL
140a357fe6
* ecore: Remove debug code.
...
SVN revision: 39364
2009-03-04 12:40:50 +00:00
Cedric BAIL
775ecc6a05
* Move Ecore_Fd_Handler to Eina_Inlist.
...
SVN revision: 39360
2009-03-04 10:50:14 +00:00
Cedric BAIL
35ca381d4a
* ecore_con_url: Fix little typo and unbreak Ecore_Con_Url.
...
SVN revision: 39359
2009-03-04 10:49:23 +00:00
Gustavo Sverzut Barbieri
ba1e67fcd8
Add LRU to mime icons cache.
...
This should really remove unused items that would age forever in the
last, forcing old but not so to be evicted before them.
Fortunately it was not so complex to add, and should wait just 3
pointers more of space per node.
SVN revision: 39350
2009-03-03 22:38:21 +00:00
Cedric BAIL
ed6e29a5dc
* evas: Add some const.
...
SVN revision: 39345
2009-03-03 14:38:24 +00:00
Gustavo Sverzut Barbieri
200c92f82a
efreet mime types icon cache.
...
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().
Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.
Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:
Input: bla.edc
Extensions: edc edj eps png bmp
It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.
As I'm running out of time (4am, not much time left on this month), I
could use some help here.
SVN revision: 39343
2009-03-03 07:20:21 +00:00
Vincent Torri
5a8ce91119
fix warning when using some extensions defined in glext.h
...
SVN revision: 39341
2009-03-03 06:07:08 +00:00
Cedric BAIL
970a2eb7bd
eet: Including two times the same header is useless in the best case.
...
SVN revision: 39334
2009-03-02 15:39:10 +00:00
Cedric BAIL
1d1335498c
eet: Fix memleak during cipher.
...
SVN revision: 39331
2009-03-02 14:43:57 +00:00
Viktor Kojouharov
2b196bcc54
--oopsie in the min size calc of the flow layouts
...
SVN revision: 39330
2009-03-02 13:47:50 +00:00
Vincent Torri
3616db9aa6
optimize ddraw engine : when locking a surface, don't allow Windows
...
to suspend operations. expedite runs with around 7 points more than
without those flags on my computer
SVN revision: 39316
2009-03-01 21:09:39 +00:00
Viktor Kojouharov
a5a7e167d9
more accurate min size calculation for flow layouts
...
SVN revision: 39310
2009-03-01 16:27:03 +00:00
Jorge Luis Zapata Muga
07235befaa
+ Fix the precision when multiplying two fixed point numbers
...
SVN revision: 39307
2009-03-01 12:35:30 +00:00
Gustavo Sverzut Barbieri
87d5d0a037
Mark as changed when smooth scale flag changes.
...
This allows us to change to non-smooth on animations and then back to
smooth after animation is done.
SVN revision: 39300
2009-02-28 20:09:03 +00:00
Gustavo Sverzut Barbieri
071ad5b4aa
minor optimizations to box recalculation.
...
just recalculate when required, and just mark as required when layout
really changes.
SVN revision: 39299
2009-02-28 20:04:55 +00:00
Viktor Kojouharov
0a544a09d3
'box.min' for the edje box
...
SVN revision: 39298
2009-02-28 19:38:35 +00:00
Viktor Kojouharov
999e7c9c54
size min hints for the flow layouts
...
SVN revision: 39297
2009-02-28 19:33:30 +00:00
Gustavo Sverzut Barbieri
5be0dac611
Split files so we can avoid "defined but not used" warnings.
...
SVN revision: 39295
2009-02-28 18:47:17 +00:00
Gustavo Sverzut Barbieri
3fb821ca1d
shutdown cache, hope it works like in common/32 engine.
...
SVN revision: 39294
2009-02-28 18:36:18 +00:00
Viktor Kojouharov
1b197b9542
it actually makes sense to have them overlap on justify, so go back
...
SVN revision: 39293
2009-02-28 18:06:37 +00:00
Viktor Kojouharov
fee3b366bf
and also for the vertical layout
...
SVN revision: 39291
2009-02-28 17:56:06 +00:00
Viktor Kojouharov
6554ab44d6
fix smaller-box-than-items problem for horizontal layout
...
SVN revision: 39289
2009-02-28 17:50:15 +00:00
Gustavo Sverzut Barbieri
0cd52d626b
Fix flow layout if box size is smaller than required.
...
Reported and fix suggestion by Viktor Kojouharov.
SVN revision: 39286
2009-02-28 17:10:03 +00:00
Gustavo Sverzut Barbieri
e46171ee07
box: remove unused parameters
...
SVN revision: 39285
2009-02-28 17:07:10 +00:00
Lars Munch
0ae6187dee
Emotion fix after eina list changes
...
Fix emotion after eina list changes in commit r39195
Signed-off-by: Lars Munch <lars@segv.dk>
SVN revision: 39284
2009-02-28 16:12:13 +00:00
Lars Munch
b7969a2861
emotion vlc disable fix
...
When vlc was disable HAVE_VLC was undefined
Signed-off-by: Lars Munch <lars@segv.dk>
SVN revision: 39283
2009-02-28 16:06:42 +00:00
Vincent Torri
c5e64e50b7
fix comment
...
SVN revision: 39280
2009-02-28 13:02:17 +00:00
Vincent Torri
4e282b255e
automatic detection according to the host
...
SVN revision: 39279
2009-02-28 11:47:43 +00:00
Vincent Torri
6696a9c87b
* remove 'unused parameter' warnings
...
* i didn't touch glitz engine as it will certainly be disabled later
* i'll update windows engines later
SVN revision: 39274
2009-02-28 10:08:45 +00:00
Carsten Haitzler
9911c70dff
ECORE_EVAS_FPS_DEBUG now printfs useful data.
...
SVN revision: 39273
2009-02-28 07:54:47 +00:00
Gustavo Sverzut Barbieri
56e28f91b6
Remove last standing warnings.
...
SVN revision: 39269
2009-02-27 16:35:32 +00:00
Gustavo Sverzut Barbieri
59236beb8b
Oops, missing file.
...
GIT would help me avoid this mess.
SVN revision: 39268
2009-02-27 16:33:50 +00:00
Gustavo Sverzut Barbieri
e3cce7b79d
New macros, documentation and consistency for iterators and accessors.
...
EINA_ITERATOR_FOREACH() and EINA_ACCESSOR_FOREACH() are new macros to
help us forget about nasty C details (like cast to (void **)).
Document most iterators and accessors.
All iterators now set EINA_ERROR_OUT_OF_MEMORY if it's the case.
SVN revision: 39267
2009-02-27 16:32:22 +00:00
Gustavo Sverzut Barbieri
9a3570bfb9
Create macros to help initialize class structures.
...
also defined evas_smart_new() as deprecated.
SVN revision: 39266
2009-02-27 15:30:32 +00:00
Cedric BAIL
488d1beafd
* ecore_con_info: Fix typo preventing dns resolution,
...
fix error handling and use eina in one more place.
SVN revision: 39265
2009-02-27 14:53:57 +00:00
Gustavo Sverzut Barbieri
09f9cd39c5
Oops! forgot to test binaries and missed including config.h
...
SVN revision: 39261
2009-02-26 22:38:14 +00:00
Gustavo Sverzut Barbieri
ab2e35127f
Fix most compiler & clang warnings.
...
Left warnings regarding signed and unsigned comparison since
eina_list_count() returns unsigned, can use a cast in this return, but
not big deal for now.
By: Luis Felipe Strano Moraes & myself.
SVN revision: 39260
2009-02-26 22:35:38 +00:00
Gustavo Sverzut Barbieri
b95c69d2f5
Fix problem reported by clang.
...
TODO: we should review sign of length attributes and make them
consistent whenever possible.
By: Luis Felipe Strano Moraes
SVN revision: 39258
2009-02-26 22:14:14 +00:00
Gustavo Sverzut Barbieri
4a5c489216
Fix problem reported by clang.
...
By: Luis Felipe Strano Moraes
SVN revision: 39256
2009-02-26 22:02:00 +00:00
Cedric BAIL
452695bd6c
* efreet: Fix opening file.
...
SVN revision: 39246
2009-02-26 16:14:22 +00:00
Vincent Torri
7311be0ec4
fix some llvm reports
...
SVN revision: 39241
2009-02-26 07:46:57 +00:00
Carsten Haitzler
82bc9fb21d
other typo
...
SVN revision: 39240
2009-02-26 07:33:55 +00:00
Carsten Haitzler
1d7083de96
fix typo
...
SVN revision: 39239
2009-02-26 07:27:08 +00:00
Vincent Torri
5ea28a9f21
add more keyboard support on Windows CE
...
SVN revision: 39238
2009-02-26 07:24:50 +00:00
Vincent Torri
648fa70e12
fix warning with mingw32ce (getenv not declared)
...
fix compilation with mingw32ce (EAPI not correctly defined)
SVN revision: 39237
2009-02-26 07:08:12 +00:00
Gustavo Sverzut Barbieri
2bcea93a7c
Fix port to eina_list.
...
* efreet_desktop_command_build(): should consider the first
run. Before had a "first" toggle variable, which vanished with eina
port. I changed it to do {} while (), making it work again.
* exec string is already freed by callback (in e_exec.c), to keep old
behavior, just free the list with eina_list_free(). Just pay
attention to ecore_list and double check if they had a free
function set or not. If it didn't, then we should not free nodes!
SVN revision: 39228
2009-02-26 03:56:21 +00:00
Carsten Haitzler
7646b3e4af
fix custom icon dirs api so u CAN add to the icon dirs!
...
SVN revision: 39226
2009-02-26 03:46:35 +00:00
Vincent Torri
389a006871
does not return a value in function returning void
...
SVN revision: 39224
2009-02-25 23:39:59 +00:00
Vincent Torri
7dd1e9e055
remove more 'unused parameter' warnings
...
SVN revision: 39223
2009-02-25 23:39:19 +00:00
Vincent Torri
4d1961ac59
remove 'unused parameter' warning
...
SVN revision: 39222
2009-02-25 23:18:15 +00:00
Gustavo Sverzut Barbieri
aff2f5ebcf
Add reverse iterator macros for eina list.
...
SVN revision: 39218
2009-02-25 20:19:32 +00:00
Cedric BAIL
7e64baf165
* efreet: Prevent crash when no Efreet_Desktop are found.
...
SVN revision: 39214
2009-02-25 17:40:40 +00:00
Cedric BAIL
6ab6dbca0d
* edje: Remove snprintf("%i") for an eina itoa.
...
NOTE: When you just want to convert from an int to a string,
better use eina for that.
SVN revision: 39213
2009-02-25 17:08:17 +00:00
Cedric BAIL
0b41f0e138
* efreet: Fix previously broken efreet cache.
...
SVN revision: 39211
2009-02-25 16:46:51 +00:00
Gustavo Sverzut Barbieri
27f001875b
Fix EINA_INLIST_GET() macro.
...
now EINA_INLIST_GET(bla)->next will work, before it was like
&bla->__in_list->next
which is wrong, since __in_list is not a pointer, rather the memory itself.
SVN revision: 39210
2009-02-25 16:24:00 +00:00
Cedric BAIL
97d692ff18
* ecore/src/lib/ecore_ipc/ecore_ipc_private.h,
...
* ecore/src/lib/ecore_ipc/ecore_ipc.c: Remove Ecore_List2 from ecore_ipc.
SVN revision: 39207
2009-02-25 15:14:48 +00:00
Cedric BAIL
f527e4ddee
* ecore/src/lib/ecore_con/ecore_con.c: Fix some typo and include.
...
SVN revision: 39206
2009-02-25 15:03:59 +00:00
Cedric BAIL
2f05c62298
* ecore/src/lib/ecore_ipc/ecore_ipc_private.h: Oops, removed too much.
...
SVN revision: 39205
2009-02-25 14:58:16 +00:00
Cedric BAIL
6978e98dc6
* estickies,
...
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 11:03:47 +00:00
Cedric BAIL
e31b5e961e
* eina/src/lib/eina_list.c: Use less code.
...
* eina/src/lib/eina_error.c: Add a way to abord on any error message.
SVN revision: 39196
2009-02-25 10:46:14 +00:00
Cedric BAIL
e6065f6c1c
* emotion/src/modules/gstreamer: Move from Ecore_List to Eina_List.
...
SVN revision: 39195
2009-02-25 10:44:13 +00:00
Vincent Torri
725d8b4bfb
use pm instead of PAL_MODE_RGB666 when allocating colors
...
SVN revision: 39188
2009-02-25 07:24:53 +00:00
Gustavo Sverzut Barbieri
adab85b566
directfb: Oops, don't give bogus data to image_data.
...
This fixes changing image subareas with directfb engine and
eve/webkit-efl works fine.
Thanks to Gustavo Lima Chaves.
SVN revision: 39185
2009-02-24 22:46:45 +00:00
Gustavo Sverzut Barbieri
b8cf731e79
Fix ecore-evas-directfb feed of keyboard events.
...
This makes eve/webkit-efl work with directfb.
SVN revision: 39184
2009-02-24 22:43:57 +00:00
Vincent Torri
a3f6e333f9
include winsock2.h before Evil.h to avoid conflict with sys/time.h
...
when using Visual Studio
SVN revision: 39179
2009-02-24 17:44:59 +00:00
Vincent Torri
79b536dce8
initialize next_time to -1.0 by default.
...
this fix a problem on Windows: the ecore main loop
hanged because of GetMessage() if next_time had a
random value.
patch by Lars Munch
SVN revision: 39178
2009-02-24 17:26:26 +00:00
Vincent Torri
f344743dae
fix some warnings reported by llvm (see http://local.profusion.mobi:8081/~lfelipe/output-efl/ )
...
* mainly unused parameters
* in src/lib/imaging/evas_imaging.c, set font to NULL
* in src/lib/canvas/evas_object_gradient.c, add unititialized member
there are a *lot* of reported warnings by llvm, i'll fix them later
there are also *lots* of unused parameters (compile evas with -W). I'll
fix them later too
SVN revision: 39172
2009-02-24 08:31:31 +00:00
Vincent Torri
0af29b19d6
sync when needed
...
SVN revision: 39171
2009-02-24 07:06:14 +00:00
Vincent Torri
5fbc653df6
do not return in fullscreen_set() and use info log instead of error
...
SVN revision: 39155
2009-02-23 08:03:01 +00:00
Carsten Haitzler
842cadce24
update debug code.
...
SVN revision: 39154
2009-02-23 07:21:37 +00:00
Carsten Haitzler
fca6a09640
fix font cutout clip bug.
...
SVN revision: 39153
2009-02-23 07:20:21 +00:00
Vincent Torri
f5136b4b79
update m4 macro
...
SVN revision: 39152
2009-02-23 06:45:56 +00:00
Vincent Torri
df41327f29
use evil_time_get() instead of gettimeofday() when using Evil.
...
It's more precise and involves fewer computations
SVN revision: 39149
2009-02-22 19:21:36 +00:00
Vincent Torri
9d900b283a
* src/lib/evil_main.c:
...
* src/lib/evil_unistd.c:
* src/lib/evil_unistd.h:
Use high resolution timer for gettimeofday() and
export a convenient function for ecore_time_get(),
to save some computations.
* src/lib/evil_pwd.c:
Use the correct name for GetUserNameEx() according
to the platform.
SVN revision: 39148
2009-02-22 19:20:23 +00:00
Gustavo Sverzut Barbieri
8477bdb496
gstreamer v4l support to emotion
...
This patch adds gstreamer v4l support to emotion. If you got a webcam it can
be tested by doing:
emotion_test -gstreamer v4l://
This will use the first video device /dev/video0.
If you do not have a webcam, you can also try it using the Virtual Video driver
By: Lars Munch <lars@segv.dk>
SVN revision: 39147
2009-02-22 17:16:47 +00:00
Gustavo Sverzut Barbieri
31a7c3c0d2
Do not spam the user if no length available
...
Do not spam the user if no length available from gstreamer. This is the case
for webcams, streaming audio and video etc.
By: Lars Munch <lars@segv.dk>
SVN revision: 39146
2009-02-22 17:15:23 +00:00
Gustavo Sverzut Barbieri
1fbacf6f28
Use calloc instead of malloc
...
Use calloc instead of malloc. This will ensure that length in set to zero if no
length is provided from gstreamer.
By: Lars Munch <lars@segv.dk>
SVN revision: 39145
2009-02-22 17:14:44 +00:00
Jonathan Atton
2c65d61731
from vtorri:
...
too much return in ecore_win32_window.c
fix seg fault in ecore_evas_win32.c
SVN revision: 39144
2009-02-22 14:54:45 +00:00
Vincent Torri
fe8b378c87
fix xrender xcb engine
...
SVN revision: 39135
2009-02-22 11:24:08 +00:00
Carsten Haitzler
4907a1f07e
fix premul default value for tiff loader
...
SVN revision: 39134
2009-02-22 09:19:11 +00:00
Vincent Torri
95d32ad4ce
add log
...
SVN revision: 39130
2009-02-21 22:51:06 +00:00
Vincent Torri
7bb002f757
add log
...
formatting
SVN revision: 39129
2009-02-21 22:50:45 +00:00
Vincent Torri
2e8e1f9673
add log
...
SVN revision: 39124
2009-02-21 16:01:24 +00:00
Vincent Torri
776aefddb4
add log
...
SVN revision: 39123
2009-02-21 15:59:51 +00:00
Vincent Torri
373d55b48e
remove trailing spaces
...
SVN revision: 39117
2009-02-21 08:19:58 +00:00
Vincent Torri
a005e1000a
make gl engine able to use cutouts - in some cases its faster, some
...
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm. (synchronize with gl_x11 code)
SVN revision: 39116
2009-02-21 08:18:53 +00:00
Carsten Haitzler
7a74942b41
1. make software font draw code actually use cutouts.
...
2. make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm.
SVN revision: 39114
2009-02-21 03:13:49 +00:00
Cedric BAIL
b496774e9e
* eina/src/include/eina_list.h: Add a macro for freeing each element of an Eina_List.
...
SVN revision: 39109
2009-02-20 16:44:26 +00:00
Carsten Haitzler
ba7439878b
add string.h
...
SVN revision: 39107
2009-02-19 22:25:07 +00:00
Vincent Torri
15e0da2008
set _UNUSED__ to nothing for vc++
...
SVN revision: 39105
2009-02-19 21:13:20 +00:00
Vincent Torri
ca37104eb5
do not include unistd.h if vc++ is used
...
SVN revision: 39103
2009-02-19 20:31:21 +00:00
Vincent Torri
49f3d0134f
Include winsock2.h before time.h. Requested by vc++
...
SVN revision: 39102
2009-02-19 20:17:14 +00:00
Vincent Torri
e692591eea
set correctly the relative path of the extern directory,
...
so that it fits the one used in the tutorial.
SVN revision: 39101
2009-02-19 20:10:43 +00:00
Vincent Torri
a42a91cebc
include io.h when using vc++ (requested for _open())
...
SVN revision: 39100
2009-02-19 20:03:58 +00:00
Vincent Torri
6b19ce16aa
set correctly the relative path of the extern directory,
...
so that it fits the one used in the tutorial.
SVN revision: 39099
2009-02-19 19:48:03 +00:00
Vincent Torri
d39257b550
set correctly the relative path of the extern directory,
...
so that it fits the one used in the tutorial.
SVN revision: 39098
2009-02-19 19:46:04 +00:00
Vincent Torri
052e867c7b
missing header + move fcntl.h after sys/stat.h
...
SVN revision: 39093
2009-02-19 10:29:03 +00:00
Vincent Torri
1cd236068b
* force open to allow read and write permission of the user
...
when creating or reading edj files
SVN revision: 39092
2009-02-19 10:13:28 +00:00
Vincent Torri
16a444cb28
formatting
...
SVN revision: 39091
2009-02-19 08:15:23 +00:00
Carsten Haitzler
a56a138a2c
eek. loop time is wrong when using idlers heavily... leads to jerkybobos. fix!
...
SVN revision: 39087
2009-02-19 06:02:35 +00:00
Cedric BAIL
720a9efe71
* evas_object_image.c: Remove a warning and return 1 as a success.
...
SVN revision: 39060
2009-02-17 17:36:29 +00:00
Cedric BAIL
55cfc46ee2
* eina/m4/efl_pthread.m4,
...
* eina/src/modules/mp/chained_pool/Makefile.am,
* eina/src/modules/mp/chained_pool/eina_chained_mempool.c: Now chained mempool are thread safe.
SVN revision: 39058
2009-02-17 14:18:14 +00:00
Cedric BAIL
a98287fc07
* eina/src/lib/eina_module.c: After deleting all members, we should flush the array.
...
SVN revision: 39057
2009-02-17 12:58:09 +00:00
Carsten Haitzler
9062c9050a
and support obscured rects for clip-out if middle of bordered image set to
...
solid. speedup.
SVN revision: 39051
2009-02-17 04:53:03 +00:00
Vincent Torri
a66c46264c
* src/lib/evil_stdio.c:
...
replace / by \ in the path passed to fopen
SVN revision: 39036
2009-02-16 08:42:41 +00:00
Vincent Torri
860fc287c2
free correctly each buffer in XCB engine
...
The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage
SVN revision: 39024
2009-02-15 11:14:12 +00:00
Carsten Haitzler
c2f8ca5ccd
fix copy & paste bug!
...
SVN revision: 39022
2009-02-15 02:55:56 +00:00
Carsten Haitzler
bda789960a
fix minor bug in fill mode.
...
SVN revision: 39020
2009-02-15 02:53:24 +00:00
rephorm
a3fdd2ab4e
don't return NaN for hue if r=g=b
...
SVN revision: 39019
2009-02-15 01:53:02 +00:00
Vincent Torri
e17e1e8bb9
use Evil's gettimeofday() function instead of the fake one
...
in mingw. Fix animations on Windows XP and CE.
SVN revision: 39013
2009-02-13 23:09:15 +00:00
Cedric BAIL
630e5f1558
* evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.
...
SVN revision: 39003
2009-02-12 17:05:17 +00:00
Carsten Haitzler
c1af94ee4c
in theory.. support middle solid/default/none changes in evas
...
SVN revision: 39001
2009-02-12 13:39:15 +00:00
Carsten Haitzler
cb94c8fadd
in theory - (not tested yet) allow hitns to set middle to solid of
...
borderscaling.
SVN revision: 39000
2009-02-12 13:38:33 +00:00
Cedric BAIL
166c76146d
* evas/m4/ac_attribute.m4,
...
* evas/src/lib/canvas/evas_async_events.c: Fix long standing warning from valgrind.
SVN revision: 38996
2009-02-11 17:56:03 +00:00
Carsten Haitzler
6f2cb19f03
fix some min size calc and aspect calc issues.
...
SVN revision: 38994
2009-02-11 11:48:15 +00:00
Cedric BAIL
b70ae3c927
* evas/src/lib/include/evas_common.h,
...
* evas/src/lib/engines/common/evas_font.h,
* evas/src/lib/engines/common/evas_font_draw.c,
* evas/src/lib/engines/common/evas_font_load.c,
* evas/src/lib/engines/common/evas_font_query.c: Add cache for font kerning.
This patch give something around 2% for all tests around text in expedite,
except for Textblock Intl where it give a 3 times boost.
Regarding text rendering speed, something is strange when used by evas_pipe.
All tests using Styles are around 40% faster without evas_pipe. 30% faster
for Text Change. But Text Basic 7% slower. So it should be possible to have
faster rendering when using evas_pipe for font rendering.
SVN revision: 38993
2009-02-10 15:53:17 +00:00
Vincent Torri
757c5e757e
include windows.h. fix compilation when cross-compiling on linux
...
patch from Lars Munch
SVN revision: 38990
2009-02-10 07:53:16 +00:00
Chidambar Zinnoury
0e36edbdfc
Add some missing unused flags.
...
SVN revision: 38987
2009-02-09 20:46:12 +00:00
Cedric BAIL
5f0475267c
* eet/src/lib/Eet.h,
...
* eet/src/lib/eet_lib.c,
* eet/src/lib/eet_cipher.c,
* eet/src/lib/Eet_private.h: Add a function to retrieve SHA1 of an associated Eet_File.
Note: Sadly GnuTLS doesn't seem to provide a gnutls_x509_crt_verify_hash function.
SVN revision: 38982
2009-02-09 13:53:20 +00:00
Carsten Haitzler
29cad587b5
filter excess motion events
...
SVN revision: 38978
2009-02-09 11:16:56 +00:00
Vincent Torri
812f1e185f
add alloca declaration
...
SVN revision: 38977
2009-02-09 06:33:26 +00:00
Gustavo Sverzut Barbieri
24328d9738
Fix problems reported by some C++ compilers.
...
SVN revision: 38975
2009-02-09 01:11:27 +00:00
Chidambar Zinnoury
5b219a063c
Dead assignment. Reported by CLang.
...
SVN revision: 38970
2009-02-08 10:19:52 +00:00
Chidambar Zinnoury
6b162f8fe0
Useless check as it has already been dome some lines above.
...
SVN revision: 38967
2009-02-07 15:45:50 +00:00
Kim Woelders
584ff43a5c
Add _NET_WM_ACTION_ABOVE/BELOW.
...
SVN revision: 38962
2009-02-07 12:16:13 +00:00
Daniel Kolesa
1be050b7b8
Updated efreet debian stuff - for make doc.
...
SVN revision: 38960
2009-02-06 18:25:16 +00:00
Gustavo Sverzut Barbieri
2e809f845f
Interpolate text font size.
...
Often requested for animations that want to grow or shrink text
quickly. This is a faster alternative to using geometry with rel1/rel2
and "text.fit: 1 1;" since it does not need to figure out which size
fits better into that object.
I tested and it does not seem to introduce any regression. Also
checked with scale and text_class variations.
SVN revision: 38958
2009-02-05 18:15:34 +00:00
Gustavo Sverzut Barbieri
ad1af73d40
Do not inform callbacks that did not changed the state of object.
...
For some unknown reason evas was informing EVAS_CALLBACK_* even if the
original call did not changed the internal object state, that is, new
value is already equal to current value.
This is specially costly since Edje, Box, Table and possible other
layout engines will call evas_object_resize(), move(), show(), hide()
even if the state has not changed, assuming evas will ignore the call
(as it does). The real overhead might come if there are listeners
attached to these events, that in turn might do lots of other stuff,
leading to a torrent of useless calls.
I marked it for removal, please test it and uncomment '#define
CALLBACK_NOOPS' to get the old behavior back. It does seems to work
with e17 and edje_editor. If problems appear, let's try to fix the
real problem instead of getting this code back, it's a performance
penalty.
SVN revision: 38955
2009-02-05 14:37:58 +00:00
Gustavo Sverzut Barbieri
a6e8f2cd36
Do not recalculate table/box if size does not really changed.
...
SVN revision: 38950
2009-02-05 12:38:04 +00:00
Cedric BAIL
3f767e7cf8
* ecore/src/lib/ecore_evas/ecore_evas_quartz.c,
...
* ecore/src/lib/ecore_evas/ecore_evas_fb.c,
* ecore/src/lib/ecore_evas/ecore_evas_x.c,
* ecore/src/lib/ecore_evas/ecore_evas_directfb.c,
* ecore/src/lib/ecore_evas/ecore_evas_sdl.c: Prevent use of deleted object.
SVN revision: 38949
2009-02-05 10:45:52 +00:00
Vincent Torri
0ab2d474ef
fix dist rule
...
SVN revision: 38944
2009-02-04 19:55:04 +00:00
Carsten Haitzler
863f9c13f4
as ecore_x makes direct calls to xlib or xcb and xrender - link to them
...
directly.
SVN revision: 38933
2009-02-04 00:27:48 +00:00
Carsten Haitzler
5411f11877
allow ecore_x to use auto-repeat detection - if its in xlib.
...
SVN revision: 38932
2009-02-04 00:05:42 +00:00
Vincent Torri
e3b5fa3f12
fix dist rule
...
SVN revision: 38924
2009-02-03 17:54:04 +00:00
Cedric BAIL
2cad4f8082
* eina/src/lib/eina_array.c: Fix small typo.
...
SVN revision: 38921
2009-02-03 13:20:30 +00:00
Vincent Torri
10bcd5d186
add missing files
...
remove useless ones
SVN revision: 38913
2009-02-03 09:10:22 +00:00
Vincent Torri
e2df9c5c93
use 'make doc' for efreet
...
SVN revision: 38912
2009-02-03 09:03:53 +00:00
Carsten Haitzler
b6f51da478
allow individual objects to have differing scaling factors (object scale
...
overrides edje global scale)
SVN revision: 38908
2009-02-03 05:07:58 +00:00
Vincent Torri
43e8963919
Missing modification of the variable DOXYGEN to
...
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38897
2009-02-01 20:28:11 +00:00
Vincent Torri
f265bc43b2
Missing modification of the variable DOXYGEN to
...
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38896
2009-02-01 20:27:16 +00:00
Vincent Torri
a61119575a
Missing modification of the variable DOXYGEN to
...
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38895
2009-02-01 20:26:56 +00:00
Vincent Torri
ff10defecc
Missing modification of the variable DOXYGEN to
...
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38894
2009-02-01 20:26:08 +00:00
Vincent Torri
3015ea63ac
Missing modification of the variable DOXYGEN to
...
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38893
2009-02-01 20:25:19 +00:00
Vincent Torri
4fc823bdc9
* fix logic in efl_doxygen.m4
...
* allow aclocal to check for modifications of the m4 macros in m4/
SVN revision: 38892
2009-02-01 20:21:56 +00:00
Vincent Torri
715f0f8758
* doc/Makefile.am:
...
* m4/efl_doxygen.m4:
Missing modification of the variable DOXYGEN to
efl_doxygen. Spotted by Albin Tonnerre (Lutin).
SVN revision: 38891
2009-02-01 20:20:29 +00:00
Eric Schuele
0c8c30bddc
FreeBSD requires these includes.
...
SVN revision: 38889
2009-02-01 15:02:36 +00:00
Vincent Torri
f15f2c1c64
* m4/efl_doxygen.m4:
...
fix logic in efl_doxygen.m4
SVN revision: 38880
2009-02-01 06:55:53 +00:00
Vincent Torri
f747799981
fix logic in efl_doxygen.m4
...
SVN revision: 38879
2009-02-01 06:53:30 +00:00
Vincent Torri
d1ab2cb53e
fix logic in efl_doxygen.m4
...
SVN revision: 38878
2009-02-01 06:53:09 +00:00
Vincent Torri
ad4876b64d
fix logic in efl_doxygen.m4
...
SVN revision: 38877
2009-02-01 06:52:37 +00:00
Vincent Torri
c65e27de30
fix logic in efl_doxygen.m4
...
SVN revision: 38876
2009-02-01 06:52:11 +00:00
Vincent Torri
6364a1b9da
check doxygen availability only if we enable documentation build
...
SVN revision: 38866
2009-01-31 20:18:51 +00:00
Vincent Torri
29b0f87503
uniformize the inclusion of config.h
...
SVN revision: 38865
2009-01-31 18:56:17 +00:00
Vincent Torri
e18508b701
remove a bit the mess n ecore. It's just the first patch...
...
* add vim header
* include config.h when necessary
* fix the order of some include
* move the standard header in ecore_private.h to the source files
I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.
SVN revision: 38864
2009-01-31 18:33:39 +00:00
Cedric BAIL
fa452d770d
* eet/src/lib/eet_cipher.c: Fix a corrupted pointer use.
...
SVN revision: 38856
2009-01-30 13:50:01 +00:00
Vincent Torri
cda565a38e
* more doc in the tutorial of the array data type
...
* minor formatting
SVN revision: 38853
2009-01-29 23:16:23 +00:00
Carsten Haitzler
2025e3db2b
check for null inputs in imaging and dont segv if u get them
...
SVN revision: 38851
2009-01-29 23:01:24 +00:00
Vincent Torri
76853a3e6c
make the direct3d engine working with d3dx9 header files
...
from Microsoft SDK (november 2008)
Patch by Roberto Huelga (modified + minor improvements)
SVN revision: 38850
2009-01-29 21:32:26 +00:00
Gustavo Sverzut Barbieri
66b3a0a0f1
load_size option now accept -1xH or Wx-1
...
If one want to load image at a given height or width and the other
dimension should be large enough to make it possible, give -1 as the
other coordinate and this will happen.
SVN revision: 38845
2009-01-29 16:45:14 +00:00
Jorge Luis Zapata Muga
01ea61f11d
+ Remove unlikely macro debug
...
SVN revision: 38840
2009-01-29 13:06:46 +00:00
Carsten Haitzler
b00bae1d92
a really simple hash cache for icon finds - this massively makes stuff faster
...
for app dialogs etc. yes - it uses ram. thats next - make it leaner on ram
usage. its simple enough now where that shouldnt be a problem.
SVN revision: 38839
2009-01-29 07:36:58 +00:00
Jorge Luis Zapata Muga
d508c49684
+ Make the tiler functions static
...
+ Make the iterator actually work: keep track of current node
SVN revision: 38833
2009-01-28 20:01:42 +00:00