Gustavo Sverzut Barbieri [Tue, 22 Dec 2009 23:56:11 +0000 (23:56 +0000)]
better error reporting for edje_cc.
Instead of saying lots of possibilities that confuse users, check the
correct one and possibly give a hint.
SVN revision: 44669
Gustavo Sverzut Barbieri [Tue, 22 Dec 2009 23:11:57 +0000 (23:11 +0000)]
fix evas image loading error reporting.
Evas image load was always reporint "generic" error, since it was
disconnected from actual loader modules.
This commit will break the module loader API (as it's restricted to
inside Evas, this should be no problem). The return was turned into
"Eina_Bool" for clarity, while an extra "int *error" is responsible to
report errors. This approach was choosen to force compiler warnings
and to try avoid mistakes as EINA_FALSE == EVAS_LOAD_ERROR_NONE and
thus we'd get opposite behavior if something slips.
Most loaders play well, except by eet that does not provide means to
know if the file open failed due missing file, incorrect format or
corrupted file :-(
Please report any issues. I added eina_log debugging to loader
functions, just run your Evas application as:
EINA_LOG_LEVELS=evas_main:4 your_app
SVN revision: 44666
Sebastian Dransfeld [Tue, 22 Dec 2009 21:15:12 +0000 (21:15 +0000)]
Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h
SVN revision: 44664
Gustavo Sverzut Barbieri [Tue, 22 Dec 2009 18:06:15 +0000 (18:06 +0000)]
stringify load errors.
SVN revision: 44660
Gustavo Sverzut Barbieri [Tue, 22 Dec 2009 13:55:15 +0000 (13:55 +0000)]
check for PATH_MAX and define it if not available (ie: Hurd)
By: Albin Tonnerre (Lutin)
SVN revision: 44656
Cedric BAIL [Tue, 22 Dec 2009 13:46:00 +0000 (13:46 +0000)]
* edje: Use Eina_Log.
Patch from Mathieu Taillefumier.
SVN revision: 44655
Cedric BAIL [Tue, 22 Dec 2009 12:58:07 +0000 (12:58 +0000)]
* evas: Fix build when pipe rendering is disabled.
SVN revision: 44651
Cedric BAIL [Tue, 22 Dec 2009 12:38:38 +0000 (12:38 +0000)]
* edje: Fix Edje_Box use with fixed point.
SVN revision: 44650
Cedric BAIL [Tue, 22 Dec 2009 12:09:36 +0000 (12:09 +0000)]
* evas_object_textblock: Add some cast to reduce warning noise.
SVN revision: 44648
Iván Briano [Mon, 21 Dec 2009 19:07:51 +0000 (19:07 +0000)]
There's more here than just warning fixes, it's causing crashes with some uses of elm_entry. Noted in Editje.
SVN revision: 44639
Cedric BAIL [Mon, 21 Dec 2009 18:26:36 +0000 (18:26 +0000)]
* evas: Fix bug introduced in warning removal patch.
SVN revision: 44638
Cedric BAIL [Mon, 21 Dec 2009 17:32:19 +0000 (17:32 +0000)]
* ecore: Use eina_log.
Patch from Mathieu Taillefumier.
SVN revision: 44637
Cedric BAIL [Mon, 21 Dec 2009 17:25:12 +0000 (17:25 +0000)]
* eet: Update ChangeLog :-)
SVN revision: 44636
Gustavo Sverzut Barbieri [Mon, 21 Dec 2009 16:39:24 +0000 (16:39 +0000)]
fix warnings introduced by external parameter stuff.
Thanks to cedric by spotting those.
SVN revision: 44633
Cedric BAIL [Mon, 21 Dec 2009 16:24:39 +0000 (16:24 +0000)]
* edje: Some more warning cleanup.
SVN revision: 44632
Cedric BAIL [Mon, 21 Dec 2009 16:17:29 +0000 (16:17 +0000)]
* ecore: Cleanup some warning.
SVN revision: 44631
Cedric BAIL [Mon, 21 Dec 2009 15:52:12 +0000 (15:52 +0000)]
* evas: Remove lot's of warning.
SVN revision: 44629
Cedric BAIL [Mon, 21 Dec 2009 15:46:56 +0000 (15:46 +0000)]
* eet_node: Progressively move all dump code in eet_node.
SVN revision: 44628
Cedric BAIL [Mon, 21 Dec 2009 13:27:58 +0000 (13:27 +0000)]
* ecore: Don't select on deleted fd handler.
SVN revision: 44627
Cedric BAIL [Mon, 21 Dec 2009 13:27:09 +0000 (13:27 +0000)]
* ethumb: Cleanup dependency.
SVN revision: 44626
Cedric BAIL [Mon, 21 Dec 2009 12:25:32 +0000 (12:25 +0000)]
* evas_preload, ecore_thread: On memory allocation failure do call the cancel function too.
SVN revision: 44624
Vincent Torri [Sun, 20 Dec 2009 12:08:54 +0000 (12:08 +0000)]
necessary declarations for vc++
SVN revision: 44598
Vincent Torri [Sun, 20 Dec 2009 10:02:41 +0000 (10:02 +0000)]
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
SVN revision: 44597
Carsten Haitzler [Sun, 20 Dec 2009 06:23:13 +0000 (06:23 +0000)]
remove excess tex update on dirty. some formattign and naming too.
SVN revision: 44592
Vincent Torri [Sat, 19 Dec 2009 19:09:37 +0000 (19:09 +0000)]
add a wrapper around remove()
SVN revision: 44578
Vincent Torri [Sat, 19 Dec 2009 19:08:28 +0000 (19:08 +0000)]
* Makefile.am:
remove m4 libtool installed files during the
maintainer-clean rule
* src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
add the remove() function
SVN revision: 44577
Vincent Torri [Sat, 19 Dec 2009 12:05:20 +0000 (12:05 +0000)]
more portable way to get the sufix of a shared library name
SVN revision: 44573
Vincent Torri [Sat, 19 Dec 2009 12:00:02 +0000 (12:00 +0000)]
include Evil.h so that ssize_t is defined for Windows CE
SVN revision: 44572
Vincent Torri [Sat, 19 Dec 2009 11:59:23 +0000 (11:59 +0000)]
ssize_t is needed in edje on Windows CE too
SVN revision: 44571
Vincent Torri [Sat, 19 Dec 2009 11:52:48 +0000 (11:52 +0000)]
revert some changes in Evil.h (Windows CE compilation of ecore was broken)
SVN revision: 44570
Vincent Torri [Sat, 19 Dec 2009 11:43:44 +0000 (11:43 +0000)]
fix warnings and returned value when no pthread
SVN revision: 44569
Vincent Torri [Sat, 19 Dec 2009 11:36:18 +0000 (11:36 +0000)]
fix autotools stuff wrt c-ares option
SVN revision: 44568
Vincent Torri [Sat, 19 Dec 2009 10:58:39 +0000 (10:58 +0000)]
include Evil.h so that getenv is declared on Windows CE
SVN revision: 44567
Vincent Torri [Sat, 19 Dec 2009 10:41:20 +0000 (10:41 +0000)]
fix warning
SVN revision: 44566
Vincent Torri [Sat, 19 Dec 2009 10:36:43 +0000 (10:36 +0000)]
fix returned values
SVN revision: 44565
Vincent Torri [Sat, 19 Dec 2009 10:33:39 +0000 (10:33 +0000)]
delete_me member is available on when async preload is available
SVN revision: 44564
Vincent Torri [Sat, 19 Dec 2009 10:30:49 +0000 (10:30 +0000)]
include Evil.h so that getenv is declared on Windows CE
SVN revision: 44563
Carsten Haitzler [Sat, 19 Dec 2009 00:50:44 +0000 (00:50 +0000)]
fmting
SVN revision: 44561
Cedric BAIL [Fri, 18 Dec 2009 17:41:43 +0000 (17:41 +0000)]
* eet: Correctly detect GNUTLS hability.
SVN revision: 44548
Cedric BAIL [Fri, 18 Dec 2009 17:40:13 +0000 (17:40 +0000)]
* embryo: Prevent use of unitialized data.
SVN revision: 44547
Gustavo Sverzut Barbieri [Fri, 18 Dec 2009 12:34:07 +0000 (12:34 +0000)]
add docs for image 'USER', that I didn't know about.
SVN revision: 44540
Vincent Torri [Fri, 18 Dec 2009 11:32:35 +0000 (11:32 +0000)]
As ecore uses gettext, an m4 macro for checking iconv is installed by it.
So use it instead of our own automatic iconv detection.
Improve configure output too
SVN revision: 44538
Cedric BAIL [Fri, 18 Dec 2009 11:03:31 +0000 (11:03 +0000)]
* evas: Complete rewrite of evas image preload code.
This code should be cleaner and easier to understand. It also provides
the ability to spread image decompression on all CPU core. I currently
set it to the exact number of CPU core you have in your machine, if you
find case where it slow down your EFL apps too much, we can reduce this
to give at least one core to evas.
All previous bugs related with async preload are gone, hopefully no
new one are in. Please report any problem with backtrace to me.
SVN revision: 44537
Vincent Torri [Fri, 18 Dec 2009 09:32:51 +0000 (09:32 +0000)]
set the size of the test images explicitely
SVN revision: 44536
Carsten Haitzler [Thu, 17 Dec 2009 11:58:15 +0000 (11:58 +0000)]
fix return checks. broke compile!
SVN revision: 44523
Vincent Torri [Thu, 17 Dec 2009 00:50:43 +0000 (00:50 +0000)]
add Sun Studio support when parsing edc files. Technically,
it means that e17 can run on OpenSolaris using Sun Studio
or gcc. It actually runs if temperature and battery modules
are disabled as they don't compile yet.
Also, the problem on Mac OS X problem with C++ comments
can be fixed (I think). See FIXME in that patch
SVN revision: 44519
Christopher Michael [Wed, 16 Dec 2009 19:43:53 +0000 (19:43 +0000)]
Add atoms & functions to set/get if illume dragging is enabled on a given
window.
SVN revision: 44511
Christopher Michael [Wed, 16 Dec 2009 02:20:38 +0000 (02:20 +0000)]
Add atoms for illume drag start & end so that policies can handle dragging
in their own way.
SVN revision: 44492
Massimo Maiurana [Tue, 15 Dec 2009 11:42:56 +0000 (11:42 +0000)]
added greek translation
SVN revision: 44476
Carsten Haitzler [Tue, 15 Dec 2009 06:38:16 +0000 (06:38 +0000)]
more vkbd states
SVN revision: 44470
Carsten Haitzler [Mon, 14 Dec 2009 23:56:56 +0000 (23:56 +0000)]
quick - set accepts_input 1 on ee windows. that code neads cleaning up!
SVN revision: 44455
Vincent Torri [Mon, 14 Dec 2009 21:45:33 +0000 (21:45 +0000)]
too much _
SVN revision: 44453
Vincent Torri [Mon, 14 Dec 2009 21:34:04 +0000 (21:34 +0000)]
rename evas_glew_main.c to evas_glew__win32_main.c
SVN revision: 44452
Cedric BAIL [Mon, 14 Dec 2009 17:55:26 +0000 (17:55 +0000)]
* evas_font_dir: Add all guards.
SVN revision: 44446
Iván Briano [Mon, 14 Dec 2009 17:38:45 +0000 (17:38 +0000)]
Show and hide clipper as needed
SVN revision: 44445
Cedric BAIL [Mon, 14 Dec 2009 17:27:51 +0000 (17:27 +0000)]
* evas_font_dir: reduce use of FcFontSort by using cache as much as possible.
This reduce in EWeather the time spend in FcFontSort from 25% of the startup time
to 1% with a small memory footprint increase.
SVN revision: 44444
Cedric BAIL [Mon, 14 Dec 2009 17:20:44 +0000 (17:20 +0000)]
* edje: Force recalc before doing preloading.
SVN revision: 44443
Iván Briano [Mon, 14 Dec 2009 17:17:40 +0000 (17:17 +0000)]
Show newly created part. Fixes some problems adding external parts in editje
SVN revision: 44442
Carsten Haitzler [Sun, 13 Dec 2009 14:28:07 +0000 (14:28 +0000)]
clip maps in gl enigne.
SVN revision: 44424
Christopher Michael [Sat, 12 Dec 2009 00:46:54 +0000 (00:46 +0000)]
Add method to send illume_back and illume_close messages.
SVN revision: 44399
Christopher Michael [Fri, 11 Dec 2009 20:51:45 +0000 (20:51 +0000)]
Fix typo.
SVN revision: 44381
Christopher Michael [Fri, 11 Dec 2009 20:07:34 +0000 (20:07 +0000)]
And set the other illume atoms in ecore_x_atoms.c
SVN revision: 44379
Christopher Michael [Fri, 11 Dec 2009 19:51:47 +0000 (19:51 +0000)]
Add way to trigger illume dual/single app mode via client messages.
(and fix some formatting)
SVN revision: 44378
Cedric BAIL [Fri, 11 Dec 2009 12:53:08 +0000 (12:53 +0000)]
* eet_data: Make eet_data_descriptor_free safe on NULL pointer.
SVN revision: 44368
Vincent Torri [Fri, 11 Dec 2009 11:05:58 +0000 (11:05 +0000)]
* configure.ac:
improve configure output
SVN revision: 44366
Vincent Torri [Fri, 11 Dec 2009 10:57:22 +0000 (10:57 +0000)]
improve configure output
SVN revision: 44363
Vincent Torri [Fri, 11 Dec 2009 10:56:14 +0000 (10:56 +0000)]
improve configure output
SVN revision: 44362
Vincent Torri [Fri, 11 Dec 2009 10:55:24 +0000 (10:55 +0000)]
improve configure output
SVN revision: 44361
Vincent Torri [Fri, 11 Dec 2009 10:54:57 +0000 (10:54 +0000)]
* add detection of Objective C.
* improve configure output
SVN revision: 44360
Cedric BAIL [Thu, 10 Dec 2009 13:19:54 +0000 (13:19 +0000)]
* edje_cc: Generate valid edje file when fixed point is enable.
SVN revision: 44332
Carsten Haitzler [Thu, 10 Dec 2009 02:26:50 +0000 (02:26 +0000)]
add check magic code!
SVN revision: 44326
Cedric BAIL [Wed, 9 Dec 2009 15:44:54 +0000 (15:44 +0000)]
* edje: Add Fixed Point Math support to Edje.
You can try it by passing --enable-fixed-point to the configure. It
will produce an ABI/API compatible Edje library that use internally
Eina_F32p32 instead of double. It will load Eina_F32p32 instead of
double from eet file (thanks to eet ability to convert them on the
fly), so edje file are compatible between fixed point and floating
point version.
This patch touch almost all internal calc of Edje, I did test it with
elementary_test, enlightenment and all my test apps, but it could
certainly break some of your preferred Edje file. If you see any
unexpected behaviour please report them to me as soon as possible.
Note: For devs, I put few macros in edje_private.h that should now
be used when doing calc in Edje, please use them so that Fixed Point
doesn't break in the futur.
SVN revision: 44323
Cedric BAIL [Wed, 9 Dec 2009 13:03:23 +0000 (13:03 +0000)]
* eina: Improve precision of f32p32 sinus/cosinus.
SVN revision: 44322
Vincent Torri [Wed, 9 Dec 2009 08:34:09 +0000 (08:34 +0000)]
useless variable if pthread is not used
SVN revision: 44319
Vincent Torri [Wed, 9 Dec 2009 08:25:58 +0000 (08:25 +0000)]
including Evil.h here cause big troubles with vc++ and EAPI. So
typedef here the needed types
SVN revision: 44318
Vincent Torri [Wed, 9 Dec 2009 08:23:34 +0000 (08:23 +0000)]
add always config.h in source file so that EAPI is correctly defined,
especially on Windows (otherwise, ICE in gcc... and vc++ is not
happy at all)
SVN revision: 44317
Vincent Torri [Wed, 9 Dec 2009 08:20:37 +0000 (08:20 +0000)]
fix parenthesis order. Thanks, vc++ !! :p
SVN revision: 44316
Vincent Torri [Wed, 9 Dec 2009 08:17:38 +0000 (08:17 +0000)]
add eina_fp.c in visual studio project files
SVN revision: 44315
Carsten Haitzler [Wed, 9 Dec 2009 07:54:43 +0000 (07:54 +0000)]
fmting
SVN revision: 44313
Carsten Haitzler [Wed, 9 Dec 2009 07:25:41 +0000 (07:25 +0000)]
shut up llabs!
SVN revision: 44312
Iván Briano [Wed, 9 Dec 2009 06:51:13 +0000 (06:51 +0000)]
Add type bool to external parameters
Patch by glima
SVN revision: 44308
Carsten Haitzler [Wed, 9 Dec 2009 06:26:59 +0000 (06:26 +0000)]
make nan const... cosnt!
SVN revision: 44307
Carsten Haitzler [Wed, 9 Dec 2009 05:46:02 +0000 (05:46 +0000)]
warnings--
SVN revision: 44306
Carsten Haitzler [Wed, 9 Dec 2009 05:30:43 +0000 (05:30 +0000)]
much better nan!
SVN revision: 44305
Iván Briano [Wed, 9 Dec 2009 05:12:16 +0000 (05:12 +0000)]
define NAN if not there
SVN revision: 44303
Carsten Haitzler [Wed, 9 Dec 2009 04:30:45 +0000 (04:30 +0000)]
edje_cc -> add % modulo to math eval and floor() and ceil()
SVN revision: 44301
Cedric BAIL [Tue, 8 Dec 2009 18:30:41 +0000 (18:30 +0000)]
* eina: Add sin and cos fixed point fonction.
SVN revision: 44287
Vincent Torri [Tue, 8 Dec 2009 17:40:46 +0000 (17:40 +0000)]
add Visual Studio files
embryo_cc project file is missing for Visual Studio 2005
SVN revision: 44285
Vincent Torri [Tue, 8 Dec 2009 17:34:57 +0000 (17:34 +0000)]
fix compilation with vc++
SVN revision: 44284
Cedric BAIL [Tue, 8 Dec 2009 16:02:10 +0000 (16:02 +0000)]
* eina: Fix negativ case and handle div with more accuracy.
SVN revision: 44281
Vincent Torri [Tue, 8 Dec 2009 05:55:55 +0000 (05:55 +0000)]
don't use UNICODE
SVN revision: 44275
Sebastian Dransfeld [Mon, 7 Dec 2009 21:08:49 +0000 (21:08 +0000)]
Make clang happy
SVN revision: 44259
Sebastian Dransfeld [Mon, 7 Dec 2009 21:04:02 +0000 (21:04 +0000)]
Remove unused variable
SVN revision: 44258
Sebastian Dransfeld [Mon, 7 Dec 2009 21:01:26 +0000 (21:01 +0000)]
Make clang happy
SVN revision: 44257
Cedric BAIL [Mon, 7 Dec 2009 17:48:40 +0000 (17:48 +0000)]
* eina: Fix precision of eina_f32p32_div.
SVN revision: 44252
Vincent Torri [Mon, 7 Dec 2009 17:23:41 +0000 (17:23 +0000)]
* src/lib/evil_libgen.c:
* src/lib/evil_libgen.h:
* src/lib/Makefile.am:
* win32/vs8/libevil.vcproj:
* win32/vs9/libevil.vcproj:
add basename() function.
* src/lib/Evil.h:
add basename() function and comment useless wrappers (for now).
* src/lib/dlfcn/dlfcn.h:
remove useless include.
* src/lib/evil_util.c:
formatting.
SVN revision: 44251
Vincent Torri [Mon, 7 Dec 2009 17:15:28 +0000 (17:15 +0000)]
* Fix compilation with vc++
* Fix Visual Studio project files
SVN revision: 44250
Vincent Torri [Mon, 7 Dec 2009 17:13:37 +0000 (17:13 +0000)]
* Include winsock2.h in eet_image.c for htonl definition on Windows.
* Fix Visual Studio project files
SVN revision: 44249
Cedric BAIL [Mon, 7 Dec 2009 13:08:16 +0000 (13:08 +0000)]
* eina: Fix atofp when exponent is negativ.
SVN revision: 44244
Cedric BAIL [Mon, 7 Dec 2009 12:53:29 +0000 (12:53 +0000)]
* eet: Reduce convertion to FP, float and double with a little overhead.
SVN revision: 44243