Commit Graph

7299 Commits

Author SHA1 Message Date
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