Commit Graph

7234 Commits

Author SHA1 Message Date
Daniel Kolesa 47d3a66c13 i found it is useless and cdbs is setting up prefix automatically.
SVN revision: 39695
2009-03-24 19:56:43 +00:00
Daniel Kolesa 510ec92901 forgot to add --prefix=/usr
SVN revision: 39694
2009-03-24 19:51:00 +00:00
Daniel Kolesa 1bce155f0f Updated debian stuff everywhere.
SVN revision: 39693
2009-03-24 19:44:57 +00:00
Vincent Torri d5f95685fa update configure output wrt the xrender merge
SVN revision: 39681
2009-03-24 14:48:59 +00:00
Vincent Torri 98e76f6280 use unsigned int for bit fields, as suggested by Gustavo
SVN revision: 39677
2009-03-24 11:44:19 +00:00
Vincent Torri 96a8e95ec4 disable cairo and qtopia engines for the release.
the code is not removed, only commented


SVN revision: 39676
2009-03-24 10:47:39 +00:00
Viktor Kojouharov a23cf08162 name window pixmap function in composite
SVN revision: 39674
2009-03-24 10:41:36 +00:00
Vincent Torri d4ea61023e guard the xcb function declarations
SVN revision: 39673
2009-03-24 10:26:14 +00:00
Vincent Torri 5953f89d21 remove the gliz engine:
* it never really worked
 * glitz is not maintained anymore (latest snapshot in january 2005)


SVN revision: 39672
2009-03-24 10:21:34 +00:00
Vincent Torri b61328192f API break (well, kind of...)
* evas_engine_info_set() returns now an int, to inform if
   an error occured or not when setting the info of the engine.
 * in the Evas_Func structure, the setup() method returns an int
 * all the engines are updated

I'll fix ecore_evas and ewl later (the compilation is still fine).

Gustavo: should I add EINA_WARN_UNUSED_RESULT at the end of the
evas_engine_info_set() function ?



SVN revision: 39670
2009-03-24 09:05:32 +00:00
Vincent Torri 9a074ec131 remove xrender xcb directory (useless since the merge)
SVN revision: 39669
2009-03-24 08:11:25 +00:00
Vincent Torri e402cd49eb use the new merged xrender engine
SVN revision: 39667
2009-03-24 07:53:31 +00:00
Vincent Torri 26a85d87f5 merge of the xrender Xlib and XCB engines
SVN revision: 39665
2009-03-24 07:44:54 +00:00
Vincent Torri 8b7a4fd16e Use an enum for the backend
SVN revision: 39664
2009-03-24 07:36:46 +00:00
Vincent Torri 309606b2dd use variadic macros, as suggested by Gustavo
SVN revision: 39663
2009-03-24 07:10:46 +00:00
Vincent Torri 7e809db9c8 fix some llvm report
SVN revision: 39657
2009-03-23 20:36:10 +00:00
Vincent Torri 3e94ac52b6 * API BREAK: ecore_gc_new can create now a graphic context
with all the values that the X protocol allows. See
   documentation for more info about its use
 * use it in ecore_evas


SVN revision: 39654
2009-03-23 13:28:59 +00:00
Carsten Haitzler 34822db882 menu segv fix! my bad! overzealous freeing
SVN revision: 39653
2009-03-23 13:16:10 +00:00
Vincent Torri 908a722bfa more leak fixes
SVN revision: 39650
2009-03-23 12:19:31 +00:00
Carsten Haitzler ddb11ee846 leaks--! this code is riddled with leaks! really really bad!
SVN revision: 39647
2009-03-23 10:27:54 +00:00
Carsten Haitzler 19802a5705 leak--!
SVN revision: 39645
2009-03-23 10:02:26 +00:00
Vincent Torri a7dfd144ac formatting
SVN revision: 39643
2009-03-23 04:58:31 +00:00
Carsten Haitzler d38a2a9488 new timer add func - avoids more gettimeofday calls.
SVN revision: 39638
2009-03-23 02:13:50 +00:00
Gustavo Sverzut Barbieri 5d557c78ff oops, fix wrong attributes.
SVN revision: 39637
2009-03-22 21:40:52 +00:00
Gustavo Sverzut Barbieri 354b23a12e Make ecore_x_selection a bit more generic, at least on event reporting.
SVN revision: 39633
2009-03-22 18:19:17 +00:00
Carsten Haitzler 338881b454 edje explicit selection mode is saner now. done - for now. workable.
SVN revision: 39628
2009-03-22 13:50:53 +00:00
Vincent Torri 842c9843ec Fix compilation on OpenBSD (bug #250). Patch by eumel.
SVN revision: 39627
2009-03-22 13:40:28 +00:00
Vincent Torri c8702ccfa6 Fix compilation on OpenBSD (bug #251). Patch by eumel.
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Vincent Torri 36bbb31389 Fix compilation on OpenBSD (ticket #252). Patch by eumel
SVN revision: 39625
2009-03-22 13:30:52 +00:00
Vincent Torri 98fb9f9826 remove trailing spaces
SVN revision: 39624
2009-03-22 13:27:24 +00:00
Vincent Torri 2b1fe0c3b9 change the variable near to lnear, as it seems
that it's a keyword on Windows...


SVN revision: 39621
2009-03-22 12:22:39 +00:00
Vincent Torri 6c0dbf9f50 remove trailing spaces
SVN revision: 39620
2009-03-22 11:31:54 +00:00
Vincent Torri a4e10df2c8 include config.h so that __UNUSED__ is defined
SVN revision: 39619
2009-03-22 11:31:11 +00:00
Vincent Torri 91c7e2c0d2 fix test
SVN revision: 39618
2009-03-22 09:56:43 +00:00
Vincent Torri 462198ea40 * add guards around config.h
* formatting


SVN revision: 39617
2009-03-22 07:22:06 +00:00
Vincent Torri e1986575b3 fix EAPI value on Windows
SVN revision: 39616
2009-03-22 07:19:07 +00:00
Vincent Torri d5f0588c67 as the XCB and Xlib software engines have merged, the
"software_xcb" render method does not exist anymore.


SVN revision: 39612
2009-03-21 20:32:02 +00:00
Vincent Torri b3c2562b52 fix some key values for the keyboard events
SVN revision: 39611
2009-03-21 20:08:51 +00:00
Gustavo Sverzut Barbieri 122566bac4 fix efreet signedness issues.
char is unsigned on ARM and other platforms, force some types to be
signed as they can hold negative values.

By: Albin Tonnerre


SVN revision: 39610
2009-03-21 17:00:55 +00:00
Carsten Haitzler 4ee9e854d5 fix build problem.. how did this get in - 2 funcs of the same name, one
static.. one not?



SVN revision: 39604
2009-03-21 00:39:02 +00:00
Carsten Haitzler 4218f905f5 add more util calls for enty manipulation
SVN revision: 39600
2009-03-20 15:07:39 +00:00
Vincent Torri 3a774f6971 * Re-add EAPI. These macros must be defined specifically for each EFL
for Windows (XP and CE).
 * include Eina.h before EAPI so that this latter is defined correctly for Evas


SVN revision: 39599
2009-03-20 06:43:44 +00:00
Gustavo Sverzut Barbieri 8347690e99 evas now use eina attribute macros.
let's stop replicating these macros over and over again, also flag
evas functions with attributes to help with optimizations.

TODO:

 * move functions returning "int" as boolean to Eina_Bool

 * move api entry to EINA_SAFETY_*

 * document api



SVN revision: 39598
2009-03-20 01:03:15 +00:00
Gustavo Sverzut Barbieri 124e0c4a1b deprecated attribute
SVN revision: 39597
2009-03-20 01:00:35 +00:00
Gustavo Sverzut Barbieri 21f6be2f66 constness++
SVN revision: 39596
2009-03-20 01:00:04 +00:00
Gustavo Sverzut Barbieri 74ece51f0b warnings--
SVN revision: 39593
2009-03-19 19:29:05 +00:00
Cedric BAIL 4846c18b8a * Eet: Update ChangeLog according to last modification.
SVN revision: 39592
2009-03-19 19:14:38 +00:00
Cedric BAIL 0dcb98f55f * eet_data: Make it thread safe and fix some memory leak.
SVN revision: 39590
2009-03-19 19:00:46 +00:00
Vincent Torri d70cbe6ac4 typo
SVN revision: 39589
2009-03-19 18:40:21 +00:00
Vincent Torri a34e9da473 fix requirement
SVN revision: 39586
2009-03-19 17:41:38 +00:00
Vincent Torri fb534dd560 * fix check of the ecore_input module
* add necessary variable for DLL build of ecore_input DLL
 * fix requirements involving ecore_input
 * add ecore_input availability in configure output


SVN revision: 39585
2009-03-19 17:40:51 +00:00
Cedric BAIL e344bb0f7f * Ecore_Input: Fix build order.
SVN revision: 39584
2009-03-19 16:41:35 +00:00
Cedric BAIL f6a3045ce3 * evas: Add forgottent file needed for make dist.
SVN revision: 39583
2009-03-19 16:21:09 +00:00
Cedric BAIL 6f5a990e36 * Ecore_Input: Remove all stuff linked with ecore_evas.
SVN revision: 39581
2009-03-19 13:58:15 +00:00
Carsten Haitzler 2afadb527b working on edje entry to allow more selection controls. not 100% done yet.
SVN revision: 39578
2009-03-19 13:36:10 +00:00
Cedric BAIL 2bf2c79957 * Ecore_Input: Make it generic.
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Viktor Kojouharov ca0470e59f make this build again
SVN revision: 39576
2009-03-19 12:36:19 +00:00
Vincent Torri 8eb538126c remove trailing spaces
SVN revision: 39574
2009-03-19 07:59:59 +00:00
Vincent Torri ff17c26102 * add ecore_wince include directory (though i don't think that it
will be necessary once ecore_input will be abstracted)
 * allow the built of ecore_input DLL on Windows OS (XP and CE)
 * remove useless dependency, as libecore_.la is in the _LIBADD
   variable)
 * files in EXTRA_DIST are already installed, no need for them
   to be in EXTRA_DIST

patch by Lars Munch


SVN revision: 39573
2009-03-19 07:49:12 +00:00
Vincent Torri 9ce2db5820 * move ecore-input.pc.in from MAINTAINERCLEANFILES to EXTRA_DIST
* ecore-input.pc is installed only if ecore_input is built
   (detection in configure), not if ecore_x or ecore_sdl are
   built

patch by Lars Munch


SVN revision: 39572
2009-03-19 07:39:49 +00:00
Vincent Torri 7248a5bacd too many ecore_input in SUBDIRS
SVN revision: 39571
2009-03-19 07:29:28 +00:00
Carsten Haitzler 9e5c641263 and somewhere.. someone broke system settings and efreet hashes of categories!
SVN revision: 39570
2009-03-19 04:29:31 +00:00
Gustavo Sverzut Barbieri a8838b698e constness++ and warnings--
SVN revision: 39563
2009-03-18 23:51:35 +00:00
Gustavo Sverzut Barbieri bddbbbb8a5 Fix null dereference.
By Luis Felipe Strano, spotted by clang.



SVN revision: 39560
2009-03-18 21:27:38 +00:00
Vincent Torri 1ed8721fa2 typo--
SVN revision: 39556
2009-03-18 17:23:11 +00:00
Cedric BAIL 9f3aac0837 * ecore_evas: Fix typo preventing live preview to work and add
sub_ecore_evas to SDL backend.



SVN revision: 39555
2009-03-18 17:12:52 +00:00
Vincent Torri a11c52735f initialize correctly psize, so that the cache is used.
small speed up.


SVN revision: 39554
2009-03-18 17:05:30 +00:00
Vincent Torri 08bbf2f99f remove useless libs flags (the link is done with the corresponding .la files)
SVN revision: 39553
2009-03-18 17:01:23 +00:00
Cedric BAIL e027bb8a6e * eina_list: Add a eina_list_search_sorted_near_list. Usefull if you want to build
a sorted list.


SVN revision: 39550
2009-03-18 15:00:52 +00:00
Cedric BAIL 9fab9595b5 * eina_list: Add eina_list_search_sorted_list and eina_list_search_unsorted_list.
SVN revision: 39546
2009-03-18 13:29:36 +00:00
Sebastian Dransfeld 2849d938ff include Ecore.h for ecore_main_fd_handler_active_set
SVN revision: 39544
2009-03-18 08:38:43 +00:00
Sebastian Dransfeld f388ddcd53 ECORE_X_MODIFIER_* are now internal to ecore_x.
SVN revision: 39543
2009-03-18 08:29:59 +00:00
Carsten Haitzler f41991c662 disable fsync
SVN revision: 39542
2009-03-18 01:47:33 +00:00
Gustavo Sverzut Barbieri 1258d9c2ee update changelog.
SVN revision: 39539
2009-03-17 22:31:35 +00:00
Gustavo Sverzut Barbieri 1213744f42 fix image_data_put on software 16 bits engine.
SVN revision: 39537
2009-03-17 20:57:02 +00:00
Gustavo Sverzut Barbieri 3ca2a97471 make sure data is on disk, don't get empty files on ext4/ext3=writeback.
Ok, raster said it would not happen but just crashed my machine and
e.cfg was lost due ext4 being in writeback by default. Accordingly to
Theodore Ts'o
(http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/) we
should fsync even on open-write-close+rename case.



SVN revision: 39536
2009-03-17 20:49:36 +00:00
Cedric BAIL a01af7856b * evas_object_smart: Oops, the right test.
SVN revision: 39529
2009-03-17 17:56:06 +00:00
Cedric BAIL bdc54a6afd * evas_object_smart: Prevent adding a child from another Evas.
**** WARNING ****
	  E is bugged in some place, it does swallow object from another Evas in some place.
	With this patch, it will abort sooner. If you find situation where it abort, please
	report. This are nasty bug hidden in our code base. And yes, you will the white box
	of death, this is expected.



SVN revision: 39528
2009-03-17 17:45:37 +00:00
Sebastian Dransfeld 5378f8d4d6 Check whether the found item is a directory.
SVN revision: 39524
2009-03-17 13:42:21 +00:00
Sebastian Dransfeld 8d40d92f83 Check whether functions exist before executing them.
SVN revision: 39521
2009-03-17 13:39:23 +00:00
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