Commit Graph

1070 Commits

Author SHA1 Message Date
Iván Briano 005ee7f261 Move some printfs to eina_log and remove debug message
SVN revision: 44693
2009-12-23 15:26:29 +00:00
Gustavo Sverzut Barbieri a85cc11943 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
2009-12-22 23:56:11 +00:00
Cedric BAIL 018a9dad66 * edje: Use Eina_Log.
Patch from Mathieu Taillefumier.


SVN revision: 44655
2009-12-22 13:46:00 +00:00
Cedric BAIL 47ffb13f27 * edje: Fix Edje_Box use with fixed point.
SVN revision: 44650
2009-12-22 12:38:38 +00:00
Gustavo Sverzut Barbieri 598c9b339c fix warnings introduced by external parameter stuff.
Thanks to cedric by spotting those.


SVN revision: 44633
2009-12-21 16:39:24 +00:00
Cedric BAIL b3c373b571 * edje: Some more warning cleanup.
SVN revision: 44632
2009-12-21 16:24:39 +00:00
Vincent Torri bca91fb4c2 more portable way to get the sufix of a shared library name
SVN revision: 44573
2009-12-19 12:05:20 +00:00
Vincent Torri 1167399c7c include Evil.h so that ssize_t is defined for Windows CE
SVN revision: 44572
2009-12-19 12:00:02 +00:00
Gustavo Sverzut Barbieri ffdd35a843 add docs for image 'USER', that I didn't know about.
SVN revision: 44540
2009-12-18 12:34:07 +00:00
Carsten Haitzler 5b9e0b0ead fix return checks. broke compile!
SVN revision: 44523
2009-12-17 11:58:15 +00:00
Vincent Torri c7c66a652a 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
2009-12-17 00:50:43 +00:00
Iván Briano 6ade2a3f68 Show and hide clipper as needed
SVN revision: 44445
2009-12-14 17:38:45 +00:00
Cedric BAIL 576d5f7091 * edje: Force recalc before doing preloading.
SVN revision: 44443
2009-12-14 17:20:44 +00:00
Iván Briano bcf0748744 Show newly created part. Fixes some problems adding external parts in editje
SVN revision: 44442
2009-12-14 17:17:40 +00:00
Cedric BAIL 0209236d41 * edje_cc: Generate valid edje file when fixed point is enable.
SVN revision: 44332
2009-12-10 13:19:54 +00:00
Cedric BAIL b32c9a3eae * 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
2009-12-09 15:44:54 +00:00
Carsten Haitzler eac3646b27 fmting
SVN revision: 44313
2009-12-09 07:54:43 +00:00
Iván Briano 836496c265 Add type bool to external parameters
Patch by glima


SVN revision: 44308
2009-12-09 06:51:13 +00:00
Carsten Haitzler aad24b249c make nan const... cosnt!
SVN revision: 44307
2009-12-09 06:26:59 +00:00
Carsten Haitzler 4d42a6d2db warnings--
SVN revision: 44306
2009-12-09 05:46:02 +00:00
Carsten Haitzler 8700b81cb2 much better nan!
SVN revision: 44305
2009-12-09 05:30:43 +00:00
Iván Briano 35da61c96d define NAN if not there
SVN revision: 44303
2009-12-09 05:12:16 +00:00
Carsten Haitzler 3ec78b10c3 edje_cc -> add % modulo to math eval and floor() and ceil()
SVN revision: 44301
2009-12-09 04:30:45 +00:00
Cedric BAIL 7117431ed6 * edje-edit: Don't forget to initialize list to NULL.
SVN revision: 44188
2009-12-04 16:34:35 +00:00
Cedric BAIL c76b578b37 * edje: Add edje_object_preload, it will force the preload of all
image embeded inside an edje and send a signal ("preload,done", "")
	at the end.


SVN revision: 44186
2009-12-04 16:20:40 +00:00
Gustavo Sverzut Barbieri f0e42c478d Edje_External_Type: rename functions that add new objects.
SVN revision: 44137
2009-12-02 21:54:28 +00:00
Gustavo Sverzut Barbieri 778cc70719 Edje_External_Type: break abi, add abi checker.
- add preview_get() and description_get(), breaking ABI badly.
 - add abi_version field to be fileld with EDJE_EXTERNAL_TYPE_ABI_VERSION
   and checked with edje_external_type_abi_version_get()




SVN revision: 44135
2009-12-02 21:41:28 +00:00
Gustavo Sverzut Barbieri aedc584923 warn usage of part swallow without swallow
SVN revision: 44134
2009-12-02 21:16:42 +00:00
Gustavo Sverzut Barbieri 6ab03e1d93 edje_decc: option to output to current directory.
SVN revision: 44133
2009-12-02 21:06:11 +00:00
Gustavo Sverzut Barbieri 6396f3fb00 edje_decc: -no-build-sh
Don't output build.sh



SVN revision: 44132
2009-12-02 21:00:57 +00:00
Gustavo Sverzut Barbieri 607de4c300 batch register/unregister of external types, faster and lighter on memory.
This is the recommended way to register a batch of types, it will not
do check (hash lookup) before adding and keys are added as "direct"
(not copied), thus lighter on memory.



SVN revision: 44102
2009-12-01 17:58:17 +00:00
Carsten Haitzler 6f1873f87d add lots of cursor con trol api's
SVN revision: 44087
2009-12-01 11:02:46 +00:00
Iván Briano c0a9b68eeb actually add stuff to the list
SVN revision: 44067
2009-11-30 20:06:26 +00:00
Iván Briano da589aaae7 restack swallowed objects too
SVN revision: 44030
2009-11-27 20:34:43 +00:00
Iván Briano 407c62cb7f Update object when external parameters are set
SVN revision: 44021
2009-11-27 17:57:35 +00:00
Iván Briano 45a07d458e Delete internal object when external part is removed
SVN revision: 44007
2009-11-26 18:03:40 +00:00
Iván Briano 2ea026ea3a create external in the right place
SVN revision: 44006
2009-11-26 17:38:43 +00:00
Iván Briano 828b281904 externals {} in edje_edit, source generation and add module to the external_Type api to keep track of who registers what
SVN revision: 44003
2009-11-26 17:01:31 +00:00
Iván Briano 612f005cef More macros and default values por external parameters.
Add external parts in edje_edit


SVN revision: 43977
2009-11-25 17:00:53 +00:00
Iván Briano 521c89df41 dont segv if theres no file
SVN revision: 43958
2009-11-24 21:08:52 +00:00
Iván Briano 9892926bdf Autoload modules for external widgets
Patch by Fabiano Fidencio


SVN revision: 43951
2009-11-24 17:55:11 +00:00
Iván Briano 2001a9e246 Easier to use macros
SVN revision: 43937
2009-11-23 22:18:01 +00:00
Iván Briano 10434c1fc4 Parameter information for external widgets
This are used for things like editors to know what parameters
to manage for external stuff.


SVN revision: 43935
2009-11-23 20:21:22 +00:00
Iván Briano 7ea88efdd8 Better path for modules and move variables to beginning of block
SVN revision: 43934
2009-11-23 19:50:54 +00:00
Gustavo Sverzut Barbieri 14860ca5ce edje external module loader: just load modules once.
not tested, but should work.


SVN revision: 43933
2009-11-23 18:47:31 +00:00
Gustavo Sverzut Barbieri d40d8d123d edje external support, part 1.
Patch by Fabiano Fidêncio <fidencio@profusion.mobi>



SVN revision: 43927
2009-11-23 15:03:19 +00:00
Carsten Haitzler 84077e2f18 patch from tasn: rtl fit.
SVN revision: 43886
2009-11-22 01:49:44 +00:00
Iván Briano 44a8c218f0 Edje_Edit
- Watch for non-shared strings when copying states
 - Get/Set external parameters


SVN revision: 43757
2009-11-18 00:27:49 +00:00
Iván Briano d32a84d8a4 Constness and pass object around
SVN revision: 43671
2009-11-13 18:35:19 +00:00
Iván Briano bc674aaaeb consistent return
SVN revision: 43630
2009-11-12 15:41:45 +00:00
Lars Munch a431b7c99d Fix linking issue when cross building from linux to windows
SVN revision: 43604
2009-11-10 16:58:36 +00:00
Carsten Haitzler 3b07a3d255 fix segv on obj del - didnt remove callbacks!
SVN revision: 43596
2009-11-09 23:47:42 +00:00
Sebastian Dransfeld 04326d9da1 Remove unused variables
SVN revision: 43538
2009-11-08 20:26:51 +00:00
Sebastian Dransfeld 06cd51c917 Uncomment label along with goto
SVN revision: 43537
2009-11-08 20:26:36 +00:00
Vincent Torri ee3dfadb3b fix dist/distcheck rule
SVN revision: 43479
2009-11-06 06:40:38 +00:00
Vincent Torri a6210fef9a allow the amalgation stuff in edje
SVN revision: 43429
2009-11-03 09:27:59 +00:00
Vincent Torri fd17f32a19 * rename _edje_strbuf_append to _edje_strbuf_append1 and
_edje_strbuf_append2 in edje_util.c and edje_textblock_styles.c
   respectiveley (for amalgamation. See next commit)
 * fixes for vc++


SVN revision: 43428
2009-11-03 09:26:15 +00:00
Cedric BAIL 94d9897398 * edje: On size hints don't forget to invalidate real part cache.
SVN revision: 43416
2009-11-02 10:18:14 +00:00
Iván Briano 2ba79e04af Some more stuff in externals, little api change there, may change some more later.
SVN revision: 43379
2009-10-31 18:07:08 +00:00
Iván Briano 22952844c4 and bring external back now that the file was added
SVN revision: 43306
2009-10-27 01:08:19 +00:00
Iván Briano b5cc9c66b0 They say missing files need to be added, they don't respawn like things in Quake
SVN revision: 43305
2009-10-27 00:55:51 +00:00
Carsten Haitzler d3fd0c30cb REVERT! broke edje.
try again and dont forget to add edje_external.c! (and any others needing
adding)



SVN revision: 43304
2009-10-27 00:27:50 +00:00
Iván Briano 68756f92b2 External objects support by Brian 'rephorm' Mattern
Since we are on a freeze, the patch goes on updated to current svn, but without changing its API. After the freeze some things will be added, and some will change :)


SVN revision: 43302
2009-10-26 21:33:56 +00:00
Iván Briano 002ed701f5 Edje_Edit is too noisy.
Comment out some printf's. Needs moving to eina_log, but no time for
that now.


SVN revision: 43301
2009-10-26 21:28:39 +00:00
Jonathan Atton cc6a5c7181 fix evas_object_event_callback_del_full()
SVN revision: 43295
2009-10-26 09:29:55 +00:00
Carsten Haitzler 6e4f0dad8e provide fast-path for re-swallow
SVN revision: 43292
2009-10-26 08:26:10 +00:00
Carsten Haitzler 65bb03f891 change to del fulls just to be consistent
SVN revision: 43291
2009-10-26 07:28:51 +00:00
Vincent Torri cbcf159c27 warning--
SVN revision: 43266
2009-10-25 12:17:05 +00:00
Vincent Torri 10b4ebc4d4 * fix some warnings
* move variable declarations at the top of the bloc

SVN revision: 43265
2009-10-25 11:40:06 +00:00
Vincent Torri d3f076e73a unused parameters --
SVN revision: 43264
2009-10-25 11:24:55 +00:00
Vincent Torri 3c48d7e6d0 * include config.h in all source files
* declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

SVN revision: 43263
2009-10-25 11:19:12 +00:00
Iván Briano 8c30661e7e Add function to copy a part description. Helps to get templates going
SVN revision: 43176
2009-10-21 06:19:02 +00:00
Vincent Torri 24211c8331 add declaration of alloca
SVN revision: 43050
2009-10-13 16:54:30 +00:00
Cedric BAIL fd65247e8e * edje: Support back empty file.
SVN revision: 42981
2009-10-09 08:51:03 +00:00
Vincent Torri 0ad8c4a466 add logging in edje_main.c only for now. Could be extended
to other files later.


SVN revision: 42980
2009-10-09 05:41:05 +00:00
Vincent Torri 1c7fa1c81b rename _edje_edd_setup() and _edje_edd_free() to respectively
_edje_edd_init() and _edje_edd_shutdown() to follow standard
naming convention


SVN revision: 42978
2009-10-09 05:17:19 +00:00
Vincent Torri 4c3b28a804 Check if one of the dependencies fails in edje_init()
SVN revision: 42975
2009-10-08 21:58:32 +00:00
Vincent Torri c6a563fd7a fix tmp dir on Windows
SVN revision: 42974
2009-10-08 21:45:55 +00:00
Vincent Torri 25bec0854c * simplify a bit edje_init() and edje_shutdown() a bit
* change behavior of edje_shutdown() to make it more standard
 * move eet_shutdown()

the order still seems strange. I don't know if i can freely move
the init/shutdown functions


SVN revision: 42958
2009-10-08 07:05:19 +00:00
Carsten Haitzler facd02ffdc and delete size change hints cb if unswallowed
SVN revision: 42951
2009-10-08 03:49:51 +00:00
Carsten Haitzler 495e804832 if a swallowed object shanges size hints.. re-fetch and calc!
SVN revision: 42949
2009-10-08 03:44:53 +00:00
Cedric BAIL c6267c9fb9 * edje: Oops. Correct fix.
SVN revision: 42937
2009-10-07 12:40:28 +00:00
Cedric BAIL 45b12f7ad5 * edje: Help windows users to be happy.
SVN revision: 42933
2009-10-07 11:50:58 +00:00
Cedric BAIL b9f0728738 * edje: Another round of llvm warning removal.
SVN revision: 42932
2009-10-07 11:36:23 +00:00
Cedric BAIL 8ea901a753 * edje: Remove some potential bug detected by llvm and gcc.
See: http://local.profusion.mobi:8081/~lfelipe/output-efl/


SVN revision: 42930
2009-10-07 10:55:48 +00:00
Vincent Torri e4bea597c7 Fix documentation
* update Doxyfile file
 * fix end of groups
 * fix some warnings
 * fix link in head.html for Edje API ref


SVN revision: 42794
2009-09-29 06:13:33 +00:00
Gustavo Sverzut Barbieri d7c76122b0 edje_{,object}_color_class_get() and signals when color_classes are changed.
Enable applications to retrieve current color class values as well as
emit edje signals when they are deleted or changed.



SVN revision: 42773
2009-09-28 17:23:02 +00:00
Iván Briano 4e33c6fd65 Improve documentation for Evas, Ecore, Edje and Elementary.
Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima


SVN revision: 42552
2009-09-17 22:38:35 +00:00
Iván Briano ed7064edcc Move some defines to enum and expose them.
Move to Eina_Bool.
Return success for rename of group and part to the same name.

Patch by Tiago Rezende Campos Falcão


SVN revision: 42506
2009-09-16 03:37:28 +00:00
Hannes Janetzek e7d76f6392 also remove text class members on object deletion
SVN revision: 42397
2009-09-11 00:48:57 +00:00
Christopher Michael d00a91f70d Formatting.
SVN revision: 42185
2009-09-02 15:48:34 +00:00
Carsten Haitzler 8a202ffe04 remove excessive backspace
SVN revision: 42183
2009-09-02 12:49:09 +00:00
Iván Briano d0e971620e fix docs
SVN revision: 42159
2009-09-01 16:16:23 +00:00
Cedric BAIL a77cd76e1d * edje: Fix static build of edje.
SVN revision: 42146
2009-09-01 10:02:40 +00:00
Vincent Torri d3d9560eb1 remove debug
SVN revision: 42086
2009-08-29 08:42:44 +00:00
Vincent Torri 1029babb26 remove debug
SVN revision: 42057
2009-08-28 05:49:40 +00:00
Vincent Torri 2a8d44f5a0 allow the user to chose in which directory the temporary file
will be created. The logic is the following:

 * if the environment variable TMPDIR is set, use its value
 * if it is not set, take the directory passed with the
   -td option (see edje_cc help)
 * otherwise on Windows use a temporary dir and on other
   platform, use /tmp


SVN revision: 41978
2009-08-25 17:25:23 +00:00
Vincent Torri 5fd9a46869 small cleanup
SVN revision: 41958
2009-08-24 17:20:33 +00:00
Vincent Torri 8b2bd0c079 * remove unused parameters (except in edje_lua.c, as i don't know the current status)
* remove unused variables


SVN revision: 41957
2009-08-24 16:40:42 +00:00
Vincent Torri b4ddae48b8 typo
SVN revision: 41942
2009-08-23 15:37:20 +00:00