Commit Graph

11326 Commits

Author SHA1 Message Date
Davide Andreoli 6eb28124cb Another edje EXTERNAL example, this time make an elementary Anchorblock rotate around in 3D.
SVN revision: 53279
2010-10-11 22:51:56 +00:00
Davide Andreoli 9908fe0298 And finally one funny (at least to code) edje example:
a super-simple (but full featured) pong game, fully written in embryo,
in the style of the original game.

To run it, like all the other examples, just go in the doc/examples folder and do:
edje_cc embryo_pong.edc && edje_player embryo_pong.edj

Have fun ...beating the ""AI""  is really difficult ;)


SVN revision: 53278
2010-10-11 21:43:19 +00:00
Leandro Pereira dd5b79eff6 edje: Add get_part_id() to exported Embryo functions.
This allows one to calculate a part number in runtime and and use it with
other functions, like get_state() and set_state().



SVN revision: 53277
2010-10-11 21:26:43 +00:00
Lucas De Marchi fcad2a9244 Check for libcurl's return codes when appropriate.
Depending on the option being set by curl_easy_setopt, a return value
different from CURL_OK can be returned (the same applies to curl_multi_*
and CURLM_OK).

This commit checks the return value from those calls and usually
displays an error message with ERR() and returns -- in some cases, an
error is shown but the function does not immediately return.

A few lines of code have also been moved around in order to make
returning from functions as harmless as possible.

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53275
2010-10-11 19:13:12 +00:00
Lucas De Marchi 8912b4aa1d Simplify the checks in ecore_con_url_http_post_send.
By checking for the validity of the Ecore_Con_Url struct before anything
else and merging some if's, the code can get much cleaner.

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53274
2010-10-11 19:12:26 +00:00
Lucas De Marchi f39cdf2666 Always use ecore_con_url_ftp_use_epsv_set's parameters.
unused_warning--

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53273
2010-10-11 19:12:09 +00:00
Lucas De Marchi bd92321ff1 Simplify if clause.
There is no need for an else here, as the return is the last
instruction.

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53272
2010-10-11 19:11:54 +00:00
Lucas De Marchi c468b8c64b Fix some indentation problems in ecore_con_url.
* Indent blocks inside EINA_LIST_* macros.
* Use sane indentation in ecore_con_url_ftp_upload().

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53271
2010-10-11 19:11:26 +00:00
Lucas De Marchi b4e6e97808 Add a missing leading underscore to static variables.
By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53270
2010-10-11 19:11:02 +00:00
Lucas De Marchi c74eece7d1 Remove erroneus __UNUSED__ mark.
data is indeed used by _ecore_con_url_idler_handler.

By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53269
2010-10-11 19:10:43 +00:00
Vincent Torri 933bac3a3a add doc support
SVN revision: 53265
2010-10-11 17:18:39 +00:00
Gustavo Sverzut Barbieri 15f8b5101d show group name when it is auto-discovered as well.
SVN revision: 53264
2010-10-11 15:10:34 +00:00
Cedric BAIL d2736c4d66 ecore: return more information on pipe_read error.
SVN revision: 53263
2010-10-11 13:27:03 +00:00
Cedric BAIL cb8d2cf2f9 * eio: improve allocation code for eio_file_direct_ls.
SVN revision: 53262
2010-10-11 12:40:20 +00:00
Carsten Haitzler 197fa433cb fix clip bug.
SVN revision: 53261
2010-10-11 09:53:52 +00:00
Carsten Haitzler 997acfa3a5 focus objcet we play
SVN revision: 53260
2010-10-11 08:30:17 +00:00
Carsten Haitzler e95ad0f97c bah - removed snprintf.
SVN revision: 53259
2010-10-11 07:31:12 +00:00
Carsten Haitzler f1ec894769 fix inlined fonts again.
SVN revision: 53258
2010-10-11 07:24:46 +00:00
Carsten Haitzler 1cae896bba delay comp setup until show. (and unset on hide)
SVN revision: 53256
2010-10-11 06:28:01 +00:00
Carsten Haitzler 66771ce7f2 avoid possible seg if accessing video dat for convert before its
decided and set.



SVN revision: 53246
2010-10-10 23:39:32 +00:00
Davide Andreoli a704be1219 Disable search-engine in edje Doxy file. The search don't work and it add strange(not working) menu on the bottom of each page.
This remove the unwanted menu.

SVN revision: 53233
2010-10-09 12:53:11 +00:00
Davide Andreoli 1f34fa16e7 Put in edje examples the super cool edje-emotion-elementary
videoplayer by Gustavo Barbieri.



SVN revision: 53214
2010-10-08 21:59:21 +00:00
Davide Andreoli 80e0de0e19 Remove the doxy-inlined lua example in favor of a cleaner @include
from the examples/ folder.
 Also expose all the examples to doxygen, you can now browse
 them all from the generated docs.




SVN revision: 53211
2010-10-08 21:14:31 +00:00
Gustavo Sverzut Barbieri 98e0d9f009 safer and louder about errors.
SVN revision: 53204
2010-10-08 20:14:21 +00:00
Davide Andreoli d50b2efd9c Copy the lua script-only example (by raster) from edje doxy to doc/examples.
SVN revision: 53203
2010-10-08 20:14:14 +00:00
Gustavo Lima Chaves 6656e77c9c Yet another int -> Eina_Bool fix, similar to the one done to
ecore_con_url_verbose_set.

Patch by Rafael Kubo.



SVN revision: 53197
2010-10-08 18:41:49 +00:00
Bruno Dilly 13883b21f4 Document ecore_con_url_verbose_set's behaviour.
Author: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53191
2010-10-08 15:22:09 +00:00
Bruno Dilly 1a6d3a3eb7 unused_warning--
Author: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53190
2010-10-08 15:19:48 +00:00
Bruno Dilly b26732d09c In practice, it was already being treated as an Eina_Bool, so let us
declare it as such and simplify the code.

Author: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53189
2010-10-08 15:17:01 +00:00
Carsten Haitzler 59208f38b8 disable ref.
SVN revision: 53183
2010-10-08 11:21:37 +00:00
Davide Andreoli 994d9518ec Add the first edje examples about the usage of EXTERNAL parts.
This example show 5 buttons that you can click to perform some
simple actions, like changing the label or the icon of the buttons.

The example also spot a bug: external buttons with label AND icon
have layout issue. Standard icons are not visible at all while custom
icons don't get the size calculated correctly.
Buttons with only the icon work well instead.
Can someone look at this?

Thanks
DaveMDS

SVN revision: 53182
2010-10-08 09:48:38 +00:00
Carsten Haitzler a3b68b3e0e dont pretend to have these script only embryo calls anymore
SVN revision: 53181
2010-10-08 08:51:05 +00:00
Carsten Haitzler 6bbe56fefc fix for dyn image size change.
SVN revision: 53180
2010-10-08 05:11:32 +00:00
Gustavo Sverzut Barbieri 7ac13f931f better log.
* lower case domain names;

 * binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)

 * log messages do not take multiple lines, it's annoying. The colors
   should call your attention already.

 * the ever annoying "did you forgot fixed: 1 1;" message that used to
   consume 3 lines is now bit more descriptive and uses a single line.



SVN revision: 53178
2010-10-08 00:24:22 +00:00
Gustavo Sverzut Barbieri 3236d249fc logs don't need trailing newline.
SVN revision: 53177
2010-10-07 23:53:16 +00:00
Gustavo Sverzut Barbieri 9d9b87b411 log domains in lower case.
SVN revision: 53176
2010-10-07 23:51:20 +00:00
Gustavo Sverzut Barbieri 379b546adf better logging.
* log domains in lower-case only please. let's make it a standard so
   we don't have to look at the code everytime to figure out the name...

 * logs do NOT require trailing newline (\n), it's automatic!

 * do NOT add newline inside log messages!

 * add gl_common logging.

NOTE: I tried to compile all modules, but there are clear broken
      modules such as cairo and qtopia. Other modules like gl_sdl are
      broken as they were not updated to new gl_common api (resize
      method AFAIR).



SVN revision: 53174
2010-10-07 23:46:42 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Gustavo Sverzut Barbieri bc2c59746d log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53171
2010-10-07 22:22:33 +00:00
Gustavo Sverzut Barbieri 1520c60364 shutup stupid emotion debug!
to get them back, use EINA_LOG_LEVELS for each module or the catch-all:

   export EINA_LOG_LEVELS_GLOB='emotion*:4'

ah, that was making me sick while playing enjoy... :-D



SVN revision: 53170
2010-10-07 22:16:43 +00:00
Gustavo Sverzut Barbieri b11b2f95b5 auto-init threads and fix spinlock initialization checks.
* it is valid to use eina_log_threads_enable() without
   eina_threads_init(), so call eina_log_threads_init() in that case.

 * pthread_spin_init() returns 0 on success! check that and report any errors.



SVN revision: 53169
2010-10-07 22:14:03 +00:00
Christopher Michael 2f3b2b99e5 Fix issue when using word-cache: Make sure we have a 'last' word
before trying to free it, else we segfault.

Fix compiler warnings wrt const vs non-const of Evas_BiDi_Props.
Fix formatting and remove whitespace also.

NB: The major change here is in evas_font_word_prerender wrt freeing
the 'last' word of the cache.



SVN revision: 53166
2010-10-07 21:07:53 +00:00
Eduardo de Barros Lima 9910581b1c Eio: No need to #define _GNU_SOURCE
SVN revision: 53165
2010-10-07 21:06:54 +00:00
Eduardo de Barros Lima 2f1827d132 Ecore: No need to #define _GNU_SOURCE
SVN revision: 53162
2010-10-07 20:40:33 +00:00
Eduardo de Barros Lima f61a1cb5cb Evas: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly


SVN revision: 53159
2010-10-07 19:52:47 +00:00
Eduardo de Barros Lima a5a3fc18e5 Eina: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac



SVN revision: 53157
2010-10-07 19:29:32 +00:00
Davide Andreoli 57af528062 Add a new embryo example to edje, it show the usage of program_run() and toggle buttons.
SVN revision: 53149
2010-10-07 18:34:40 +00:00
Iván Briano 631aa54545 Cheking if start.layout is set before using it.
When evas_object_show is called with a elm_layout object before resizing
it the layout function is called before edje calc function, so the start
layout is not yet set.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53144
2010-10-07 14:45:57 +00:00
Cedric BAIL b61340ea1a * edje: remove not needed code and fix issue when removing child.
SVN revision: 53143
2010-10-07 14:14:02 +00:00
Cedric BAIL 2d5b568ad6 * evas: fix bug in box vertical layout preventing object to
reduce size properly.

	Bug reported by Boris 'billiob' Faure <billiob@gmail.com>


SVN revision: 53142
2010-10-07 14:09:17 +00:00