Commit Graph

11287 Commits

Author SHA1 Message Date
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
Mike McCormack b34b4c2359 From: Mike McCormack <mj.mccormack@samsung.com>
Subject: ecore-glib integration patches

0001-Make-gmain-integration-work.path applies to the enlightenment SVN.

(in svn with some formatting fixes applied).



SVN revision: 53135
2010-10-07 07:23:26 +00:00
Carsten Haitzler 00a661beae shortcut some smart acceses for clipped smart.
SVN revision: 53132
2010-10-07 03:54:51 +00:00
Lucas De Marchi 5c43c88f74 Fix signal accounting
copy&paste--

By: "Ulisses Furquim" <ulisses@profusion.mobi>


SVN revision: 53129
2010-10-07 00:33:51 +00:00
Davide Andreoli f9b1969034 Add a new embryo example in edje, it show the use of custom states. In the example you can rotate a red rect in 3 dimension by clicking on the 3 labels.
SVN revision: 53127
2010-10-07 00:03:54 +00:00
Carsten Haitzler ac77353cfa lets set num to 0 shall we? :)
SVN revision: 53126
2010-10-06 23:54:06 +00:00
Davide Andreoli fe9962a3be Update edje examples to use embryo instead of lua. Inline lua scripting was removed some time ago.
SVN revision: 53124
2010-10-06 23:03:28 +00:00
Tom Hacohen 94839799fd Evas textblock: Removed duplicated if.
SVN revision: 53108
2010-10-06 18:26:29 +00:00
Tom Hacohen 0579401cb3 Edje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack was there because of a bug in textblock which is now fixed).
SVN revision: 53107
2010-10-06 18:23:01 +00:00
Massimo Maiurana 496dda51d4 updating portuguese and italian translations
SVN revision: 53105
2010-10-06 17:38:09 +00:00
Cedric BAIL 6b5c401b1f * ecore: fix typo.
SVN revision: 53098
2010-10-06 13:01:35 +00:00
Tom Hacohen fc060c6a8f Evas font query: query coords should not take bitmap positioning into account.
SVN revision: 53097
2010-10-06 12:24:14 +00:00
Cedric BAIL d617b8574d * ecore: refcount send and received notify to prevent leak on
ecore_thread_cancel.


SVN revision: 53096
2010-10-06 11:48:45 +00:00
Cedric BAIL 71ae9cd4e5 * eio: reduce code duplication.
SVN revision: 53094
2010-10-06 09:54:00 +00:00
Carsten Haitzler 4b96e37067 i think i foundsed me a fontconfig bug.. this i think is a
workartound.. it depends what fc's intent was tho.



SVN revision: 53093
2010-10-06 08:53:06 +00:00
Tom Hacohen 9dc6cd0c51 Evas textblock: Fixed a type in remove_pair that caused issues with offset adjustment of formats.
SVN revision: 53092
2010-10-06 08:45:10 +00:00
Carsten Haitzler f1cac3e69c add pid to eina log.
SVN revision: 53091
2010-10-06 07:09:05 +00:00
Cedric BAIL 96172a4066 * eio: fix coding style, the other way.
SVN revision: 53071
2010-10-05 16:57:51 +00:00
Cedric BAIL b3d7e3423f * eio: add eio_dir_copy.
Little example on how to use it :
#include <Ecore.h>
#include <Eio.h>

static void
_test_notify_cb(void *data, const Eio_Progress *info)
{
   switch (info->op)
     {
      case EIO_FILE_COPY:
         printf("[%s] %f%%\n", info->dest, info->percent);
         break;
      case EIO_DIR_COPY:
         printf("global [%li/%li] %f%%\n", info->current, info->max, info->percent);
         break;
     }
}

static void
_test_done_cb(void *data)
{
   printf("copy done\n");
   ecore_main_loop_quit();
}

static void
_test_error_cb(int error, void *data)
{
   fprintf(stderr, "error: [%s]\n", strerror(error));
   ecore_main_loop_quit();
}

int
main(int argc, char **argv)
{
   Eio_File *cp;

   if (argc != 3)
     {
        fprintf(stderr, "eio_cp source_file destination_file\n");
        return -1;
     }

   ecore_init();
   eio_init();

   cp = eio_dir_copy(argv[1], argv[2],
                     _test_notify_cb,
                     _test_done_cb,
                     _test_error_cb,
                     NULL);

   ecore_main_loop_begin();

   eio_shutdown();
   ecore_shutdown();

   return 0;
}

	NOTE: be aware that it's your duty to provide the "right target".
	Meaning that copying to '.' will copy the content directly inside
	'.' and not in a subdirectory.


SVN revision: 53069
2010-10-05 16:46:41 +00:00
Tom Hacohen eddca25d99 Evas textblock: Fix bug with removing formats, format removal should stop at 'end' non-inclusive, just like text removal works.
SVN revision: 53068
2010-10-05 16:17:04 +00:00
Tom Hacohen 0896d2b013 Evas textblock: Fixed a bug with deleting range when the first char is a visible format.
SVN revision: 53067
2010-10-05 16:17:01 +00:00
Cedric BAIL f352ce15bc * eio: follow efl coding style.
SVN revision: 53066
2010-10-05 15:58:19 +00:00
Cedric BAIL a1ea2ed6cd * eio: more code to share.
SVN revision: 53065
2010-10-05 15:32:24 +00:00
Cedric BAIL 9e019c7227 * eio: report current operation during progress.
SVN revision: 53063
2010-10-05 14:55:47 +00:00
Cedric BAIL d85ab417fd * eio: fix docs and typos.
SVN revision: 53062
2010-10-05 14:29:58 +00:00
Tom Hacohen cfa9703607 Evas textblock and font engine: Fixed cursor position to be at the end of the current item, and not the end of the line, this looks nicer in bidi strings.
Fixed querying char coords to return the current position of the NULL according to the text's alignment, not the paragraph's.

SVN revision: 53061
2010-10-05 14:05:23 +00:00
Cedric BAIL 5999ca1825 * eio: share more code and make copy cancellable.
SVN revision: 53057
2010-10-05 12:56:07 +00:00
Cedric BAIL bb76ca8100 * eio: share some code.
SVN revision: 53056
2010-10-05 11:44:03 +00:00
Cedric BAIL 2bd686db2b * eina: fix typo.
SVN revision: 53055
2010-10-05 11:32:12 +00:00
Tom Hacohen dd9dc0e4ec Evas textblock: In continuation to the previous commit: range get should also work up until the char, not including.
SVN revision: 53054
2010-10-05 10:50:58 +00:00
Tom Hacohen 6b4743aa40 Evas textblock: Selection should work from the start cursor up to before the end cursor, i.e it should *not* include the end cursor.
SVN revision: 53053
2010-10-05 10:44:40 +00:00
Cedric BAIL 05262d2120 * ecore: remove thread from the correct list.
SVN revision: 53029
2010-10-04 15:24:34 +00:00
Carsten Haitzler 21a7dde012 dynamic tex ref wrong. fix.
SVN revision: 53027
2010-10-04 11:17:11 +00:00
Carsten Haitzler 9b0305d236 update links to pawn
SVN revision: 53026
2010-10-04 11:00:21 +00:00
Cedric BAIL f728fbf8f7 * ecore: fix build without X.
SVN revision: 53015
2010-10-04 09:35:06 +00:00
Carsten Haitzler f7ad965e20 ecore-dfb - double+triple too.
SVN revision: 53013
2010-10-04 09:17:59 +00:00
Carsten Haitzler 6893412d80 aaagh ecore_fb needs double/triple fix too.
SVN revision: 53012
2010-10-04 09:02:43 +00:00
Carsten Haitzler a77152c531 fix double/triple click
SVN revision: 53010
2010-10-04 07:58:06 +00:00
Christopher Michael f95baa679b Reduce variable useage for evas_object_box by using #define's instead
of const char's for signal strings.

Fix some formatting.



SVN revision: 53007
2010-10-04 06:03:48 +00:00
Boris Faure 545ea3a1a4 edje: improve doc
SVN revision: 53004
2010-10-03 21:21:58 +00:00