Commit Graph

11344 Commits

Author SHA1 Message Date
Mike Blumenkrantz 0aaad2d41e add returns for later certificate checking
SVN revision: 52916
2010-09-30 01:53:23 +00:00
Mike Blumenkrantz 585fecac5b add fd flags for openssl
SVN revision: 52915
2010-09-30 01:50:58 +00:00
Mike Blumenkrantz ce529f9758 formatting
SVN revision: 52914
2010-09-30 01:01:41 +00:00
Mike Blumenkrantz a5d9f332a0 wow. just...wow
SVN revision: 52913
2010-09-30 00:45:48 +00:00
Mike Blumenkrantz e3ab6e3aeb I tried the lfelipe method: "hey, if fixing it seems to not be working, shouldn't you try to screw it up?"
it didn't work.


SVN revision: 52912
2010-09-30 00:01:25 +00:00
Mike Blumenkrantz 6990394b46 wow mike, you need to take a vacation. immediately.
change fd handler flags to be set when the handshake ISN'T finished


SVN revision: 52911
2010-09-29 23:56:31 +00:00
Mike Blumenkrantz 7cb095cc24 set fd handler flags properly from gnutls, update dbg info accordingly
reminder: do this for openssl later


SVN revision: 52910
2010-09-29 23:53:00 +00:00
Mike Blumenkrantz d82f8c771e update to set fd handler flags
SVN revision: 52909
2010-09-29 23:50:33 +00:00
Iván Briano e6aa360c21 As requested by T_UNIX, remove the mention of any git hash in the comment, as it doesn't seem to be valid for upstream.
SVN revision: 52908
2010-09-29 22:34:02 +00:00
Mike Blumenkrantz 66d5d4e048 forgot about old gnutls
SVN revision: 52907
2010-09-29 22:05:42 +00:00
Mike Blumenkrantz f799de1375 even more verbose debug output
SVN revision: 52906
2010-09-29 22:04:11 +00:00
Mike Blumenkrantz f6f6a5979a whoops, committed wrong version of this before
SVN revision: 52905
2010-09-29 21:37:24 +00:00
Mike Blumenkrantz 3866712f61 add fd handler example code for ssl connecting to a remote server in only 3 ecore calls
SVN revision: 52903
2010-09-29 19:12:43 +00:00
Vincent Torri 439168c6ff tab------------
SVN revision: 52896
2010-09-29 17:03:38 +00:00
Vincent Torri 62bcf9643e check the returned value of evas_engine_info_set()
SVN revision: 52894
2010-09-29 16:45:49 +00:00
Mike Blumenkrantz c0593c571a add more debug output, and even more with -DPRINT_LOTS_OF_DEBUG
SVN revision: 52891
2010-09-29 14:52:36 +00:00
Tom Hacohen 0a04c0084d Ecore IMF: Fixed typo in canvas_set, (the string used is window_set instead of canvas_set) and fixed an allocation to use calloc instead of malloc. - Patch by Jihoon Kim.
SVN revision: 52885
2010-09-29 10:55:40 +00:00
Tom Hacohen 467abe35c7 Ecore imf: changed int -> Eina_Bool in ecore_imf_context_use_preedit_set.
SVN revision: 52884
2010-09-29 09:29:36 +00:00
Vincent Torri 72c7182a15 fix
SVN revision: 52882
2010-09-29 08:12:08 +00:00
Vincent Torri e06c65f79d NAME_MAX defined to 255 on sun (if not defined).
SVN revision: 52881
2010-09-29 06:37:56 +00:00
Vincent Torri c4771c0127 include limits.h. Should acctually work with DSB, macosx and openindiana.
SVN revision: 52880
2010-09-29 05:41:09 +00:00
Mike Blumenkrantz 7af28b08ff reorder some handshake events to hopefully reduce overhead slightly
SVN revision: 52878
2010-09-29 05:08:47 +00:00
Mike Blumenkrantz 75b958531d compile fixes for sun compiler
SVN revision: 52877
2010-09-29 04:06:28 +00:00
Mike Blumenkrantz f5f8a3c45d DBG output
SVN revision: 52875
2010-09-29 03:52:32 +00:00
Gustavo Sverzut Barbieri d93ac79c38 Dynamic choices in edje EXTERNALS.
Sometimes the options can just be known during runtime, like available
video engines for emotion.

This goes in now as it will avoid further API breaks, so before Edje 1.0



SVN revision: 52874
2010-09-29 03:01:17 +00:00
Gustavo Sverzut Barbieri d724381684 new flags to external parameters.
These are yet-another hint, they are not enforced as documentation
already said, yet they will be useful for tools (ie: editje) to
explain to users if parameter will be set only once, or provides no
getter and such.

This will save future ABI breaks, that's why I want it in 1.0 :-)



SVN revision: 52873
2010-09-29 02:42:50 +00:00
Gustavo Sverzut Barbieri abc87fd449 Adding a transition layout animation for edje box.
Perform an animation when changing the layout from an edje box.

By: Otavio Pontes <otavio@profusion.mobi>

-------

Sample EDC:

{{{

collections {
   group {
      name: "main";
      min: 500 500;
      max: 500 500;
      parts {
         part {
            name: "bg";
            type: RECT;
            description {
               color: 255 255 255 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
         }
         part {
            name: "box1";
            type: BOX;
            description {
               state: "default" 0.0;
               box {
                  layout: vertical;
                  padding: 0 0;
               }
               rel1 {
                  relative: 0.0 0.0;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               box {
                  padding: 10 10;
                  layout: horizontal;
               }
            }
            description {
               state: "default" 0.2;
               inherit: "default" 0.0;
               box {
                  layout: vertical;
               }
               rel1 {
                  relative: 0.0 0.0;
                  offset: 100 100;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            box {
               items {
                  item {
                     name: "rect1";
                     type: GROUP;
                     source: "grp_rect1";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
                  item {
                     name: "rect2";
                     type: GROUP;
                     source: "grp_rect2";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
               }
            }
         }
      }
      programs {
         program {
            name: "change_layout";
            signal: "mouse,clicked,1";
            source: "box1";
            action: STATE_SET "default" 0.1;
            target: "box1";
            transition: LINEAR 5.0;
            after: "change_back";
         }
         program {
            name: "change_back";
            action: STATE_SET "default" 0.2;
            target: "box1";
            transition: LINEAR 5.0;
         }
     }
   }
   group {
      name: "grp_rect1";
      parts {
         part {
            name: "r1";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 255 0 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               color: 255 0 0 255;
            }
         }
      }
   }
   group {
      name: "grp_rect2";
      parts {
         part {
            name: "r2";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 0 255 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               color: 0 0 255 255;
            }
         }
      }
   }
}

}}}



SVN revision: 52871
2010-09-29 00:28:54 +00:00
Carsten Haitzler 0667809063 xrender engine default--
software_8_x11 default--
software_16_x11 default--



SVN revision: 52867
2010-09-28 22:43:24 +00:00
Carsten Haitzler acb667de11 at least it builds now with eina_bool changes and randr changes.
woefully incomplete tho.



SVN revision: 52866
2010-09-28 22:37:04 +00:00
Mike Blumenkrantz ac12734be2 switch to newer priority string stuff so gnutls devs stop being dicks to us
SVN revision: 52865
2010-09-28 21:59:13 +00:00
Vincent Torri 2e11e01f56 clean up clock_gettime detection
SVN revision: 52864
2010-09-28 21:24:16 +00:00
Lucas De Marchi 61a510d387 Fix clock_gettime detection in autotools
AC_CHECK_FUNCS checks for the existence of functions in the C standard
library, so we don't need it. Instead, we need to define
HAVE_CLOCK_GETTIME if the function was found inside the librt.

Moreover, in source file check if HAVE_CLOCK_GETTIME is defined rather
than of checking if it's 0.



SVN revision: 52863
2010-09-28 19:36:50 +00:00
Sebastian Dransfeld 8737d28c76 remove debug
SVN revision: 52858
2010-09-28 18:14:58 +00:00
Sebastian Dransfeld 843a885b4c libraries should be in LIBS, not LDFLAGS
SVN revision: 52857
2010-09-28 18:12:15 +00:00
Sebastian Dransfeld ed263df47e ecore time is double
SVN revision: 52855
2010-09-28 17:53:15 +00:00
Mike Blumenkrantz 1bda1d90af update examples to new api
SVN revision: 52847
2010-09-28 09:41:20 +00:00
Mike Blumenkrantz 7b3b888471 whoops comparison typo
SVN revision: 52846
2010-09-28 09:28:04 +00:00
Cedric BAIL 7088845157 * eio: add eio_file_move (completly asynchronous and non
blocking move). It first try a rename, then fallback to
	an eio_file_copy + eio_file_unlink.

Small example on how to use it :
#include <Ecore.h>
#include <Eio.h>

static void
_test_done_cb(void *data)
{
   printf("move 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_file_move(argv[1], argv[2],
                      NULL,
                      _test_done_cb,
                      _test_error_cb,
                      NULL);

   ecore_main_loop_begin();

   eio_shutdown();
   ecore_shutdown();

   return 0;
}


SVN revision: 52845
2010-09-28 09:05:51 +00:00
Gustavo Sverzut Barbieri 9f505cd3d9 export play_length as well.
SVN revision: 52841
2010-09-28 05:33:53 +00:00
Gustavo Sverzut Barbieri bcba2b261b emotion exports position, but don't use it from state description.
there should be some flags like RDONLY, RWONLY, RDWR, CONSTRUCTOR,
RUNTIME, but until there...



SVN revision: 52840
2010-09-28 05:26:48 +00:00
Carsten Haitzler ae6922fbd0 make sure that at any point if gl barfs... abort then.
SVN revision: 52838
2010-09-28 04:13:28 +00:00
Mike Blumenkrantz b64b0b3ac9 first part of ssl rerererewrite: split functions, move stuff out of prepare(), and add verification for gnutls clients
SVN revision: 52837
2010-09-28 03:16:08 +00:00
Christopher Michael 9916578131 And use Eina_Bool return values too.
SVN revision: 52833
2010-09-28 00:25:54 +00:00
Christopher Michael b7b1a25c41 Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.
SVN revision: 52832
2010-09-28 00:24:44 +00:00
Christopher Michael 1fe0153f77 Fix ecore to at least compile on systems that don't have clock_getting.
NB: Not sure if this is a correct fix or not, but at least svn is not
busted anymore.



SVN revision: 52831
2010-09-28 00:21:48 +00:00
Christopher Michael 07c74e3edf Unbreak ecore building by using unset correctly....Spankies !!!
SVN revision: 52830
2010-09-28 00:10:53 +00:00
Lucas De Marchi 162070b8f5 Respect namespace
_ecore_loop_time -> _ecore_time_loop_time



SVN revision: 52825
2010-09-27 22:35:55 +00:00
Lucas De Marchi d17de81175 Make ecore_time_get and friends use monotonic clock
Instead of relying on unix time, use a monotonic clock provided by
clock_gettime(). If a monotonic clock is not available, it will fallback
to CLOCK_REALTIME or unix time if neither is available.

The impact is that now it only makes sense to call ecore_time_get() or
ecore_time_loop_get() if the value retrieved is intended to be used as
relative to previous/posterior measurements. If an absolute value is
needed, the right function to call now is ecore_time_unix_get() which
will give the number of seconds since Jan 1st, 1970, 12:00AM.



SVN revision: 52824
2010-09-27 22:35:35 +00:00
Iván Briano 784ac71b15 Don't screw up script {} highlighting when there are several levels of {}
SVN revision: 52812
2010-09-27 21:12:09 +00:00
Carsten Haitzler 2d488b5d32 some fixes/improvements to emotion -> foound some buggers in xine -
tried making gst do it - should kind of work. i think gst is broken tho.



SVN revision: 52800
2010-09-27 10:11:52 +00:00
Mike Blumenkrantz b04f0b0360 disable rehandshake support for now
SVN revision: 52792
2010-09-26 23:56:31 +00:00
Cedric BAIL 135a0f570a * eio: add eio_file_copy (using splice when available and
fallback to mmap/write with huge tlb when not).

That what an eio_cp would look like :

#include <Ecore.h>
#include <Eio.h>

static void
_test_progress_cb(void *data, const Eio_Progress *info)
{
   printf("%f (%zi / %zi octets)\n", info->percent, info->current, info->max);
}

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_file_copy(argv[1], argv[2],
                      _test_progress_cb,
                      _test_done_cb,
                      _test_error_cb,
                      NULL);

   ecore_main_loop_begin();

   eio_shutdown();
   ecore_shutdown();

   return 0;
}




SVN revision: 52787
2010-09-26 21:47:48 +00:00
Gustavo Sverzut Barbieri ea831b3738 ecore_x: fix key-up events!
Bad cedric, no cookie for you! While merging r39505 introducing
Ecore_Input you had all the code to go through Xutf8LookupString(),
but its documentation says (man Xutf8LookupString):

{{{
                                        Note

            ®To ensure proper input processing, it is essential that the
            client pass only KeyPress events to XmbLookupString,
            XwcLookupString and Xutf8LookupString.  Their behavior when a
            client passes a KeyRelease event is undefined.
}}}

Yeah, Xlib is quite stupid and this makes no sense.

As this just happens for UP events, it was unnoticed for a long time
(19 months) as most apps just handle DOWN events, as it gets X
keyboard repetition and all.

Thanks to Otavio Pontes that spotted this bug while doing some code
for EPhoto (that for some weird reason uses UP instead of DOWN
events).




SVN revision: 52786
2010-09-26 19:41:02 +00:00
Christopher Michael da426bec51 Fix a couple of ecore_x_e_illume functions ... these Should be int.
SVN revision: 52785
2010-09-26 17:58:44 +00:00
Vincent Torri 29ec0433ab int --> bool
Please review it. i don't have the courage to read
everything again

It should compile on linux (committed from windows, but
corrected at the same time on linux. Thank you, VirtualBox
devs !)

SVN revision: 52784
2010-09-26 17:49:05 +00:00
Christopher Michael eb7c111fc9 Fix typo.
SVN revision: 52783
2010-09-26 16:30:14 +00:00
Cedric BAIL 801917565f * evas: fix rendering of object with color (*,*,*,0)
and render_op != BLEND.


SVN revision: 52782
2010-09-26 16:10:59 +00:00
Vincent Torri b3f24d8de4 [ecore-imf] more strict detection of exported functions on Windows
SVN revision: 52774
2010-09-26 06:00:14 +00:00
Vincent Torri fbdfa54f82 int --> Eina_Bool
SVN revision: 52773
2010-09-26 05:42:56 +00:00
Carsten Haitzler d1a1b62fa8 make fb default for *
SVN revision: 52772
2010-09-26 03:42:30 +00:00
Carsten Haitzler 80197823be make fb engine default on linux too.
SVN revision: 52771
2010-09-26 03:39:18 +00:00
Chidambar 'ilLogict' Zinnoury 15dd911de3 From: Chidambar 'ilLogict' Zinnoury <illogict@online.fr>
Subject: [E-devel] [tentative patch] evas memleak when no callbacks

 I'm seeing some memleaks while using Evas' buffer engine. After
 investigation, it seems that evas_free does nothing and returns
 immediately if the canvas has no callbacks, which is what happens with
 the buffer engine.
 
  The attached patch seems to do the trick.
  
   However, as I don't know that much Evas' internals, I thought it'd be
   better to ask whether it's correct or I'm mistaken before committing.
   
    So please comment.
    


SVN revision: 52769
2010-09-26 02:27:01 +00:00
Carsten Haitzler 8d78e67870 formatting.
SVN revision: 52768
2010-09-26 02:24:36 +00:00
Carsten Haitzler 15659e1de8 formatting.
SVN revision: 52767
2010-09-26 02:17:53 +00:00
Vincent Torri 53081384df cosmetic only: put files in alphabetic order.
SVN revision: 52737
2010-09-25 17:19:46 +00:00
Vincent Torri 1e1bb3b6a4 Put everything in edje_private. It should fix a compilation
bug on Windows

SVN revision: 52736
2010-09-25 17:10:33 +00:00
Carsten Haitzler 9e7bc3f53e wooo overzealous commenting. fix. better now.
SVN revision: 52734
2010-09-25 14:46:10 +00:00
Carsten Haitzler 0e2ec32263 working on debug. doesn't affect anything atm.
SVN revision: 52733
2010-09-25 14:30:02 +00:00
Vincent Torri ce40390347 int --> Eina_Bool
please review it

SVN revision: 52730
2010-09-25 07:03:02 +00:00
Vincent Torri a5d1c4bce5 Eina.h should be needed here too
SVN revision: 52729
2010-09-25 06:23:32 +00:00
Vincent Torri b557254a6b fix build (i'm on windows, so can't test it)
SVN revision: 52728
2010-09-25 06:21:43 +00:00
Carsten Haitzler 348f454537 well that improves map a bit! less overdraw! :) and 1 bug fixed. still
1 left.



SVN revision: 52727
2010-09-25 06:19:30 +00:00
Vincent Torri 42dba1a3ea formatting
SVN revision: 52726
2010-09-25 06:10:18 +00:00
Vincent Torri 1f3091dbb3 formatting
SVN revision: 52725
2010-09-25 06:03:38 +00:00
Vincent Torri cdacbb84bb formatting
SVN revision: 52724
2010-09-25 05:58:42 +00:00
Vincent Torri 0e9b4b0c3b formatting
SVN revision: 52723
2010-09-25 05:56:01 +00:00
Vincent Torri aac2ae60b5 formatting
SVN revision: 52722
2010-09-25 05:45:19 +00:00
Vincent Torri b2d3d0af41 formatting and whitespace--
SVN revision: 52721
2010-09-25 05:36:21 +00:00
Vincent Torri d5f1ed5907 int --> Eina_Bool
SVN revision: 52720
2010-09-25 05:34:26 +00:00
Vincent Torri 303edc4f9d int --> Eina_Bool
SVN revision: 52719
2010-09-25 05:14:00 +00:00
Vincent Torri 2de55203a4 directfb does not exists on Windows, so simplify EAPI
SVN revision: 52718
2010-09-25 05:08:30 +00:00
Vincent Torri 6fd7b23478 formatting
SVN revision: 52717
2010-09-25 04:58:33 +00:00
Vincent Torri 88b8b5499a formatting
SVN revision: 52716
2010-09-25 04:53:47 +00:00
Vincent Torri 6776962098 int --> Eina_Bool
SVN revision: 52715
2010-09-25 04:50:10 +00:00
Vincent Torri 98247ac8dc formatting
SVN revision: 52714
2010-09-25 04:40:54 +00:00
Mike Blumenkrantz a46d1d564c attempt to rehandshake more frequently to avoid unnecessary looping
SVN revision: 52713
2010-09-25 04:22:10 +00:00
Mike Blumenkrantz ec372b3bd5 whoops typo
SVN revision: 52712
2010-09-25 04:21:03 +00:00
Mike Blumenkrantz 0d535058a9 implement ssl rehandshakes
convert bool variable to bool
fix bug where ssl read/write could improperly result in disconnect


SVN revision: 52710
2010-09-25 03:02:10 +00:00
Mike Blumenkrantz 8ea3bbdd2e fix warning detection
SVN revision: 52708
2010-09-24 22:49:06 +00:00
Mike Blumenkrantz ae6f569862 remove double check for ssl
SVN revision: 52705
2010-09-24 20:07:55 +00:00
Mike Blumenkrantz 2430457121 don't use ssl for local connections
SVN revision: 52703
2010-09-24 20:03:09 +00:00
Mike Blumenkrantz 4a09cb751c send server name extension
SVN revision: 52701
2010-09-24 19:47:25 +00:00
Cedric BAIL 3b324c10ed * ecore: check GNUTLS version before using new feature.
SVN revision: 52680
2010-09-24 11:25:40 +00:00
Boris Faure 9d95bf5a82 ecore: fix compilation when GNUTLS_HANDSHAKE_NEW_SESSION_TICKET is not defined
SVN revision: 52679
2010-09-24 09:42:16 +00:00
Mike Blumenkrantz da50c7b57d add session ticket support for gnutls, also add extremely detailed handshake error messages
SVN revision: 52675
2010-09-24 06:54:49 +00:00
Vincent Torri 9f453d51e9 document abstract types
SVN revision: 52674
2010-09-24 06:35:30 +00:00
Vincent Torri 814013bb82 formatting
SVN revision: 52673
2010-09-24 06:34:56 +00:00
Mike Blumenkrantz da4dcea34f fix events for async handshaking
SVN revision: 52672
2010-09-24 05:57:03 +00:00
Mike Blumenkrantz 1757239da5 fix kx priority
SVN revision: 52671
2010-09-24 05:56:45 +00:00
Vincent Torri 826af2e024 deprecated function
SVN revision: 52670
2010-09-24 05:53:25 +00:00
Vincent Torri b565d00399 add warning messages for ecore_cocoa, ecore_win32 and ecore_wince
SVN revision: 52669
2010-09-24 05:30:51 +00:00
Mike Blumenkrantz 60b4269b5f yet another ecore_con overhaul!
*internal function rename
*******finally fix ssl handshaking to be non-blocking


SVN revision: 52665
2010-09-24 04:15:42 +00:00
Vincent Torri e7392af747 * Eina.h needed for Eina_Bool.
* typo in comments.
 * use a border of 1 for a table.

SVN revision: 52656
2010-09-23 22:18:15 +00:00
Lucas De Marchi 6666a9e795 Exclude win from prio drop implementation
Win will use another completely different approach. So, change the
guards to EFL_HAVE_POSIX_THREADS.

Also, include eina_sched.h as should have been done.



SVN revision: 52654
2010-09-23 20:58:19 +00:00
Lucas De Marchi b5dfed45d8 Use eina_sched_prio_drop()
SVN revision: 52653
2010-09-23 20:40:35 +00:00
Lucas De Marchi 85599b20eb Use eina_sched_prio_drop()
SVN revision: 52652
2010-09-23 20:39:40 +00:00
Lucas De Marchi a95105a888 Implement function to drop priority of current thread
This function is useful for libraries like ecore and evas that have to
set some worker threads. The first thing these threads should do is to
call this function, so the main thread might continue running without
the worker threads interrupting it too much.



SVN revision: 52651
2010-09-23 20:38:48 +00:00
Vincent Torri 54a6fa2a68 Add Ecore_Win32 and Ecore_WinCE to the main page of the doc
SVN revision: 52649
2010-09-23 18:53:25 +00:00
Vincent Torri 89fa0d7741 document completely the Ecore_Win32 and Ecore_WinCE
SVN revision: 52648
2010-09-23 18:47:40 +00:00
Vincent Torri 02ffe4765c Windows: too much noise in the console with animations
SVN revision: 52647
2010-09-23 18:44:48 +00:00
Mike Blumenkrantz b306683fec something for morlenxus maybe
SVN revision: 52639
2010-09-23 10:35:30 +00:00
Carsten Haitzler 82470f073e correctness!
SVN revision: 52618
2010-09-23 02:52:19 +00:00
Mike Blumenkrantz 9684932082 whoops port number
SVN revision: 52615
2010-09-23 00:58:30 +00:00
Mike Blumenkrantz cacf61712d update to match server example
SVN revision: 52614
2010-09-23 00:18:49 +00:00
Mike Blumenkrantz f617346761 finally. fix. openssl. again.
SVN revision: 52613
2010-09-23 00:16:42 +00:00
Mike Blumenkrantz ccc42ef509 error check server creation
SVN revision: 52612
2010-09-22 23:58:31 +00:00
Mike Blumenkrantz a1009c7893 cosmetic fix to use mixed protocol
SVN revision: 52610
2010-09-22 22:44:54 +00:00
Mike Blumenkrantz 0666d57062 better openssl error handlers
SVN revision: 52607
2010-09-22 22:33:02 +00:00
Mike Blumenkrantz 74d035df0b prefer stronger anonymous client encryption
also some progress on openssl that does nothing except make servers take forever to start


SVN revision: 52606
2010-09-22 22:06:49 +00:00
Gustavo Sverzut Barbieri fe40b278d8 yeah, we know it is unstable ;-)
SVN revision: 52604
2010-09-22 21:30:15 +00:00
Mike Blumenkrantz 3150202755 clean up openssl handshake
SVN revision: 52597
2010-09-22 17:37:25 +00:00
Mike Blumenkrantz a37f3ab98e update to use automatic disconnect and quit after a connection
SVN revision: 52596
2010-09-22 17:22:11 +00:00
Iván Briano 14187a92d3 Don't include Edje_Edit.h in edje_private.h and make it obvious at compile time that this API is not meant to be used outside of editors.
SVN revision: 52593
2010-09-22 14:52:23 +00:00
Carsten Haitzler 79f5d9f04d api cleanups too.
SVN revision: 52592
2010-09-22 14:21:55 +00:00
Carsten Haitzler f9d3eff9b3 int->enum.
SVN revision: 52591
2010-09-22 14:13:03 +00:00
Carsten Haitzler 737556b8bb more pi cleantyp -> typedef.
SVN revision: 52590
2010-09-22 13:35:47 +00:00
Carsten Haitzler af2651748c int -> enum.
SVN revision: 52589
2010-09-22 13:27:09 +00:00
Carsten Haitzler ef71a85f2a fix error enum too
SVN revision: 52588
2010-09-22 13:25:17 +00:00
Carsten Haitzler 7eb38a4063 comment++
SVN revision: 52587
2010-09-22 13:01:13 +00:00
Carsten Haitzler fea985b760 fmting.
SVN revision: 52586
2010-09-22 12:02:35 +00:00
Carsten Haitzler 80e131a443 fmting
SVN revision: 52585
2010-09-22 11:57:19 +00:00
Carsten Haitzler c4d77fea71 docs++
SVN revision: 52584
2010-09-22 11:29:42 +00:00
Carsten Haitzler ea8175d746 fmormatting cleanups
SVN revision: 52583
2010-09-22 11:28:31 +00:00
Carsten Haitzler dddab37368 fmting
SVN revision: 52581
2010-09-22 11:14:25 +00:00
Cedric BAIL b462783cae * ecore: oops, forgot that change.
SVN revision: 52580
2010-09-22 11:09:44 +00:00
Carsten Haitzler 629916a4ee formatting
SVN revision: 52579
2010-09-22 11:04:32 +00:00
Carsten Haitzler c5977a45dd formatting.
SVN revision: 52578
2010-09-22 11:03:28 +00:00
Carsten Haitzler 2dce035395 warning--, formatting.
SVN revision: 52577
2010-09-22 11:02:19 +00:00
Carsten Haitzler fa813fb8f2 size_t -> int.
really - i prefer it and if we hit the 2gb limit of a signed int for
bytes added to a textblock... thats the day we will need evas 2 :)



SVN revision: 52576
2010-09-22 10:58:44 +00:00
Carsten Haitzler 21ec26bed3 move some simple #define constants to typedefs. api compatible tho.
SVN revision: 52575
2010-09-22 10:52:54 +00:00
Cedric BAIL c105d1bcf4 * eet: fix doc about eddc_size.
SVN revision: 52574
2010-09-22 09:50:26 +00:00
Cedric BAIL 8036a32918 * ecore: rename ecore_long_run to ecore_thread_feedback_run.
SVN revision: 52573
2010-09-22 09:47:55 +00:00
Carsten Haitzler 08b5fe088a fmting
SVN revision: 52572
2010-09-22 09:37:18 +00:00
Carsten Haitzler af7910c47b formatting
SVN revision: 52571
2010-09-22 09:28:23 +00:00
Carsten Haitzler f5acc84e67 int -> bool
SVN revision: 52570
2010-09-22 09:19:31 +00:00
Vincent Torri 3fd0a6fb08 remove whitespaces
SVN revision: 52569
2010-09-22 08:03:38 +00:00
Vincent Torri 4d50fdc728 fix doc. There are still 2 warnings about eddc_size not
commented.

SVN revision: 52568
2010-09-22 08:00:36 +00:00
Mike Blumenkrantz 172da9d9cf finally. fix. ssl.
SVN revision: 52567
2010-09-22 07:27:07 +00:00
Carsten Haitzler 011b2ce822 brutally evil... internally.. but it works. map perspective correct
now in gl engine. hooray for that. one complaint less.



SVN revision: 52566
2010-09-22 06:52:28 +00:00
Mike Blumenkrantz 787b09464b disable PSK ciphers for now since they aren't implemented
SVN revision: 52565
2010-09-22 06:13:29 +00:00
Mike Blumenkrantz fb977d72c4 implement functions to time out client connections to our server
*set/get default idle timeout of clients*
+ecore_con_server_timeout_set
+ecore_con_server_timeout_get
*set/get idle timeout of a client*
+ecore_con_client_timeout_set
+ecore_con_client_timeout_get

*get connection uptime of a client/server*
+ecore_con_client_uptime_get
+ecore_con_server_uptime_get

*fix giant ssl server memory leak*


SVN revision: 52564
2010-09-22 04:48:09 +00:00
Mike Blumenkrantz 5420324fd6 add ECORE_CON_USE_MIXED, which is just an alias for SSL3+TLS
SVN revision: 52561
2010-09-22 01:26:23 +00:00
Mike Blumenkrantz 38188213cf !@#$ it, just going to rewrite the whole damn thing:
*fix gnutls client/server implementations to use correct ciphers and free memory properly
*prevent lots of segvs

this message brought to you by gnu dicks


SVN revision: 52559
2010-09-22 00:10:10 +00:00
Vincent Torri 565962c176 now that log colors work on Windows, let eina_log choose
the default colors

SVN revision: 52545
2010-09-21 16:38:33 +00:00
Tom Hacohen 2d3b0200af Evas textblock: merged changes.
SVN revision: 52544
2010-09-21 15:39:26 +00:00
Cedric BAIL 80bbb4584c * eina: call malloc only when content is requested from the pool.
SVN revision: 52543
2010-09-21 15:18:15 +00:00
Iván Briano 68f1a20306 Adding callback for box to be called when a child is added or removed.
Also sets the children_changed flag when changing children list.

    by Otavio Pontes <otavio@profusion.mobi>



SVN revision: 52541
2010-09-21 14:04:28 +00:00
Tom Hacohen ae51c0e16f Evas textblock: Fixed deleting the last visual format in a row of visual formats, for example in '<b>ab</b><tab>cd' the tab wouldn't have gotten erased correctly.
SVN revision: 52540
2010-09-21 13:05:30 +00:00
Mike Blumenkrantz c2da918bd5 fix ecore con openssl clients (really ecore_con_server...) sigh
SVN revision: 52538
2010-09-21 07:04:10 +00:00
Mike Blumenkrantz f7bf462ef4 revert whoops
SVN revision: 52537
2010-09-21 06:52:10 +00:00
Mike Blumenkrantz 005cf69302 ecore_con_url_free migration
SVN revision: 52536
2010-09-21 06:51:07 +00:00
Mike Blumenkrantz 5f34f2cb76 doxy fixes
c/o vtorri


SVN revision: 52535
2010-09-21 06:49:22 +00:00
Mike Blumenkrantz ad3ecd489a ecore_con_url_destroy -> ecore_con_url_free
also some small function rearranging


SVN revision: 52534
2010-09-21 06:49:07 +00:00
Mike Blumenkrantz 6121edec86 this should have gone in with r52531...
SVN revision: 52533
2010-09-21 05:34:49 +00:00
Mike Blumenkrantz 3b55af0102 fix doxy and EAPI for ssl function
SVN revision: 52532
2010-09-21 05:34:10 +00:00
Mike Blumenkrantz 0929a7a9ce -EAPI int ecore_con_url_url_set(Ecore_Con_Url *url_con,
+EAPI Eina_Bool         ecore_con_url_url_set(Ecore_Con_Url *url_con,
-EAPI int               ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
+EAPI Eina_Bool         ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
-EAPI int               ecore_con_url_send(Ecore_Con_Url *url_con,
+EAPI Eina_Bool         ecore_con_url_send(Ecore_Con_Url *url_con,
-EAPI int               ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,
+EAPI Eina_Bool         ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,


SVN revision: 52531
2010-09-21 03:14:46 +00:00
Mike Blumenkrantz f6a8d74b50 formatting
SVN revision: 52530
2010-09-21 03:08:35 +00:00
Mike Blumenkrantz f3a2858f37 remove unused variable
SVN revision: 52529
2010-09-21 02:16:40 +00:00
Mike Blumenkrantz 786e2bd7e4 ecore_main_fd_handler_active_get -> Eina_Bool
SVN revision: 52528
2010-09-21 02:06:41 +00:00
Mike Blumenkrantz 89e6e0d30d ecore_ipc_server_connected_get -> Eina_Bool
SVN revision: 52526
2010-09-21 01:58:54 +00:00
Mike Blumenkrantz fdadea7eca ecore_con_server_connected_get now returns Eina_Bool
SVN revision: 52525
2010-09-21 01:48:46 +00:00
Mike Blumenkrantz 9d40676672 distribute examples
SVN revision: 52518
2010-09-20 21:17:39 +00:00
Mike Blumenkrantz 101089c62e ecore_con client example
SVN revision: 52517
2010-09-20 21:16:51 +00:00
Mike Blumenkrantz 45e75f937e ecore_con server example
SVN revision: 52516
2010-09-20 21:13:29 +00:00
Mike Blumenkrantz abed74df3a update doxyfile to warn more for missing params, prevent __UNUSED__ warnings, exclude all ecore_config
SVN revision: 52515
2010-09-20 21:13:05 +00:00
Mike Blumenkrantz 8c26eabb75 remove ecore_config stuff; also accidentally committed undocumented changes in r52512 as follows:
*update Doxyfile to new version
*fix doxygen warnings from samsung <tbd> email
*remove references to code that was probably last used by the roman empire


SVN revision: 52514
2010-09-20 21:12:08 +00:00
Mike Blumenkrantz e56789f77e This is the Doxygen Police! If you committed any of these lines, accept your public shaming!
SVN revision: 52513
2010-09-20 20:52:15 +00:00
Mike Blumenkrantz 130f5bec81 doxy error fixes
SVN revision: 52512
2010-09-20 20:33:50 +00:00
Mike Blumenkrantz 720fe88aef T_UNIX I AM GUESSING THIS WAS YOU!
@Brief != @brief!!!


SVN revision: 52510
2010-09-20 20:18:26 +00:00
Mike Blumenkrantz 40396f6867 doxy todo--
SVN revision: 52509
2010-09-20 20:12:17 +00:00
Mike Blumenkrantz adb2af986b fix doxy list
SVN revision: 52508
2010-09-20 20:07:24 +00:00
Mike Blumenkrantz 3ceb05fe0d authors updates
SVN revision: 52507
2010-09-20 20:04:05 +00:00
Mike Blumenkrantz c578a955ae fix obscure error case where CLIENT_DEL event is not generated after a client ssl pings ecore's server and disconnects immediately after handshake
SVN revision: 52504
2010-09-20 19:32:37 +00:00
Mike Blumenkrantz 137da6826d add cl->client_count member to prevent segv when counting a list that is actually null but hasn't been nulled
SVN revision: 52503
2010-09-20 19:31:11 +00:00
Mike Blumenkrantz d28a6dd5d6 formatting, switch lost_client to bool
SVN revision: 52501
2010-09-20 18:52:52 +00:00
Mike Blumenkrantz 8e3be2fef8 FINALLY FIX OPENSSL SERVER!!!!!!!!! YESSSSSSSSSSSSSSSSSSSSS
SVN revision: 52497
2010-09-20 18:25:21 +00:00
Eduardo de Barros Lima acae2fc370 Eina_List: Revert changes introduced in r52253
The patch was trying to fix an error caused by wrong usage of this function



SVN revision: 52496
2010-09-20 18:20:40 +00:00
Lucas De Marchi 71cba7da35 Fix typos
"he->the" where appropriate



SVN revision: 52493
2010-09-20 17:09:13 +00:00
Tom Hacohen 5ba2cc9c6b Evas textblock: Removed the usuned type field from the textblock item.
SVN revision: 52489
2010-09-20 14:14:52 +00:00
Tom Hacohen b98670ab36 Evas textblock: Updated docs.
SVN revision: 52488
2010-09-20 13:04:37 +00:00
Chidambar Zinnoury 52b0c711a1 ethumb: missing initialization.
Thank you Lucas de Marchi :)


SVN revision: 52487
2010-09-20 12:10:30 +00:00
Lucas De Marchi 9af1273517 Remove unused field from Evas_Object
Previous commits removed the use of havemap_parent. So, remove the
field as well.

Fix some trailing whitespaces too.



SVN revision: 52486
2010-09-20 10:54:09 +00:00
Tom Hacohen 1f8553de01 Evas textblock: Fixed the mixed usage of a replacement char (e.g * on password textblocks) with formats.
SVN revision: 52485
2010-09-20 10:06:01 +00:00
Tom Hacohen e8c10dbce7 Evas textblock: Added evas_textblock_node_format_remove_pair to remove formats.
SVN revision: 52484
2010-09-20 09:44:48 +00:00
Carsten Haitzler 4b73f639d2 fix booboo
SVN revision: 52482
2010-09-20 01:32:05 +00:00
Gustavo Sverzut Barbieri 9f5dd747ef update README.in with relevant information, fix typos and improve formatting.
* add information about modules "=static" suffix.
 * fix lots of typos spotted by emacs "flyspell-mode".
 * add more spacing and separator lines around sections.



SVN revision: 52477
2010-09-19 21:12:04 +00:00
Gustavo Sverzut Barbieri 200fd80f4e warnings-- on 16bpp and 8bpp
SVN revision: 52472
2010-09-19 20:11:42 +00:00
Mike Blumenkrantz 2733968495 fix unused warns
SVN revision: 52470
2010-09-19 19:41:06 +00:00
Mike Blumenkrantz 27e3324ad2 remove ssl2 support completely
SVN revision: 52469
2010-09-19 19:38:38 +00:00
Mike Blumenkrantz d1db6f1cf4 gnutls cleanup: only create diffie hellman bits on server init instead of for each client
overhead/blocking--
speed++


SVN revision: 52468
2010-09-19 19:25:47 +00:00