Vincent Torri
312a4365b8
fix header files
...
SVN revision: 39752
2009-03-27 11:14:21 +00:00
Carsten Haitzler
df68d791b5
enable cache again
...
SVN revision: 39745
2009-03-27 07:34:45 +00:00
Carsten Haitzler
5f0c7389a2
fix non-scalecache mode
...
SVN revision: 39744
2009-03-27 07:22:46 +00:00
Carsten Haitzler
66cc98b0f4
also be able to free orig data now (and reload)
...
SVN revision: 39743
2009-03-27 06:06:45 +00:00
Carsten Haitzler
e0a8a97b6d
now enough logic to know when to unload original... now just need to make
...
unloaidng possible without instant-reload.
SVN revision: 39742
2009-03-27 03:50:03 +00:00
Carsten Haitzler
1a224311d6
make pipe renderer separate to thread support - off by default.
...
SVN revision: 39740
2009-03-27 01:48:58 +00:00
Carsten Haitzler
3335fef2aa
found it! i was building without threading for realistic testing. lock issue.
...
fixed.
SVN revision: 39739
2009-03-27 00:30:41 +00:00
Gustavo Sverzut Barbieri
02d715fa7c
brokes e17, canola and most things?
...
dunno why, but at least it does for me and some users at #e/#edevelop,
e17 freezes at start, so does canola and other evas apps, maybe due
64-bits? No time to investigate right now (at a conference).
SVN revision: 39738
2009-03-26 21:48:24 +00:00
Daniel Kolesa
68429cf150
Updated version in edje
...
SVN revision: 39734
2009-03-26 19:37:59 +00:00
Cedric BAIL
8a8b4ca2d1
* efreet: On STRICT_SPEC don't handle efreet_menu_file.
...
SVN revision: 39732
2009-03-26 18:02:17 +00:00
Cedric BAIL
81ee186382
* efreet: Use the right macro for the cast.
...
SVN revision: 39731
2009-03-26 17:56:51 +00:00
Cedric BAIL
7e6af0a5c1
* efreet: Remove ecore_dlist from Efreet.
...
SVN revision: 39730
2009-03-26 17:54:50 +00:00
Stafford Mitchell Horne
3eb42f9fc2
Actually use the correct build flag
...
SVN revision: 39729
2009-03-26 16:08:45 +00:00
Cedric BAIL
8e92f0540f
* eet: Don't build OpenSSL support when we already build GnuTLS support.
...
SVN revision: 39728
2009-03-26 15:25:15 +00:00
Carsten Haitzler
29216b4a78
for now... enable scalecache. i havent seen it crash e or expedite or
...
elementary nor leak... so .. let's see. not 100% done yet. but good.
SVN revision: 39724
2009-03-26 12:47:44 +00:00
Carsten Haitzler
a3f68ea9d9
1. a bunch of neon asm infra and some asm, but only the neon that works is
...
enabled. the blending is not working/complete. the neon for fills and copies
isnt actually faster though currently :(
2. scalecache infra - disabled for now. working on it.
SVN revision: 39723
2009-03-26 07:14:08 +00:00
Cedric BAIL
858d63ffd8
* eet: Update ChangeLog.
...
SVN revision: 39720
2009-03-25 17:12:25 +00:00
Cedric BAIL
a4f5088a41
* eet.pc.in: Fix private dependencies.
...
SVN revision: 39717
2009-03-25 16:27:22 +00:00
Cedric BAIL
c392637d27
* eet_lib: Prevent double init of gcry.
...
SVN revision: 39716
2009-03-25 16:26:46 +00:00
Stafford Mitchell Horne
749e8b1e74
Fix build issues
...
* Fix warning with mouse move callback
* If Xrender is disabled, dont build Xrender_Xlib support (caused build failure)
SVN revision: 39713
2009-03-25 15:20:07 +00:00
Vincent Torri
46b3ef7d0c
Fix llvm report in eain_tiler.
...
The remaining llvm reports, in eina_rbtree.c, are not correct, I think.
SVN revision: 39710
2009-03-25 12:04:21 +00:00
Vincent Torri
18258b5721
fix llvm report in eina_stringshare
...
SVN revision: 39707
2009-03-25 10:32:33 +00:00
Vincent Torri
bda0cab9dd
fix llvm reports in eina_list
...
SVN revision: 39706
2009-03-25 09:24:56 +00:00
Carsten Haitzler
386395ee9a
up version to 0.9.91
...
SVN revision: 39701
2009-03-24 23:51:28 +00:00
Viktor Kojouharov
180d492816
add more to the composite api
...
SVN revision: 39700
2009-03-24 21:31:05 +00:00
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
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
Vincent Torri
8cb92a2ca4
force the files that are in the _DATA primary to be
...
distributed in the tarball
SVN revision: 38832
2009-01-28 18:00:20 +00:00
Carsten Haitzler
7b370535a0
extra fragment shader prog to 0 call. remove. useless.
...
SVN revision: 38820
2009-01-27 23:57:21 +00:00
Vincent Torri
10c6c96c44
fix the render method of the opengl glew engine
...
Thanks to Roberto Huelga
SVN revision: 38817
2009-01-27 21:58:15 +00:00
Vincent Torri
c02331ab22
formatting
...
SVN revision: 38815
2009-01-27 16:59:06 +00:00
Vincent Torri
e9908d6e42
* formatting: new lines are good for reading code
...
* remove comma after EINA_MAGIC (compilation with Visual Studio)
SVN revision: 38814
2009-01-27 16:44:45 +00:00
Vincent Torri
53f757287f
add source and header files to Visual Studio project files
...
SVN revision: 38813
2009-01-27 16:38:06 +00:00
Cedric BAIL
c1679231b7
Print signature and certificate lenght (give you an idea of the over head).
...
SVN revision: 38810
2009-01-27 13:12:59 +00:00
Carsten Haitzler
71bd02f251
changed signal on backspace
...
SVN revision: 38807
2009-01-27 06:17:35 +00:00
rephorm
0f053605b9
don't leak
...
SVN revision: 38806
2009-01-27 05:11:16 +00:00
Jorge Luis Zapata Muga
e5123aac83
+ Fix for 64 bit asm
...
+ Fix for MinGW
SVN revision: 38799
2009-01-26 19:35:12 +00:00
Jorge Luis Zapata Muga
75299a9fa3
+ Add eina_cpu subsystem: just query cpu simd operations for now.
...
+ Add eina_tiler subsystem: initially abstraction and import of gustavo's splitter code.
SVN revision: 38793
2009-01-26 16:27:00 +00:00
Jorge Luis Zapata Muga
40d9cab09a
+ Fix some english typos
...
+ Fix some macros that need an expression and there are no attributes support, just pass the expression as is
SVN revision: 38792
2009-01-26 16:23:07 +00:00
Cedric BAIL
1caa0562ad
Add new set of usefull fonctions for eina list.
...
SVN revision: 38791
2009-01-26 14:46:02 +00:00
Vincent Torri
6a48f60e39
* src/lib/evil_fcntl.c:
...
fix fcntl()
SVN revision: 38766
2009-01-24 22:29:19 +00:00
Iván Briano
a3f3bf7ec3
Point the API Reference to the right file
...
SVN revision: 38760
2009-01-24 18:45:54 +00:00
Gustavo Sverzut Barbieri
23b98358b0
sorry, let's keep name coherent with others.
...
SVN revision: 38750
2009-01-23 22:23:03 +00:00
Gustavo Sverzut Barbieri
d58031f5fc
evas preload: do not lock mutex aready locked.
...
SVN revision: 38749
2009-01-23 22:21:04 +00:00
Gustavo Sverzut Barbieri
018af5b44c
Fix image cache shutdown.
...
we should just remove entries pending preload from the cache being
shutdown, not all of them.
this is untested as it is hard to force this situation, but should be
more correct than the previous.
SVN revision: 38747
2009-01-23 21:08:35 +00:00
Gustavo Sverzut Barbieri
14a88b52d4
evas preload: keep the preload thread alive.
...
before, when no more images were to be preloaded asynchronously, the
thread exited, but were not collected. This leads to a huge leak if
the process is doing aggressive use of image preloading (ie: photo
wall).
collecting dead threads in a proper way (read: without race
conditions) is a bit harder than keeping just one thread alive,
forever. As we do that for evas_pipe (the renderer), let's do the same
with preload and save code.
SVN revision: 38746
2009-01-23 20:36:04 +00:00
Vincent Torri
8bee601e8d
fix warnings with vc++
...
SVN revision: 38744
2009-01-23 18:24:35 +00:00
Vincent Torri
092927d13e
add eina_main.h in vc project
...
SVN revision: 38742
2009-01-23 16:44:25 +00:00
Vincent Torri
29befb161d
put macro after declarations, otherwise vc++ is not happy
...
SVN revision: 38741
2009-01-23 16:43:14 +00:00
Vincent Torri
c166854ae1
* minor formatting
...
* add some doc in eina_array
* in eina_main.c, include only the necessary headers
* fix some warnings (size_t <-> int)
SVN revision: 38740
2009-01-23 16:11:45 +00:00
Gustavo Sverzut Barbieri
b814a5e2be
buffer: reorder destroy-recreate sequence to avoid cache to be destroyed.
...
users of buffer engine (ie: e_thumb_main.c) were broken since when
they resize the canvas they would implicitly call engine->setup()
again, which would destroy output and create it again. However the
cache could be destroyed and images using it would be bogus.
This does not happen if the process have other cache users, but
e_thumb is just one canvas live at time.
By reordering, we have the cache reference to go to 2 and then back to
1, not destroying it.
SVN revision: 38739
2009-01-23 15:28:43 +00:00
Vincent Torri
da4cbd5c95
put eina_init() and eina_shutdown() in their own header file
...
SVN revision: 38738
2009-01-23 14:46:56 +00:00
Vincent Torri
c141b1c636
__stdcall must also be used in the definition of the callbacks
...
SVN revision: 38705
2009-01-23 06:24:12 +00:00
Gustavo Sverzut Barbieri
763999fa8b
Remove all images pending preload before cache shuts down.
...
SVN revision: 38703
2009-01-23 00:09:10 +00:00
Gustavo Sverzut Barbieri
83783665f5
Let's try to shutdown cache and fix delete problem.
...
SVN revision: 38702
2009-01-23 00:08:11 +00:00
Vincent Torri
62ca2f49f2
fix logic in efl_doxygen.m4
...
SVN revision: 38700
2009-01-22 21:14:12 +00:00
Carsten Haitzler
185d9ae9b5
allow asm to turn off via env vars
...
SVN revision: 38693
2009-01-22 03:21:04 +00:00
Iván Briano
0a51bac4a9
Reverting. Comment in code says it all
...
SVN revision: 38692
2009-01-21 23:30:50 +00:00
Gustavo Sverzut Barbieri
7ed9777f3c
Let's see if this edje forced recalc is really required.
...
SVN revision: 38689
2009-01-21 22:38:52 +00:00
Gustavo Sverzut Barbieri
e22296968f
fix null dereference reported by clang, patch by Luis Felipe.
...
SVN revision: 38685
2009-01-21 19:05:11 +00:00
Chidambar Zinnoury
8355545bfe
No need to set as non-blocking as this is already done when initializing tslib.
...
Strange things happen when it is set.
SVN revision: 38682
2009-01-21 16:00:30 +00:00
Jorge Luis Zapata Muga
f26e6dddc0
Missing #else for non win32
...
SVN revision: 38681
2009-01-21 09:46:02 +00:00
Vincent Torri
fe52686976
Avoid the stack to be screwed up in the callbacks on Windows.
...
Fix the seg fault in the polygon test in expedite on Windows.
SVN revision: 38679
2009-01-21 07:44:20 +00:00
Cedric BAIL
f0096a167c
* eina/src/include/eina_private.h: better use do {} while(0);
...
* eina/src/lib/eina_array.c: Use gcc attribute to shutdown llvm warning.
SVN revision: 38666
2009-01-20 16:47:19 +00:00
Vincent Torri
7554db7669
too much alloca declarations :-)
...
SVN revision: 38665
2009-01-20 16:14:36 +00:00
Cedric BAIL
0dda30daf6
* eina/src/include/eina_array.h,
...
* eina/src/include/eina_f16p16.h,
* eina/src/include/eina_accessor.h,
* eina/src/include/eina_list.h,
* eina/src/include/eina_iterator.h,
* eina/src/lib/eina_rectangle.c,
* eina/src/lib/eina_list.c,
* eina/src/lib/eina_array.c,
* eina/src/lib/eina_hash.c,
* eina/src/lib/eina_module.c,
* eina/src/lib/eina_stringshare.c,
* eina/src/lib/eina_benchmark.c: Fix for windows compilation.
SVN revision: 38663
2009-01-20 15:56:48 +00:00
Cedric BAIL
8a380803a7
* eina/src/include/eina_private.h,
...
* eina/src/lib/eina_array.c: Remove potential error detected by llvm in eina_array.
SVN revision: 38662
2009-01-20 15:44:52 +00:00
Cedric BAIL
57aadc71fd
Remove warning.
...
SVN revision: 38661
2009-01-20 15:42:34 +00:00
Cedric BAIL
3c2f745ab9
Fix wrong order and useless double include.
...
SVN revision: 38660
2009-01-20 15:40:36 +00:00
Cedric BAIL
b01ba35342
* ecore/configure.ac: Missing lib to link against when using a libc that doesn't provide iconv and GNU iconv. Fix from illogict.
...
SVN revision: 38659
2009-01-20 15:33:24 +00:00
Cedric BAIL
5621e47f1c
Correctly cancel each image object and not all at once.
...
SVN revision: 38658
2009-01-20 14:56:37 +00:00
Vincent Torri
0d166092ac
* fix warning (missing alloca declaration)
...
* formatting
SVN revision: 38657
2009-01-20 08:29:41 +00:00
Vincent Torri
f0fc27f8de
the versioning of shared lib is different on windows than on linux
...
(name-version.dll wrt name.so.version)
SVN revision: 38654
2009-01-19 21:08:39 +00:00
Vincent Torri
538fbbd1bc
set the window to fullscreen if requested when creating the ecore_evas (win ce)
...
SVN revision: 38653
2009-01-19 20:30:56 +00:00
Vincent Torri
be55cc524a
* ecore_wince: force taskbar to be shown when ecore_wince shuts
...
down (in case the application is fullscreen when exiting)
Reported by Lars Munch
SVN revision: 38649
2009-01-19 18:54:24 +00:00
Vincent Torri
621e507655
* add Evil cflags and libs in ecore_job and ecore_imf Makefile.am's
...
in case Evil is not installed in /usr/local
* define fullscreen default values for the win ce engines in ecore_evas:
- gdi engine is windowed
- the other engines are fullscreen
SVN revision: 38647
2009-01-19 18:14:10 +00:00
Vincent Torri
a1d61c71c2
add error message in the win ce gdi engine
...
SVN revision: 38646
2009-01-19 17:53:30 +00:00
Vincent Torri
7da4e5839d
* src/bin/Makefile.am:
...
* src/bin/evil_suite.c:
* src/bin/evil_test_dlfcn.c:
* src/bin/evil_test_dlfcn.h:
* src/bin/evil_test_environment.c:
* src/bin/evil_test_environment.h:
* src/bin/evil_test_gettimeofday.c:
* src/bin/evil_test_gettimeofday.h:
* src/bin/evil_test_link.c:
* src/bin/evil_test_link.h:
* src/bin/evil_test_mkstemp.c:
* src/bin/evil_test_mkstemp.h:
* src/bin/evil_test_realpath.c:
* src/bin/evil_test_realpath.h:
various fixes in the test suite.
add mkstemp() and realpath tests.
* src/lib/evil_dirent.c:
fix opendir() when indexation search is not active.
formatting.
* src/lib/evil_stdlib.c:
fir mkstemp() on both platform
* src/lib/evil_unistd.c:
remove useless error message.
SVN revision: 38645
2009-01-19 17:51:17 +00:00
Cedric BAIL
011bc06ecc
* evas/src/lib/cache/evas_cache_image.c,
...
* evas/src/lib/include/evas_common.h: Now you should receive a async call for each image object that does async preload.
SVN revision: 38643
2009-01-19 14:06:09 +00:00
tilman
4c70375594
Fixed two trivial const correctness issues.
...
SVN revision: 38621
2009-01-17 17:13:03 +00:00
Vincent Torri
f26751a57c
* add _move, _resize and _move_resize to ecore_wince and ecore_evas_wince
...
* small fix for ecore_win32
SVN revision: 38609
2009-01-16 19:03:57 +00:00
Vincent Torri
2023d9749f
update ac_attribute.m4
...
SVN revision: 38586
2009-01-14 08:39:46 +00:00
Vincent Torri
84f9677f10
update ac_attribute.m4
...
SVN revision: 38584
2009-01-14 08:37:29 +00:00
Vincent Torri
28c95b5672
update ac_attribute.m4
...
SVN revision: 38583
2009-01-14 08:37:20 +00:00
Vincent Torri
2b34377d37
update ac_attribute.m4
...
SVN revision: 38582
2009-01-14 08:37:03 +00:00
Vincent Torri
849d65df62
update ac_attribute.m4
...
SVN revision: 38581
2009-01-14 08:36:37 +00:00
Vincent Torri
836510e42c
update ac_attribute.m4
...
SVN revision: 38580
2009-01-14 08:36:29 +00:00
Vincent Torri
ca0cbdbec7
update ac_attribute.m4
...
SVN revision: 38579
2009-01-14 08:36:16 +00:00
Vincent Torri
8f4f9134d8
update ac_attribute.m4
...
SVN revision: 38578
2009-01-14 08:36:02 +00:00
handyande
6c94ab45be
Look for locks being available
...
SVN revision: 38571
2009-01-13 16:31:31 +00:00
Carsten Haitzler
fb92a519bf
fix the copying license to
...
1. get rid of grammar mistake
2. refer to COPYING-PLAIn correctly as the filename
3. be more explicit on "shipping source" due to ambiguity (this makes it what
it was intended to be and that is GPL compatible).
this does not modify the LGPL libs... or GPL apps etc. - only those using the
original COPYING from e. author and dates at the top remain the same.
SVN revision: 38569
2009-01-13 13:00:45 +00:00
Vincent Torri
cc7b4554cb
The problem of the detection of __attribute__ on mac os x comes
...
from the fact that we put a definition of a function in the
body of main(). Moving it outside fixes it. In addition, the
extra flag i added in configure.ac is useless.
SVN revision: 38565
2009-01-13 06:19:47 +00:00
Vincent Torri
c8c9bf3062
* src/lib/evil_dirent.c:
...
* src/lib/evil_fnmatch.c:
* src/lib/evil_link_xp.cpp:
* src/lib/evil_stdio.c:
* src/lib/evil_stdlib.c:
* src/lib/evil_string.c:
* src/lib/evil_unistd.c:
* src/lib/evil_util.c:
warnings fixes
SVN revision: 38552
2009-01-12 06:03:51 +00:00
Iván Briano
ec970510ec
Missing Makefile.am for docs
...
SVN revision: 38550
2009-01-11 17:37:22 +00:00
Daniel Kolesa
bbd81b24f5
Updated debian/rules for ecore and evas because of new 'make doc' support.
...
SVN revision: 38548
2009-01-11 10:37:01 +00:00
Daniel Kolesa
1c1e1dd975
Deleted some useless files because of make doc support
...
SVN revision: 38547
2009-01-11 10:31:26 +00:00
Daniel Kolesa
bae0ed2536
Added some missing files for make doc support
...
SVN revision: 38546
2009-01-11 10:27:01 +00:00
Daniel Kolesa
6c874722ee
Added support for "make doc" in evas and ecore.
...
Thanks to Lutin :)
SVN revision: 38545
2009-01-11 10:20:22 +00:00
Vincent Torri
f84454ed08
mac os x port of gcc has problems with __attribute__ and thinks that
...
there are nested functions. -fnested-functions must be passed to the
compiler to allow the compilation on that platform.
SVN revision: 38544
2009-01-11 09:25:47 +00:00
Vincent Torri
8e85dc458c
automatically detect quartz engine on mac os x
...
SVN revision: 38543
2009-01-11 08:00:06 +00:00
Vincent Torri
ed7157e3d5
fix mem leak in tiff loader
...
SVN revision: 38542
2009-01-10 22:44:04 +00:00
Vincent Torri
6a337b0c4e
* ecore/ecore_pipe.c:
...
fix doc
* ecore_file/Makefile.am:
add Windows cflags
* ecore_file/ecore_file_private.h:
move Evil.h so that EAPI is correctly defined
* ecore_wince:
make window_new windowed by default. other backend that gdi might have problems.
add title_set and fullscreen_set functions.
do not use aygshell features anymore for fullscreen (it's not free and not always available)
include missing config.h
* ecore_evas:
move Evas.h and Ecore_Getopt.h so that EAPI is correctly defined
add title_set and fullscreen_set functions.
SVN revision: 38540
2009-01-10 17:57:25 +00:00
Vincent Torri
a5695ae333
add windowed and fullscreen support to the gdi backend. Other backend are only fullscreen.
...
SVN revision: 38539
2009-01-10 17:33:19 +00:00
Gustavo Sverzut Barbieri
b0525ae2fe
Fixed (hopefully) ecore_directfb engine.
...
I don't have the libs here to test them now, not even compile. Please
let me know of any problems.
SVN revision: 38536
2009-01-10 14:48:29 +00:00
Vincent Torri
c9505b11e2
check if the linker supports --as-needed
...
SVN revision: 38520
2009-01-09 17:29:06 +00:00
Daniel Kolesa
b61dff0b58
Added debian/rules files with a new permissions set(755).
...
SVN revision: 38519
2009-01-09 16:33:51 +00:00
Daniel Kolesa
971b1682a9
prepare debian rules files for new chmod permissions.
...
SVN revision: 38518
2009-01-09 16:31:51 +00:00
Iván Briano
8d7855081a
Make evas_object_table_smart_set static.
...
Makes no sense to export it when table is not meant to be inheritable.
SVN revision: 38516
2009-01-09 13:31:51 +00:00
Gustavo Sverzut Barbieri
38240fb825
fix errors reported by gcc.
...
we must always use the return of eina_list_{append,prepend...}
SVN revision: 38481
2009-01-06 16:30:33 +00:00
Carsten Haitzler
4959d816f6
fix formatting and use dither for adopting with format and add comments for
...
tmpo buf fmt
SVN revision: 38459
2009-01-05 04:06:19 +00:00
Carsten Haitzler
5974b5a1fc
fix prefix env vars to use edje_
...
SVN revision: 38448
2009-01-04 11:05:27 +00:00
Carsten Haitzler
b195020d35
fix prefix env vars to use embryo - not e
...
SVN revision: 38447
2009-01-04 11:05:10 +00:00
Christopher Michael
8d70bbf08b
Fix nasty formatting and remove extra whitespace.
...
SVN revision: 38446
2009-01-04 05:03:12 +00:00
Christopher Michael
6c9a1eb720
Fix Sachiel typo...spank, spank ;)
...
Fix some formatting issues...more to come.
SVN revision: 38445
2009-01-04 04:43:54 +00:00
Iván Briano
b00f77795f
Ugly. But apparently Solaris does not have the Xutf8* functions
...
SVN revision: 38443
2009-01-03 21:53:42 +00:00
Daniel Kolesa
9ea4273925
Added debian subdir for python-elementary.
...
SVN revision: 38433
2009-01-03 08:33:59 +00:00
Daniel Kolesa
ef35256335
Updated debian in efreet, ewl
...
SVN revision: 38416
2009-01-02 10:09:14 +00:00
Daniel Kolesa
2bf1434120
Added new set of debian subdirs.
...
BROKEN/etox
e
ecore
e_dbus
edje
edje_editor
edje_viewer
eet
efreet
eina
elicit
elitaire
embryo
E-MODULES-EXTRA
emotion
emphasis
empower
emprint
enhance
enity
entrance
ephoto
epsilon
esmart
estickies
etk
etk_extra
evas
evolve
ewl
exhibit
exml
expedite
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/entrance_edit_gui
OLD/e_utils
OLD/evoak
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/exchange
PROTO/extrackt
rage
SVN revision: 38399
2009-01-01 11:35:17 +00:00
Daniel Kolesa
bf77c1ced2
Removed debian subfolders - prepared for a new set of debian subdirs.
...
SVN revision: 38398
2009-01-01 11:25:05 +00:00
Carsten Haitzler
430fa42aa4
naruto takahashi's fix for gcc3 patch
...
SVN revision: 38397
2009-01-01 03:09:48 +00:00
Carsten Haitzler
d06f1c9116
remove ecore_desktop completely. no longer useful
...
SVN revision: 38394
2009-01-01 01:31:35 +00:00
handyande
b9cea15d05
as-needed is not globally supported - perhaps it needs to be detected?
...
SVN revision: 38390
2008-12-31 16:17:04 +00:00
Cedric BAIL
4b73a295ec
Update m4 macro to provide __UNUSED__.
...
SVN revision: 38387
2008-12-31 13:08:45 +00:00
handyande
c2bab4e388
Make eina compile on OSX
...
SVN revision: 38382
2008-12-31 11:51:37 +00:00
Cedric BAIL
519296191d
Return success or not for table API.
...
SVN revision: 38381
2008-12-31 11:49:42 +00:00
Daniel Kolesa
1d8954a489
Removed debian things like rasterman did in some others from Makefile.am and configure.ac/in(and modifed AUTHORS, autogen.sh and README in E-MODULES-EXTRA) in
...
edje_viewer
elicit
elitaire
E-MODULES-EXTRA
emotion
emphasis
empower
enhance
entrance
ephoto
epsilon
esmart
estickies
etk
ewl
exhibit
exml
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/e_utils
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/extrackt
SVN revision: 38373
2008-12-31 10:52:08 +00:00
Iván Briano
025c3d8422
Let's see if the number of people asking what Eina is remains the same.
...
SVN revision: 38354
2008-12-30 15:38:11 +00:00
Cedric BAIL
e678664d12
Remove dead debugging code.
...
SVN revision: 38352
2008-12-30 11:04:35 +00:00
Cedric BAIL
32dbc61034
Remove dead assignment.
...
SVN revision: 38351
2008-12-30 11:01:36 +00:00
Cedric BAIL
484f8c1083
Remove useless affectation.
...
SVN revision: 38349
2008-12-29 16:59:47 +00:00
Cedric BAIL
f2037c5c6f
Don't generate warning in some little case.
...
SVN revision: 38348
2008-12-29 12:41:46 +00:00
Cedric BAIL
f722173009
Don't display useless warning.
...
SVN revision: 38346
2008-12-29 11:49:35 +00:00
Carsten Haitzler
9028efcbdc
fix other #ifdefs too
...
SVN revision: 38345
2008-12-29 11:37:44 +00:00
Cedric BAIL
69f1a6a61e
Remove dead assignment and change condition for easier match.
...
SVN revision: 38344
2008-12-29 10:51:38 +00:00
Cedric BAIL
a1a421f5ca
Remove dead code detected by llvm static analyser.
...
SVN revision: 38343
2008-12-29 10:47:18 +00:00
Cedric BAIL
ee56641dc8
Remove unused variable and check error return.
...
SVN revision: 38342
2008-12-29 10:29:08 +00:00
Cedric BAIL
41a6b9d484
Check decompression error. Potential bug detected by llvm static analyser.
...
SVN revision: 38341
2008-12-29 09:39:03 +00:00
Cedric BAIL
73c686a5ea
Fix a little mistake.
...
SVN revision: 38339
2008-12-29 08:53:19 +00:00
Cedric BAIL
e537976f58
Use correct type.
...
SVN revision: 38338
2008-12-29 08:53:01 +00:00
Vincent Torri
c80770901d
* configure.ac:
...
add SECURITY_WIN32 to the proprocessor on Windows XP,
should fix the bug with security.h
SVN revision: 38334
2008-12-27 18:57:54 +00:00
Vincent Torri
ac3bcc3fa9
* src/bin/evil_test_environment.c:
...
check returned value
* src/bin/evil_test_memcpy.c:
define getpagesize() for vc++
* src/lib/evil_unistd.c:
move inclusion of time.h after windsock2.h
include direct.h for vc++
use _WIN32_WCE for Windows CE compilers in evil_getcwd()
* src/lib/Evil.h:
* src/lib/evil_unistd.h:
move getcwd() define from Evil.h to evil_unistd.h
add some C99 types to Evil.h for vc++ (will be used in eina)
* src/lib/evil_fcntl.c:
include io.h for vc++
* src/lib/evil_link_xp.cpp:
use full name for symlink(). Fix symlink on Windows XP with
the DOS prompt or the debugger of Visual Studio.
* src/lib/evil_mman.c:
don't include unistd.h if vc++ is used
* src/lib/evil_stdio.h:
formatting
* src/lib/evil_stdlib.h:
* src/lib/evil_stdlib.c:
define putenv only for mingw32ce
move the returned value of setenv()
SVN revision: 38333
2008-12-27 18:53:56 +00:00
Gustavo Sverzut Barbieri
b6e27a739f
oops, it's EINA_SAFETY_CHECKS, not just SAFETY_CHECKS.
...
SVN revision: 38328
2008-12-26 19:14:57 +00:00
Gustavo Sverzut Barbieri
ab95d9183d
eina safety checks.
...
safety checks will report null pointers and other error conditions on
public api's and can be disabled by compile time check.
note that in order to have these checks working we need to make
EINA_ARG_NONNULL() void, otherwise GCC can remove these checks since
they're known to be false.
This commit also make two minor changes:
* list and hash accessors and iterators are created even for empty
entities. This is correct in my point of view since NULL should
indicate error. Having these in were an optimziation, but not
worth it, these are not the most common case and hitting this path
is not of much cost.
* unmarked some parameters as nonnull, mainly on list and inlist.
SVN revision: 38327
2008-12-26 18:31:14 +00:00
Gustavo Sverzut Barbieri
b0ee5696a6
eina gets lots of gcc attributes to its api.
...
this should help with optimizations and code correctness, please see
"info gcc" for detailed explanation on these.
if you experience some functions not working as expected, please
double check if they're not marked with EINA_PURE or EINA_CONST, maybe
I misused them. Remove the macro and try again.
brief explanation:
* EINA_WARN_UNUSED_RESULT: if you forgot to use the return of some
function, it will emit a warning (and -Werror will make it an
error). This way it will be harder to miss the attribution
"l = eina_list_append(l, v)".
* EINA_ARG_NONNULL(index, index...): if you give it an explicit NULL
argument, or some tool (ie: clang) finds it could get a NULL but
this is not accepted by API, then a warning will be emitted. This
will help those that still use eina_hash_add() as if it is
evas_hash_add().
* EINA_MALLOC: any non-NULL pointer it returns cannot alias any other
pointer valid when function returns.
* EINA_PURE: function have no effects other than the return and this
return just depend on parameters and/or globals. You might call
this function in a loop a thousand times and it will return the
same value, thus you may move this function outside the loop and
remove it.
* EINA_CONST: stricter version of EINA_PURE, it will not check for
global parameters, that is, you cannot consider pointer
arguments. Use it for math things like "int sqrt(int)".
* EINA_PRINTF(fmt, arg): will check format parameter specified in
position "fmt" and passed arguments starting at position "arg", it
will check for things like giving integers where short or strings
were expected.
* EINA_SCANF(fmt, arg): similar to eina_printf().
* EINA_FORMAT(fmt): for use with things like dgettext(), it will get
a printf-like format string and modifies it.
Please review and test it with your software, make sure you make clean
before you install the new version so it has any effect.
If you find some functions are missing EINA_WARN_UNUSED_RESULT and
EINA_ARG_NONNULL or others, please add them.
SVN revision: 38323
2008-12-26 13:17:51 +00:00
Gustavo Sverzut Barbieri
363ddc283d
fix locking around entry_surface_alloc.
...
we must make sure flags are consistent with actual values, so lock
around use and set of these variables as well.
SVN revision: 38322
2008-12-26 12:50:55 +00:00
Carsten Haitzler
297858d10c
calloc not malloc! bad patches!
...
SVN revision: 38318
2008-12-25 08:35:51 +00:00
Carsten Haitzler
8b4a02c601
use correct #ifdef
...
SVN revision: 38314
2008-12-23 23:54:51 +00:00
Gustavo Sverzut Barbieri
f4ccaaa15d
Cancel preload if file a new file is set.
...
SVN revision: 38313
2008-12-23 23:15:53 +00:00
Gustavo Sverzut Barbieri
68bd5fb68b
Possible last try to fix async imagre preload race conditions.
...
1 - use inlist as regular list uses non-thread safe mempool;
2 - lock around image loading, so if main thread requests pixels right
before worker thread is loading them, you don't get ie->info.module
to NULL while it would be used (triggered from engines/common).
Maybe this should be handled by a global mutex elsewhere instead of
per-image mutex, but it has more granularity now.
3 - emit "preloaded" callback if it was canceled to be loaded from main
thread.
Please someone review these changes.
SVN revision: 38312
2008-12-23 23:07:48 +00:00
Gustavo Sverzut Barbieri
48d7998c6e
attempt to fix image preload thread bugs 1: module refcount.
...
image preload will use modules from threads, there is a possibility to
crash due wrong reference counting.
actually much more can fail, we need to check modules don't keep that
needs exclusive access in globals or per-Evas_Module, but that's
another issue.
TODO: replace spinlocks with atomic operations.
SVN revision: 38309
2008-12-23 21:20:43 +00:00
Gustavo Sverzut Barbieri
de8b6a7bbd
fix possible errors with pointer/offset calculation.
...
it works on gcc, but maybe it would break in other compilers, so make
it safe.
SVN revision: 38302
2008-12-23 20:05:44 +00:00
Gustavo Sverzut Barbieri
7eb0826e29
remove dead stores and reduce some variable scope.
...
from clang report.
SVN revision: 38294
2008-12-23 19:17:55 +00:00
Gustavo Sverzut Barbieri
586979c07b
fix bugs spotted by clang static analyser.
...
We had some problems with preload and after running LLVM's CLang
Static Analyser we found out that current->target could be NULL after
loop.
Also fixed some GCC and CLang warnings, kudos to these wonderful tools
that "Saved The Day".
PS: we should put some CLang Static Analyser results so others can
help fix other parts of E.
SVN revision: 38293
2008-12-23 18:14:16 +00:00
Cedric BAIL
fb238897e5
Use float instead of double.
...
SVN revision: 38292
2008-12-23 17:23:35 +00:00
Cedric BAIL
e006567cb0
Make it compile on Solaris.
...
SVN revision: 38290
2008-12-23 13:33:11 +00:00
Cedric BAIL
2c9ac0bd82
Remove now uneeded header.
...
SVN revision: 38289
2008-12-23 13:23:10 +00:00
Cedric BAIL
889d40abf8
Remove PATH_MAX use.
...
SVN revision: 38288
2008-12-23 13:12:06 +00:00
Cedric BAIL
6a87ca7590
Make code understandable by Visual Studio.
...
SVN revision: 38287
2008-12-23 10:04:46 +00:00
Cedric BAIL
c8714d04cc
Declaration should be done before any code.
...
SVN revision: 38286
2008-12-23 10:02:27 +00:00
dm
80e15cbeef
Evas Win32 VS8 projects added
...
SVN revision: 38284
2008-12-22 23:24:22 +00:00
dm
729bf1a8e5
Eet Win32 VS8 project modified
...
SVN revision: 38283
2008-12-22 23:21:49 +00:00
dm
77dedbca06
Eina Win32 VS8 project added
...
SVN revision: 38282
2008-12-22 23:20:52 +00:00
dm
7ad6bb42fc
Evil Win32 VS8 projects modified
...
SVN revision: 38281
2008-12-22 23:18:41 +00:00
Cedric BAIL
61199e56ee
Fix sdl engine.
...
SVN revision: 38277
2008-12-22 11:16:26 +00:00
Ulisses Furquim
c2651a9f31
Fix segfault when double freeing a string.
...
This fix makes it work again. However, ecore plugin should really be rewritten
or we should start considering eina_module instead.
SVN revision: 38275
2008-12-22 02:30:17 +00:00
Gustavo Sverzut Barbieri
c36a5f23c3
and we must always pre_free, otherwise we end being called after canvas free.
...
SVN revision: 38272
2008-12-21 22:33:35 +00:00
Gustavo Sverzut Barbieri
0ec59ba102
must dissociate even if we will not delete the canvas.
...
otherwise subsequent associate requests will crash on us by using stale pointer.
SVN revision: 38271
2008-12-21 22:29:50 +00:00
Gustavo Sverzut Barbieri
b1f00aa9d5
edjeL convert error code to string.
...
SVN revision: 38268
2008-12-21 18:39:36 +00:00
Gustavo Sverzut Barbieri
aa3cd47bf2
oops, fix doc example.
...
SVN revision: 38267
2008-12-21 18:19:33 +00:00
Gustavo Sverzut Barbieri
765b770f82
oops, eina_stringshare_strlen() should never account '\0'.
...
SVN revision: 38260
2008-12-21 06:45:09 +00:00
Gustavo Sverzut Barbieri
15a2b2aaf2
force recalc after set_tween_state().
...
SVN revision: 38258
2008-12-21 02:17:31 +00:00
Vincent Torri
d945c93a08
use ecore_pipe in gstreamer module
...
SVN revision: 38251
2008-12-20 16:31:55 +00:00