Commit Graph

9821 Commits

Author SHA1 Message Date
Boris Faure 625818de6e edje: get parts in a part type BOX/TABLE
SVN revision: 48513
2010-05-01 17:13:38 +00:00
Boris Faure 5a4287896d edje: wibble
SVN revision: 48509
2010-05-01 16:17:44 +00:00
Carsten Haitzler 15b7e11198 hmm - i don't know how this happened, but - metrics were not being done
right. fixed now. i wonder why. this used to be right at some point.



SVN revision: 48503
2010-05-01 14:08:14 +00:00
Carsten Haitzler c10f1e9c5d fix map rendering of text objects.
SVN revision: 48501
2010-05-01 13:27:05 +00:00
Carsten Haitzler 9f030460b3 use part geom for map - better for text.. oh yeah.
SVN revision: 48498
2010-05-01 12:40:27 +00:00
Cedric BAIL 6caac50006 * eina: improve QuadTree API.
SVN revision: 48482
2010-04-30 17:04:28 +00:00
Lucas De Marchi c98e00eec0 Define new error handling macros
EINA_SAFETY_ON_TRUE_GOTO and EINA_SAFETY_ON_FALSE_GOTO are now defined
to ease error handling. Functions might need to take actions before
returning upon safety checks fail.




SVN revision: 48478
2010-04-30 14:54:05 +00:00
Carsten Haitzler 7713be2a89 fix map bug - overzealous optimising. missed case in opt.
SVN revision: 48465
2010-04-30 11:24:22 +00:00
Carsten Haitzler 64c051e7c2 fix map render bug.
SVN revision: 48462
2010-04-30 08:24:55 +00:00
Iván Briano 0346030c17 Always allow selections for entries when select_mode is default
SVN revision: 48434
2010-04-29 19:56:59 +00:00
Tiago Rezende Campos Falcao 266ac4bd99 update mtime when save
SVN revision: 48432
2010-04-29 18:52:59 +00:00
Tiago Rezende Campos Falcao ea7c060805 Code Replication --
SVN revision: 48431
2010-04-29 18:52:55 +00:00
Sebastian Dransfeld 5be72adc7d efreet: TODO++
SVN revision: 48429
2010-04-29 18:16:15 +00:00
Cedric BAIL a52773a8ab * evas: specify Evas canvas for Evas_Object.
SVN revision: 48428
2010-04-29 17:35:47 +00:00
Cedric BAIL d239b6c524 * eina: oops forgotten file.
SVN revision: 48425
2010-04-29 17:30:18 +00:00
Cedric BAIL 9367b5f7c7 * eina: Add first version of a Quad Tree data type.
NOTE: consider the API experimental and subject to change.


SVN revision: 48424
2010-04-29 17:21:14 +00:00
Cedric BAIL 49c0a1e6e2 * eina: add tests for eina fixed point sin/cos functions.
SVN revision: 48423
2010-04-29 17:08:24 +00:00
Gustavo Sverzut Barbieri 2e4b0fddd8 load ~/.Xdefaults less often, make it shared and free its resources.
SVN revision: 48420
2010-04-29 15:32:47 +00:00
Iván Briano 843fb898ef be friendly with the commonlispers who like to call init and shutdown more than once
SVN revision: 48409
2010-04-28 23:10:31 +00:00
Gustavo Sverzut Barbieri 66475f25c3 Load Xft.dpi from ~/.Xdefaults as well.
Do this for consistency with other applications, some people just set
.Xdefaults but do not have xrdb to load it to screen. This works with
most of the systems, like Gtk and Qt, but not in Evas, so we get
different font sizes as they calculate based on DPI.

HOWEVER, and this may be a big thing, so RASTERMAN take a look, this
might impose a performance hit on window creation... remember that
every E17 popup/tooltip will hit this process of reading the file (if
exists) and then query X server (round trip).
    I'd rather make this a global resource, loaded just once for all
created windows, we can store the mtime to know when it changed and
invalidate the pointer... but as Raster did not keep the
XrmGetDatabase() result as global, I'm not doing it here either.



SVN revision: 48403
2010-04-28 20:26:04 +00:00
Iván Briano 2f9b52fb1c When changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
SVN revision: 48398
2010-04-28 18:40:05 +00:00
Carsten Haitzler 8ea3844c85 fix fill render bug cedric reported. :)
SVN revision: 48393
2010-04-28 14:38:46 +00:00
Carsten Haitzler c4e6db910d enable that stuff - shouldnt hurt to be explicit.
SVN revision: 48383
2010-04-28 05:14:02 +00:00
Carsten Haitzler a0b2235a44 add offset in transform of coords. missed that.
SVN revision: 48372
2010-04-28 01:52:58 +00:00
Carsten Haitzler 0dc8a3d0b7 \n--
SVN revision: 48371
2010-04-28 00:05:56 +00:00
Carsten Haitzler 9941fd4f8e better debug/error output for foreign fd issues.
SVN revision: 48370
2010-04-27 23:53:08 +00:00
Cedric BAIL fc44f0f050 * evas: cleanup white space.
SVN revision: 48363
2010-04-27 13:43:10 +00:00
Carsten Haitzler ea3dace944 handle url set better
SVN revision: 48358
2010-04-27 10:53:25 +00:00
Carsten Haitzler a08e3d18dc formatting.
SVN revision: 48354
2010-04-27 04:30:55 +00:00
Iván Briano 53f05ae0e5 A bit more carefulness when deleting states.
SVN revision: 48352
2010-04-26 22:51:24 +00:00
Iván Briano 675bb06b45 Make program_del() a bit more straight forward while fixing the problems it had updating references.
SVN revision: 48350
2010-04-26 22:35:49 +00:00
Iván Briano d57f9b09d6 Use edje_edit_object_add() or the edje_edit API won't work.
SVN revision: 48347
2010-04-26 19:46:15 +00:00
Tiago Rezende Campos Falcao a68f8e5529 Edje_edit font_del
SVN revision: 48339
2010-04-26 18:19:49 +00:00
Tiago Rezende Campos Falcao f95de840fa Edje_edit font_add with alias
SVN revision: 48338
2010-04-26 18:19:46 +00:00
Tiago Rezende Campos Falcao 023d8d6c15 Edje_edit image_del
SVN revision: 48337
2010-04-26 18:19:43 +00:00
Tiago Rezende Campos Falcao 1c1eee2805 Edje_edit image_add review
SVN revision: 48336
2010-04-26 18:19:39 +00:00
Carsten Haitzler 685fadf869 item provider callback... add!
SVN revision: 48329
2010-04-26 14:55:45 +00:00
Carsten Haitzler 2d349c2d7b and dont mix anchors and items - for now. for now now way to "get" all the
items. mulling over how an item href name will map to having an evas object
attached/supplied (once there, its' easy to just control the object like href
objects, selection and cursor objects are).



SVN revision: 48311
2010-04-25 13:57:41 +00:00
Carsten Haitzler ac70bae562 correct ascent
SVN revision: 48309
2010-04-25 13:11:44 +00:00
Carsten Haitzler 39de4a6db7 support items... yo... mostly.
SVN revision: 48307
2010-04-25 13:06:58 +00:00
Carsten Haitzler fbbd6ffef1 and make items work properly.
SVN revision: 48306
2010-04-25 13:05:45 +00:00
Carsten Haitzler 1112f418dc add api to get the item geometry itself. needed to put somethign there.
SVN revision: 48305
2010-04-25 12:40:26 +00:00
Carsten Haitzler d37f08a616 adding... items... oooooh what are these items? invisible sized blobs treated
like characters/words for wrapping. intended for use in sticking inlined
content - like icons, images etc.



SVN revision: 48301
2010-04-25 11:35:41 +00:00
Carsten Haitzler bf22e27af6 apparently fbsd is unaware of expr substr...
SVN revision: 48277
2010-04-24 14:33:10 +00:00
Carsten Haitzler 0dd3139705 apparently fbsd is unaware of expr substr...
SVN revision: 48276
2010-04-24 14:31:36 +00:00
Carsten Haitzler 87efa72125 apparently fbsd is unaware of expr substr...
SVN revision: 48275
2010-04-24 14:31:23 +00:00
Carsten Haitzler d4ba7c3a06 amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)



SVN revision: 48273
2010-04-24 14:07:17 +00:00
Carsten Haitzler 36bd7d71e0 amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)



SVN revision: 48272
2010-04-24 14:05:05 +00:00
Iván Briano bb157d6145 Delete the right file, not the newly added to the cache.
SVN revision: 48262
2010-04-23 23:01:29 +00:00
Vincent Torri d762831a62 copy/paste error
SVN revision: 48254
2010-04-23 17:37:31 +00:00
Iván Briano 8b706a1786 Also use an edit object when generating the source.
SVN revision: 48231
2010-04-22 20:29:35 +00:00
Iván Briano 78ff22f2dc Fix infinite loop when trying to group_del and group_add when id is zero.
By Thiago Masaki


SVN revision: 48228
2010-04-22 19:09:30 +00:00
Iván Briano 812b9ef672 Un/Clip swallowed objects too when setting clipper.
SVN revision: 48225
2010-04-22 18:13:21 +00:00
Iván Briano f18163a403 Edje Edit: Now inherits the smart from Edje and has stuff of its own in there.
To use the Edje Edit API now you need to add the object to the canvas with edje_edit_object_add().
Normal edje functions will work as usual, but it's no longer possible to tamper with the standard objects internals.
Also, big reformat of Edje_Edit.h while fixing docs. Yes, monster commit.


SVN revision: 48220
2010-04-22 17:56:00 +00:00
Cedric BAIL 2042862423 * eet: refactor some code.
SVN revision: 48218
2010-04-22 14:43:51 +00:00
Cedric BAIL eccf7d14a7 * eet: fix documentation.
SVN revision: 48217
2010-04-22 14:40:31 +00:00
Cedric BAIL c22277e070 * eet: remove EET_G_INHERIT.
SVN revision: 48216
2010-04-22 09:56:22 +00:00
Boris Faure 7dc9294519 edje: improve vim syntax file and become the maintainer
SVN revision: 48214
2010-04-21 21:00:40 +00:00
Rui Seabra a13c11beaf Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs
SVN revision: 48213
2010-04-21 20:55:23 +00:00
Vincent Torri b4794c5df2 bug--
SVN revision: 48212
2010-04-21 20:50:03 +00:00
Vincent Torri 00364256fd use a macro for edje external support
SVN revision: 48211
2010-04-21 19:51:16 +00:00
Gustavo Sverzut Barbieri c3673ba481 make code compile if we reach the impossible :-)
SVN revision: 48209
2010-04-21 19:04:19 +00:00
Vincent Torri 83723040ad wrong default path for the emotion modules
SVN revision: 48208
2010-04-21 18:59:24 +00:00
Cedric BAIL 7df0e78a6f * edje: during removal the removed list is modified.
SVN revision: 48207
2010-04-21 16:36:55 +00:00
Cedric BAIL b0618cbc01 * eet: use const only when needed.
SVN revision: 48204
2010-04-21 16:10:55 +00:00
Cedric BAIL a5aaf1723b * eet: Add EET_G_VARIANT and EET_G_UNION.
This are the basis for a new edje file format.
	Next to come EET_G_INHERIT.


SVN revision: 48201
2010-04-21 14:00:24 +00:00
Cedric BAIL 7c0098c1a3 * evas: fix race condition when file change between header read and data read.
WARNING: THIS RACE STILL EXIST IF YOU USE JPEG REGION.


SVN revision: 48200
2010-04-21 13:47:42 +00:00
Iván Briano 661e7e8be2 Update references to groups when renaming or deleting one from the file.
Patch by Thiago Masaki


SVN revision: 48188
2010-04-20 22:12:15 +00:00
Iván Briano 1c63337989 Add after_del() function
SVN revision: 48177
2010-04-20 19:57:17 +00:00
Tiago Rezende Campos Falcao ad8314a7ce Removing ugly whitespaces
SVN revision: 48145
2010-04-19 20:37:40 +00:00
Tiago Rezende Campos Falcao a3333361f5 Dont need recalc params in external description in part_recalc.
Others types, like TEXT/TEXTBLOCK/SWALLOW/GROUP (others?), are similar to Externals. And may can recalc some properties only in description_apply, not on every call to part_recalc.

Some generic boolean properties, like "visible", can be moved to description_appy too.

SVN revision: 48144
2010-04-19 20:37:35 +00:00
Tiago Rezende Campos Falcao abc78c3d9a Use external_params_set to update params
SVN revision: 48143
2010-04-19 20:37:32 +00:00
Tiago Rezende Campos Falcao c1be10e587 Removing some warnings of edje
Remaining:
edje_lua.c:328: ‘_edje_lua_reg_count’ defined but not used
edje_lua.c:409: ‘_edje_lua_rawgetfield’ defined but not used
edje_lua.c:445: ‘_edje_lua_free_metatable’ defined but not used
edje_lua.c:2182: ‘_edje_lua_object_set_pointer_mode’ defined but not used
edje_lua.c:2190: ‘_edje_lua_object_set_precise_is_inside’ defined but not used

SVN revision: 48142
2010-04-19 20:37:28 +00:00
Sebastian Dransfeld b5caf6ce1b efreet: fix #534
SVN revision: 48110
2010-04-18 20:04:09 +00:00
Michael Jennings c3f93a9ebd After discussing with raster, this is what he requested for the spec
files:  using the SVN revision instead of the datestamp.  Other
methods can still be used, however, by adding (e.g.):

--define "_rel 0.`date +%Y%m%d`"

to the rpmbuild command line.

Other spec files will need similar changes.  This is just the first
few.



SVN revision: 48099
2010-04-18 07:03:09 +00:00
Gustavo Sverzut Barbieri 004df4045f Get a table element with its coordinates.
By: Hugo Camboulive <hugo.camboulive@gmail.com>


SVN revision: 48088
2010-04-17 20:28:22 +00:00
Gustavo Sverzut Barbieri 9b5981a52e Get a table element with its coordinates.
By: Hugo Camboulive <hugo.camboulive@gmail.com>


SVN revision: 48087
2010-04-17 20:27:53 +00:00
Albin Tonnerre 1dde324c33 [E-devel] [PATCH] Efreet: move efreet_desktop_cache_create out of
the path
This binary is just an internal helper, and isn't expected to be run by
anything but efreet.  Therefore, let's emphasize this and keep it out of
the path by installing it in PACKAGE_LIB_DIR/efreet/

Signed-off-by: Albin Tonnerre <lutin@debian.org>

By: Albin Tonnerre <albin.tonnerre@gmail.com>



SVN revision: 48085
2010-04-17 20:19:35 +00:00
Sebastian Dransfeld a384141abc efreet: Check return value from opendir
SVN revision: 48081
2010-04-17 18:39:13 +00:00
Carsten Haitzler d5f84085b5 and fix up.down arrow on intermediate lines with overflow
SVN revision: 48076
2010-04-17 16:19:28 +00:00
Carsten Haitzler d2124c5b46 remove useless eol
SVN revision: 48075
2010-04-17 16:19:11 +00:00
Carsten Haitzler 7700e78d19 char wrap - click to go to end works.
SVN revision: 48074
2010-04-17 15:50:27 +00:00
Vincent Torri 5f6f8cbc48 fix vc++ compilation
SVN revision: 48064
2010-04-17 05:35:13 +00:00
Vincent Torri 65525e9412 fix warning with vc++
SVN revision: 48063
2010-04-17 05:34:55 +00:00
Vincent Torri 2ff087b20f fix tiff loader and saver compilation with vc++
SVN revision: 48062
2010-04-17 05:26:13 +00:00
Cedric BAIL d0ec0f0b96 * eet: improve tests suite coverage of signature print code.
SVN revision: 48056
2010-04-16 15:27:50 +00:00
Cedric BAIL b7dcdf619a * eet: handle fixed point in data stream.
SVN revision: 48055
2010-04-16 14:44:29 +00:00
Cedric BAIL 2cc28483e6 * eet: Improve coverage by tests suite and don't leak file in /tmp.
SVN revision: 48054
2010-04-16 14:43:07 +00:00
Cedric BAIL e5abb9bfbe * eina: fix rounding issue with different size of fixed point.
SVN revision: 48053
2010-04-16 14:32:18 +00:00
Vincent Torri 74d6e04bec add Visual Studio 9 solution and project files
SVN revision: 48048
2010-04-16 06:24:49 +00:00
Carsten Haitzler ca87bc3349 how about if opendir fails... we dont try and walk the dir? :)
SVN revision: 48047
2010-04-16 02:20:56 +00:00
Carsten Haitzler 58c7049da8 allow neon build even if not armv4 - eg build for armv6 but add neon asm as a
"check if its there then use it" ala mmx/sse as opposed to require it all be
neon armv7 stuff ffor neon to work.



SVN revision: 48044
2010-04-16 00:13:46 +00:00
Sebastian Dransfeld 3d71b07fc7 TODO--
SVN revision: 48040
2010-04-15 19:43:02 +00:00
Sebastian Dransfeld 9460f8ed3e efreet: use convenience func
One func to add monitor, func checks for duplicate monitor and uses
realpath

SVN revision: 48038
2010-04-15 19:38:01 +00:00
Sebastian Dransfeld 80e3b951fa efreet: listen for changes recursivly
SVN revision: 48036
2010-04-15 19:21:23 +00:00
Sebastian Dransfeld 1488a1889d efreet: better naming
SVN revision: 48035
2010-04-15 19:21:13 +00:00
Sebastian Dransfeld 37e39a6834 efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld 2df0141340 efreet: better naming
SVN revision: 48033
2010-04-15 19:20:51 +00:00
Sebastian Dransfeld 1560298337 efreet: better naming
SVN revision: 48032
2010-04-15 19:20:41 +00:00
Sebastian Dransfeld 1446a1a819 efreet: reorganize
SVN revision: 48031
2010-04-15 19:20:31 +00:00
Sebastian Dransfeld 42415580c2 efreet: group EAPI int's and init 0
SVN revision: 48030
2010-04-15 19:20:18 +00:00
Sebastian Dransfeld 078fd2fd91 efreet: remove old code
SVN revision: 48029
2010-04-15 19:20:09 +00:00
Sebastian Dransfeld bb7b272b18 efreet: better naming
SVN revision: 48028
2010-04-15 19:19:59 +00:00
Sebastian Dransfeld 28f67a86d7 efreet: formatting
SVN revision: 48027
2010-04-15 19:19:48 +00:00
Sebastian Dransfeld 1870180db1 efreet: and add file
SVN revision: 48026
2010-04-15 18:24:48 +00:00
Sebastian Dransfeld 6b1bb18738 efreet: split desktop command to separate file
SVN revision: 48025
2010-04-15 18:23:42 +00:00
Vincent Torri 3939026032 and add mempool source files...
SVN revision: 48018
2010-04-15 07:06:50 +00:00
Vincent Torri 741a9cf6da Patch Eina if Visual Studio 2005 is used. I fear that
it will be a pain to support...


SVN revision: 48017
2010-04-15 07:01:29 +00:00
Vincent Torri 09a2e65378 forgot a semicolon
SVN revision: 48016
2010-04-15 06:53:23 +00:00
Vincent Torri c76d3cea37 remove useless semicolon
SVN revision: 48015
2010-04-15 06:28:22 +00:00
Vincent Torri 16b01952a9 include Evil.h with vc++ for vasprintf
SVN revision: 48014
2010-04-15 06:16:59 +00:00
Vincent Torri 1e8c976b28 include private headers after standard headers
SVN revision: 48013
2010-04-15 06:13:08 +00:00
Vincent Torri c2b764c90a * link against iconv.lib
* staically link the modules with VS8


SVN revision: 48012
2010-04-15 06:03:37 +00:00
Boris Faure 8565802348 ecore: enable XIM by default
SVN revision: 48008
2010-04-14 21:02:37 +00:00
Sebastian Dransfeld 84f6110ff1 TODO++
SVN revision: 48003
2010-04-14 19:39:36 +00:00
Vincent Torri c1f0bf9bbd * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	add vasprintf() function



SVN revision: 48001
2010-04-14 17:47:40 +00:00
Tiago Rezende Campos Falcao 84e4660d68 Fix state_apply without animation.
Used in edje_edit_part_selected_state_set.

SVN revision: 48000
2010-04-14 16:34:06 +00:00
Carsten Haitzler a6e4ee23f5 oops. fix scalecache issue - would do a LOT of unload/reload thanks to extra
dump code. moved into dump code as opposed to unload.



SVN revision: 47982
2010-04-13 03:00:29 +00:00
Iván Briano e0dedc5eb9 Release lock before returning
SVN revision: 47980
2010-04-12 21:51:35 +00:00
Tiago Rezende Campos Falcao 8a8ef913c8 Using value returned from vasprintf, and removed warnings
SVN revision: 47967
2010-04-12 18:30:07 +00:00
Carsten Haitzler c2da1184b6 dump and flush protocol added.
SVN revision: 47948
2010-04-12 08:24:19 +00:00
Carsten Haitzler afe65d7c0a add ability to dump engine coontents (if engine supports it). this means
unload images it has loaded from disk, unload fonts, and more. dump dump dump!



SVN revision: 47947
2010-04-12 08:23:53 +00:00
Christopher Michael 02c4cbac7d New function/atoms for Toggle of Quickpanel (for cases where we do not know
the current quickpanel state).



SVN revision: 47935
2010-04-11 20:37:11 +00:00
Vincent Torri 8f36c8075e explicit cast
SVN revision: 47907
2010-04-10 23:23:26 +00:00
Cedric BAIL 4b55e9f4eb * eet: let eet create the temporary test file.
SVN revision: 47880
2010-04-09 17:22:45 +00:00
Tiago Rezende Campos Falcao 1cfae12558 Use eina.strbuf to generate the source code. Cedric suggestion
SVN revision: 47878
2010-04-09 16:05:17 +00:00
Tiago Rezende Campos Falcao b7e410d621 Adding strbuf printfs
SVN revision: 47877
2010-04-09 15:56:20 +00:00
Cedric BAIL b02d6ed0ce * eet: Add eet_sync, reduce between file delete and file creation,
reduce number of fd open.

	This should not break anything, but report any issue regarding eet file
	creation, thread and file corruption on disk.


SVN revision: 47872
2010-04-09 13:45:25 +00:00
Cedric BAIL 97b8f7a58d * eet: remove dead code.
SVN revision: 47871
2010-04-09 12:38:49 +00:00
Vincent Torri 91a435fd4f and rename the gdi project file
SVN revision: 47869
2010-04-09 06:33:41 +00:00
Vincent Torri 6fbf78bf7c update Visual Studio files
SVN revision: 47868
2010-04-09 06:32:50 +00:00
Hannes Janetzek 5fd3adcc68 make ecore thread cancel work. someone knowing the internals should check this again.
SVN revision: 47866
2010-04-09 04:52:04 +00:00
Vincent Torri fb9bde702e static int for the log domain. Thanks, Gustavo
SVN revision: 47850
2010-04-08 22:55:54 +00:00
Tiago Rezende Campos Falcao e99f2e77cb Check source generation in save
SVN revision: 47842
2010-04-08 19:37:22 +00:00
Iván Briano 3c61844af1 Make the Edje Smart inheritable.
Pretty much moving some things around and extending the smart class
to allow overloading some common functions. Edje_Edit will make use
of this.


SVN revision: 47841
2010-04-08 19:21:54 +00:00
Vincent Torri 57c16867e2 remove unused variable
SVN revision: 47840
2010-04-08 17:41:18 +00:00
Vincent Torri 438f002794 use float constants instead of double as computations
are done on float numbers


SVN revision: 47839
2010-04-08 17:41:00 +00:00
Vincent Torri 4a54173b20 remove useless include
SVN revision: 47838
2010-04-08 17:39:26 +00:00
Vincent Torri fee33f22cb add eina log stuff
SVN revision: 47837
2010-04-08 17:39:01 +00:00
Cedric BAIL 28759c1a67 * eet: fix file corruption reported by Tiago Falcao <tiago@profusion.mobi>
Note: Do never call eet_flush2 if you don't actually fclose the file just after.



SVN revision: 47832
2010-04-08 14:04:22 +00:00
Iván Briano d6f36ae575 'tis an array of pointers, not just a string
SVN revision: 47824
2010-04-07 22:09:26 +00:00
Iván Briano e01b2c7a5c Fix to changes in Edje_Edit
SVN revision: 47813
2010-04-07 17:06:07 +00:00
Iván Briano 1c53021214 Edje_Edit: Big Fat API Break.
All state functions now receive the value as a double, separate from
the state name.
Getting the list of states from the part still returns a list of strings
with everything together, but we'll change that soon too.


SVN revision: 47811
2010-04-07 17:04:49 +00:00
Cedric BAIL 7c14ed7617 * eet: we don't need to duplicate hash key when we could just point
to the Eet_File dictionnary entries.



SVN revision: 47806
2010-04-07 14:00:15 +00:00
Sebastian Dransfeld e8883033a2 efreet: Listen to new cache dirs
SVN revision: 47795
2010-04-06 18:50:26 +00:00
Sebastian Dransfeld 95d6e3390f efreet: reorder init
SVN revision: 47794
2010-04-06 18:36:25 +00:00
Sebastian Dransfeld 207f5dc447 efreet: cache all types of desktop files
SVN revision: 47792
2010-04-06 18:36:04 +00:00
Sebastian Dransfeld c6ec14606e efreet: TODO++
SVN revision: 47791
2010-04-06 18:35:54 +00:00
Sebastian Dransfeld 113b0254a8 efreet: listen for changes in desktop files
SVN revision: 47790
2010-04-06 18:35:45 +00:00
Sebastian Dransfeld 44f00fc8a6 efreet: don't truncate, unlink and open
SVN revision: 47789
2010-04-06 18:35:35 +00:00
Sebastian Dransfeld 973965f165 efreet: TODO++
SVN revision: 47788
2010-04-06 18:35:18 +00:00
Tiago Rezende Campos Falcao 209a4ce236 Return FALSE when save fail
SVN revision: 47787
2010-04-06 18:18:53 +00:00
Carsten Haitzler 12012ef38a ok tested - it. new lua disabled for now (not ready). old lua still there.
SVN revision: 47783
2010-04-06 11:32:09 +00:00
Carsten Haitzler 8babebf48e an ongoing lua cleanup. existing lua is there and works for the most part.
but it could be much much much cleaner/better so i started a minimalist redo.
it's temporarily enabled right now. will disable soon to do in the background.



SVN revision: 47782
2010-04-06 11:26:32 +00:00
Vincent Torri 62b6d186cd revert. does not work
SVN revision: 47771
2010-04-05 18:20:49 +00:00
Vincent Torri ac2824d126 remove C99 features and use beautiful C89/BSD code
makes vc++ and win32 gcc/g++ happy


SVN revision: 47766
2010-04-05 17:48:08 +00:00
Tiago Rezende Campos Falcao f824eac7ff _edje_file_hash can't be NULL in open_new
SVN revision: 47763
2010-04-05 14:05:21 +00:00
Vincent Torri 6a07a4df03 missing AC_SUBST call
SVN revision: 47762
2010-04-05 13:22:40 +00:00
Vincent Torri 5751012d30 include process.h for vc++
SVN revision: 47760
2010-04-05 08:38:11 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Vincent Torri f2b9c65adb define strcasecmp() as stricmp() for vc++, remove
useless include of Evil.h (was included for strcasecmp
when vc++ is used)


SVN revision: 47741
2010-04-03 21:29:01 +00:00
Vincent Torri 4bce4509dc remove cegcc compiler support
SVN revision: 47740
2010-04-03 21:23:28 +00:00
Vincent Torri 5120168d52 * src/lib/Evil.h:
mkdir() does not accept 2 arguments.
	Define hypot to remove huge amount of warnings in
	Evas withvc++



SVN revision: 47739
2010-04-03 19:06:20 +00:00
Sebastian Dransfeld b58df70245 efreet: more doc
SVN revision: 47737
2010-04-03 18:48:57 +00:00
Sebastian Dransfeld 9e6c9f7335 efreet: check load time on all desktop structs
SVN revision: 47736
2010-04-03 18:46:58 +00:00
Sebastian Dransfeld bc4bc7ce81 efreet: Check whether cached version is latest.
SVN revision: 47735
2010-04-03 18:46:47 +00:00
Sebastian Dransfeld 7c3818fb1d efreet: Always update cache if not read from eet
SVN revision: 47734
2010-04-03 18:46:37 +00:00
Sebastian Dransfeld 1122ed6c56 efreet: Don't update cache if we don't mean to
SVN revision: 47733
2010-04-03 18:46:27 +00:00
Sebastian Dransfeld 12a341ff2f efreet: rename fd for lock
SVN revision: 47732
2010-04-03 18:46:17 +00:00
Sebastian Dransfeld 3c3e999ad7 efreet: mkpath once
SVN revision: 47731
2010-04-03 18:46:07 +00:00
Sebastian Dransfeld 3c595b9408 efreet: Add cache update func
SVN revision: 47730
2010-04-03 18:45:57 +00:00
Sebastian Dransfeld 0407d84a9a efreet: rename lock file
SVN revision: 47729
2010-04-03 18:45:46 +00:00
Vincent Torri 5b91ebea36 Visual Studio 2005 project file:
* add missing files
 * eina.lib has been renamed libeina.lib
 * do not use UNICODE


SVN revision: 47728
2010-04-03 18:29:38 +00:00
Iván Briano 13265370a5 Don't screw the still used len variable, and remove unnecessary hash_del (we didn't find the entry at the beginning, no point trying to delete it)
SVN revision: 47726
2010-04-03 16:26:03 +00:00
Vincent Torri 84bf1cda79 must include winsock2.h before time.h and jpeglib.h (for vc++...)
SVN revision: 47721
2010-04-03 06:11:19 +00:00
Vincent Torri 1132f6d855 remove cegcc compiler support
SVN revision: 47720
2010-04-03 05:34:44 +00:00
Vincent Torri a8cc200870 * update Visual Studio project files
* declare alloca in eet_connection.c
 * remove the definition of __UNUSED__ (already done in config.h)
 * reorganize a bit the inclusion of header files so that
   the code is a bit more consistent


SVN revision: 47719
2010-04-03 05:29:44 +00:00
Cedric BAIL c20cd7715a * eet: oops, forgot to add the file.
SVN revision: 47690
2010-04-02 14:30:06 +00:00
Cedric BAIL aa015979bb * eet: Add Eet_Connection.
This will help people that want to use Eet over any kind of link.


SVN revision: 47688
2010-04-02 13:51:00 +00:00
Cedric BAIL 3efbdeee6d * eet: minor API/code cleanup.
SVN revision: 47687
2010-04-02 13:48:36 +00:00
Cedric BAIL 57f1862163 * eet: reduce amount of stress test with many thread.
SVN revision: 47686
2010-04-02 13:48:07 +00:00
Carsten Haitzler 77a55c3fd8 aaah well... 1. fix segv with edje_match stuff is deep child cleans up
pattersn - ref them.
2. edje lua... beating it into shape. slowly bit by bit.



SVN revision: 47685
2010-04-02 11:05:53 +00:00
Vincent Torri d989abb2aa * configure.ac:
move version management at the beginning
	* src/bin/evil_suite.c:
	* src/bin/evil_test_dlfcn.c:
	* src/bin/evil_test_environment.c:
	* src/bin/evil_test_gettimeofday.c:
	* src/bin/evil_test_link.c:
	* src/bin/evil_test_mkstemp.c:
	* src/bin/evil_test_pipe.c:
	* src/bin/evil_test_realpath.c:
	* src/lib/Evil.h:
	* src/lib/Makefile.am:
	* src/lib/evil_errno.c:
	* src/lib/evil_main.c:
	* src/lib/evil_main.h:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	* src/lib/evil_util.c:
	fix warnings



SVN revision: 47669
2010-04-01 20:13:40 +00:00
Sebastian Dransfeld 31f73712f3 efreet: stringshare
SVN revision: 47668
2010-04-01 19:41:03 +00:00
Sebastian Dransfeld 5ffb64a69c efreet: TODO--++
SVN revision: 47667
2010-04-01 19:40:53 +00:00
Sebastian Dransfeld 2dbd820242 efreet: merge
SVN revision: 47666
2010-04-01 19:39:42 +00:00
Sebastian Dransfeld 3b546516c3 efreet: fancy alloca include in common header
SVN revision: 47664
2010-04-01 19:32:41 +00:00
Sebastian Dransfeld 5d368823ba efreet: move file local data to .c file
SVN revision: 47663
2010-04-01 19:32:29 +00:00
Sebastian Dransfeld ede5ac01f6 efreet: remove strdup, use alloca
SVN revision: 47662
2010-04-01 19:32:19 +00:00
Sebastian Dransfeld 127982f44c efreet: remove strdup, use alloca
SVN revision: 47661
2010-04-01 19:32:10 +00:00
Sebastian Dransfeld 48ecf5383b efreet: fix compiler warning
SVN revision: 47660
2010-04-01 19:32:00 +00:00
Sebastian Dransfeld e30468b362 efreet: stringshare
SVN revision: 47659
2010-04-01 19:31:49 +00:00
Sebastian Dransfeld 9464e87d74 efreet: stringshare
SVN revision: 47658
2010-04-01 19:31:38 +00:00
Sebastian Dransfeld 4501c577e3 efreet: stringshare
SVN revision: 47657
2010-04-01 19:30:13 +00:00
Gustavo Sverzut Barbieri 8ada2841d0 convert annoying debug into eina log so it is disabled by default.
SVN revision: 47651
2010-04-01 16:03:23 +00:00
Gustavo Sverzut Barbieri ad0679e050 do not operate if there is no callbacks (unsetting them).
SVN revision: 47650
2010-04-01 15:56:06 +00:00
Gustavo Sverzut Barbieri 6262a884fb Initial support for Emotion as Edje EXTERNAL.
Very crude, needs testing... but I can already play videos from inside
editje and edje_player :-D



SVN revision: 47642
2010-04-01 03:59:39 +00:00
Gustavo Sverzut Barbieri f10ffca9c4 handle cases without default values and add missing functions.
SVN revision: 47640
2010-04-01 03:48:07 +00:00
Gustavo Sverzut Barbieri fdedaedea0 fix stupid bug, my bad at copy and paste...
SVN revision: 47639
2010-04-01 03:47:04 +00:00
Gustavo Sverzut Barbieri dc0eb07860 allow changing module during runtime, don't forget about file and play state.
SVN revision: 47638
2010-04-01 02:17:40 +00:00
Gustavo Sverzut Barbieri 4a9c82671e consts++
SVN revision: 47637
2010-04-01 01:33:56 +00:00
Gustavo Sverzut Barbieri 651070fc1d new program action PARAM_SET, complements PARAM_COPY.
Sometimes you want to catch an action like "clicked" from elm/button
or "mouse,clicked,1" from a regular part and want to set a property
like "play" on some object. In this case there is no source property
to copy, so setting the destination makes sense. This was possible
with Embryo, and now it is with regular "program".

Sample EDC:
{{{

   // test.edc, compile with edje_cc and run with edje_player

   externals {
      external: "elm";
   }
   collections {
      group { name: "main";
         parts {
            part { name: "bg"; type: RECT;
               description { state: "default" 0.0;
                  color: 255 255 255 255;
               }
            }
            part { name: "button"; type: EXTERNAL;
               source: "elm/button";
               description { state: "default" 0.0;
                  rel2.relative: 1.0 0.5;
               }
            }
            part { name: "display"; type: TEXT;
               description { state: "default" 0.0;
                  color: 0 128 0 255;
                  rel1.relative: 0.0 0.5;
                  rel2.relative: 0.5 1.0;
                  text { font: "Sans"; size: 16; }
               }
            }
            part { name: "entry"; type: EXTERNAL;
               source: "elm/scrolled_entry";
               description { state: "default" 0.0;
                  rel1.relative: 0.5 0.5;
                  params.bool: "editable" 0;
               }
            }
            programs {
               program {
                  signal: "clicked";
                  source: "button";
                  action: PARAM_SET "display" "text" "hello world!";
               }
               program {
                  signal: "clicked";
                  source: "button";
                  action: PARAM_SET "entry" "text" "bla!";
               }
            }
         }
      }
   }

}}}



SVN revision: 47635
2010-03-31 20:48:51 +00:00
Carsten Haitzler 6b60d6d1ee avoid errors - calling more lua calls afre the pcall failed... bad!
SVN revision: 47619
2010-03-31 10:02:51 +00:00
Carsten Haitzler 197e4b7bad some debugging i get to turn on sometimes... off now.
SVN revision: 47618
2010-03-31 09:25:21 +00:00
Carsten Haitzler 54f089964c maybe fix rui's stuff?
SVN revision: 47616
2010-03-31 00:39:10 +00:00
Carsten Haitzler d9d11ba836 fixme-- ... my bad! looking at wrong fn! :)
SVN revision: 47598
2010-03-30 12:44:37 +00:00
Sebastian Dransfeld 6d00dc126b efreet: use alloca for local dynamic buffer
SVN revision: 47597
2010-03-30 12:22:15 +00:00
Sebastian Dransfeld 1b6662b2e9 efreet: remove strdup
SVN revision: 47596
2010-03-30 12:22:05 +00:00
Sebastian Dransfeld a44f87390d efreet: benefit from stringshare
SVN revision: 47595
2010-03-30 12:21:55 +00:00
Sebastian Dransfeld c2db2c4258 efreet: stringshare
SVN revision: 47594
2010-03-30 12:21:44 +00:00
Sebastian Dransfeld 40a5c9a155 efreet: stringshare
SVN revision: 47593
2010-03-30 12:21:33 +00:00
Sebastian Dransfeld 72a79471d5 remove strdup
SVN revision: 47592
2010-03-30 12:21:23 +00:00
Sebastian Dransfeld ac18d14316 efreet: benefit from stringshare
Since both values are stringshared, we can use direct comparison.

SVN revision: 47591
2010-03-30 12:21:12 +00:00
Sebastian Dransfeld 1063df8b9e efreet: stringshare
SVN revision: 47590
2010-03-30 12:20:55 +00:00
Sebastian Dransfeld 6da3c6846d efreet: stringshare
SVN revision: 47588
2010-03-30 11:07:19 +00:00
Sebastian Dransfeld 592ebdcb5b efreet: stringshare
SVN revision: 47587
2010-03-30 11:07:07 +00:00
Sebastian Dransfeld c06492ded0 efreet: stringshare
SVN revision: 47586
2010-03-30 11:06:56 +00:00
Sebastian Dransfeld caa9409ac0 efreet: Check if old and new cache equals
SVN revision: 47585
2010-03-30 10:51:45 +00:00
Sebastian Dransfeld 1aa568e828 efreet: Check source of desktop
Flag changed if efreet_desktop_new doesn't return a eet cached value.

SVN revision: 47584
2010-03-30 10:51:35 +00:00
Carsten Haitzler d3de8d9f1d hmm - avoid crash for now, but bitch loudly
SVN revision: 47581
2010-03-30 05:29:49 +00:00
Carsten Haitzler 76b3bed05e comment++
SVN revision: 47577
2010-03-30 05:15:33 +00:00
Gustavo Sverzut Barbieri 5f4784e49c call me stupid, need to expose it... not in a good day :-/
SVN revision: 47574
2010-03-30 01:30:51 +00:00
Gustavo Sverzut Barbieri 3d206d92f6 oops, embryo limits names to 31 chars!
SVN revision: 47572
2010-03-30 00:39:14 +00:00
Carsten Haitzler 04af71119f bah!
SVN revision: 47571
2010-03-30 00:02:19 +00:00
Gustavo Sverzut Barbieri 0b231e99ce Add CHOICES to EXTERNAL support.
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.



SVN revision: 47570
2010-03-29 21:51:40 +00:00
Sebastian Dransfeld 3db40c0d97 efreet: fix strdup + stringshare
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld 434759396a efreet: use efreet_desktop_new, not get
As we free the desktop in the same func, use uncached version

SVN revision: 47567
2010-03-29 20:11:12 +00:00
Sebastian Dransfeld 68d33e8c59 efreet: TODO++
SVN revision: 47566
2010-03-29 20:10:26 +00:00
Gustavo Sverzut Barbieri 1bb3339188 another useful function
SVN revision: 47564
2010-03-29 19:32:45 +00:00
Gustavo Sverzut Barbieri 4981652e8c set ecore_app arguments, edje external will use it to init elm_init()
SVN revision: 47563
2010-03-29 18:45:18 +00:00
Gustavo Sverzut Barbieri acadc5e210 export useful function.
SVN revision: 47562
2010-03-29 18:44:42 +00:00
Iván Briano a5c6fd883d More safety removing stuff from lists
SVN revision: 47554
2010-03-29 07:13:35 +00:00
Iván Briano 202d3765cf Use safe macros to walk the lists when we may remove something from it
SVN revision: 47553
2010-03-29 07:03:36 +00:00
Carsten Haitzler 5f309b5d9f actually fix evas event cb leak for good. work ast smart desc leak.
SVN revision: 47552
2010-03-29 05:03:25 +00:00
Carsten Haitzler 46e1d8a866 fix small leak - cannvas callbacks not cleaned.
SVN revision: 47551
2010-03-29 02:40:49 +00:00
Sebastian Dransfeld 6d0651d4f2 efreet: Only update cache files if changed
SVN revision: 47546
2010-03-28 20:46:27 +00:00
Sebastian Dransfeld 13b51829ae efreet: TODO--
SVN revision: 47545
2010-03-28 20:36:47 +00:00
Sebastian Dransfeld 44aea1a452 efreet: Remove unneeded flag
SVN revision: 47544
2010-03-28 20:36:37 +00:00
Sebastian Dransfeld c37ca95819 efreet: Remove unneeded flag
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld 5e33a5798f Remove unneeded TOOD
SVN revision: 47542
2010-03-28 20:36:11 +00:00
Sebastian Dransfeld c7dc3a221d efreet: Only read data from disk when modified
SVN revision: 47539
2010-03-28 19:31:37 +00:00
Sebastian Dransfeld d504b34ac3 efreet: fix old cache deletion
SVN revision: 47538
2010-03-28 19:31:26 +00:00
Sebastian Dransfeld d075ee43c2 efreet: Always run cache update on init
SVN revision: 47537
2010-03-28 19:31:14 +00:00
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Rui Seabra b5c3618813 New file.
SVN revision: 47535
2010-03-28 18:46:57 +00:00
Rui Seabra a6d3bede42 Support example files.
SVN revision: 47534
2010-03-28 18:33:49 +00:00
Vincent Torri 9ed7f52215 remove unneeded semi-colon
SVN revision: 47529
2010-03-28 12:24:10 +00:00
Vincent Torri 7bd971f3ae include Evil.h for vc++
SVN revision: 47528
2010-03-28 08:43:53 +00:00
Vincent Torri dbb9cf4df7 add guards around the inclusion of config.h
SVN revision: 47527
2010-03-28 08:36:55 +00:00
Brett Nash d267122d9e Always mark object as dirty after a map_change.
Otherwise doesn't handle UV or colour changes.  It's a bit heavy handed, but
it's a lot easier.


SVN revision: 47526
2010-03-28 05:40:42 +00:00