Commit Graph

15896 Commits

Author SHA1 Message Date
Mike Blumenkrantz ff57b89995 add windows error events for new code, condense some connect handlers
SVN revision: 66065
2011-12-10 05:09:47 +00:00
Mike Blumenkrantz 0b109fb5c2 optimize read mechanics for remote servers using ioctl to determine number of bytes available for reading.
in general, this should provide an improvement which scales with the amount of data being transferred:
* small transfers will incur a small amount of overhead from potentially unneeded memory as I try to account for a bug in FIONREAD which returns a number that is smaller than the actual number of bytes available for read on a socket
* large transfers will no longer require any copies of the data

on systems which do not provide the FIONREAD ioctl(), old functionality will be used
this should work on windows, though I (obviously) can't test it myself

thus ends the longest commit message I have ever written


SVN revision: 66063
2011-12-09 22:35:12 +00:00
Jaehwan Kim e8a3c54734 add EAPI. Maybe it is missed.
SVN revision: 66061
2011-12-09 07:55:31 +00:00
Mike Blumenkrantz 2d6064e88f okay I was a little too excited
SVN revision: 66042
2011-12-08 17:27:30 +00:00
Cedric BAIL 1fd0dff3bc edje: we never call perror.
SVN revision: 66041
2011-12-08 16:21:49 +00:00
Cedric BAIL e845e82b30 ecore: we never call perro.
SVN revision: 66040
2011-12-08 16:21:29 +00:00
Cedric BAIL 2a169ea4e4 ecore: fix header inclusion.
SVN revision: 66039
2011-12-08 16:19:44 +00:00
Mike Blumenkrantz 776e6e445d more binbuf_manage_new!
SVN revision: 66038
2011-12-08 16:08:33 +00:00
Mike Blumenkrantz bdc371cac6 use binbuf_manage_new
SVN revision: 66037
2011-12-08 15:58:01 +00:00
Tom Hacohen 346e25b031 Evas textblock: Added evas_textblock_markup_to_plain.
This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

SVN revision: 66034
2011-12-08 15:12:25 +00:00
Tom Hacohen a0fa810e82 Evas: Updated NEWS file.
SVN revision: 66032
2011-12-08 13:45:09 +00:00
Tom Hacohen 4fc5a77e1d Evas: Updated changelog to include latest textblock changes.
SVN revision: 66031
2011-12-08 13:39:31 +00:00
Cedric BAIL c05f9ebabc evas: use the right message command when usefull.
SVN revision: 66030
2011-12-08 13:29:02 +00:00
Cedric BAIL caebf5cf95 eina: use WRN for warning.
SVN revision: 66029
2011-12-08 13:28:32 +00:00
Tom Hacohen 66b3c08aff Eina bin/(u)strbuf: Added eina_*buf_manage_new_length.
Same as eina_*buf_manage_new except for the length parameter.

SVN revision: 66028
2011-12-08 13:10:57 +00:00
Cedric BAIL 6bab74cfd7 eina: make it possible to disable Eina_Log infrastructure.
SVN revision: 66025
2011-12-08 12:08:53 +00:00
Tom Hacohen 7b9a398d5f Edje entry: use the newly added self-closing textblock tags.
SVN revision: 66024
2011-12-08 12:07:05 +00:00
Tom Hacohen 0ec467892d Evas textblock: Support self-closing formats, i.e <br/>.
Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

SVN revision: 66023
2011-12-08 12:05:56 +00:00
Tom Hacohen 7f8dca2fda Evas textblock: Improve internal handling of formats.
SVN revision: 66022
2011-12-08 12:05:47 +00:00
Mike Blumenkrantz 3ed65e0992 unify and improve gnutls debug output
SVN revision: 66019
2011-12-08 05:58:47 +00:00
Mike Blumenkrantz 4a5c1f9b85 news updates
SVN revision: 66018
2011-12-08 05:10:44 +00:00
Mike Blumenkrantz 06d5a4c5c4 align debug info
SVN revision: 66017
2011-12-08 05:02:49 +00:00
Mike Blumenkrantz 66792e4a85 fix some format string errors
SVN revision: 66016
2011-12-08 04:21:25 +00:00
Mike Blumenkrantz 6b67e93891 fix shadow var warning
SVN revision: 66014
2011-12-08 04:18:12 +00:00
Mike Blumenkrantz 8ada55917a fix eina_log*level_check() to return the value that the docs claim will be returned
how did nobody catch this sooner?


SVN revision: 66013
2011-12-08 04:11:54 +00:00
Mike Blumenkrantz 29f67c9bc5 more informative error messages when cert verification fails
SVN revision: 66012
2011-12-08 03:56:29 +00:00
Mike Blumenkrantz 936f6aa7fa fix type so openssl verification works again
SVN revision: 66011
2011-12-08 03:53:49 +00:00
Mike Blumenkrantz dcc86ed639 ca loading function now loads directories
SVN revision: 66009
2011-12-08 03:25:53 +00:00
Mike Blumenkrantz 97a83712b0 unify openssl debug printing and remove #ifdefs: now this will always print with ecore-con:4
SVN revision: 66008
2011-12-08 02:59:27 +00:00
Mike Blumenkrantz 1416e28363 fix compat on openssl errors
SVN revision: 66007
2011-12-08 02:53:43 +00:00
Mike Blumenkrantz 5410f75bdc beef up openssl debug output
SVN revision: 66006
2011-12-08 02:37:00 +00:00
Mike Blumenkrantz 653a01d287 better error messages on certificate verify failure
SVN revision: 66005
2011-12-08 02:11:22 +00:00
Mike Blumenkrantz 7cc2aa0582 whoops, fix compile on unrelated change that snuck in
changelog tbd


SVN revision: 66004
2011-12-08 01:30:53 +00:00
Mike Blumenkrantz e47742e142 damn you ctrl+d!
SVN revision: 66003
2011-12-08 01:23:10 +00:00
Mike Blumenkrantz b40fa86b4a +ecore_con_ssl_server_verify_name_set/get
SVN revision: 66002
2011-12-08 01:14:55 +00:00
Mike Blumenkrantz f0e4cb8e79 allow certificates to be loaded for STARTTLS
SVN revision: 66000
2011-12-07 23:36:15 +00:00
Mike Blumenkrantz a200550466 update docs for eina_file_dir_list
SVN revision: 65997
2011-12-07 22:50:50 +00:00
Vincent Torri 4036add6ad Eina: missing 'static inline'
SVN revision: 65992
2011-12-07 20:28:56 +00:00
Vincent Torri 2c85cff20b Eina: improve a bit the doc
SVN revision: 65987
2011-12-07 12:07:18 +00:00
Carsten Haitzler 58040ce94b NO! you break api. you made my e sit here with a segv in a getenv.
because now many libraries and api's don't have prototyopes for
malloc/calloc and much more and this goes horribly wrong especially on
64bit! the eina headers have provided these includes historically and
removing them is a BREAK in api. apps that used to compile and run
just fine now don't. it's unacceptable to break api.

i'm stuck here in unity for crying out loud! this deservves a big FAT
REVERT for that! :-P



SVN revision: 65983
2011-12-07 01:10:43 +00:00
Carsten Haitzler 9847de083b let's not fail to include standard headers when we need things like..
ooh.. malloc? calloc? printf?....



SVN revision: 65982
2011-12-07 00:49:00 +00:00
Carsten Haitzler 70b6239ec3 disable sse3 if immintrin.h not found.
SVN revision: 65980
2011-12-07 00:10:36 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Cedric BAIL a285a94120 eina: the new endless story of fixing header in all possible configuration.
SVN revision: 65974
2011-12-06 21:33:39 +00:00
Cedric BAIL 05827596b6 eina: last header fix.
SVN revision: 65970
2011-12-06 17:05:14 +00:00
Cedric BAIL 2ca68a95c6 eina: fix system header usage.
SVN revision: 65969
2011-12-06 16:57:28 +00:00
Cedric BAIL ca6d71618b eina: move clist around as needed.
SVN revision: 65968
2011-12-06 16:55:50 +00:00
Cedric BAIL 98ced4dd20 eina: only include system header as necessary.
SVN revision: 65966
2011-12-06 16:09:56 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Cedric BAIL b7a86e79e0 evas: less unused warning.
SVN revision: 65963
2011-12-06 16:08:30 +00:00
Cedric BAIL dfe1ef0fc6 evas: include stdlib.h as required.
SVN revision: 65962
2011-12-06 16:07:59 +00:00
Cedric BAIL ca142c2404 emotion: turn fps debugging on also on classic Gstreamer.
SVN revision: 65955
2011-12-06 11:36:29 +00:00
Cedric BAIL 9c3332f2de eet: no reason to duplicate environment variable.
SVN revision: 65954
2011-12-06 11:00:50 +00:00
Vincent Torri 23043ed40e Ethumb: source files should have their names with lower case letters
SVN revision: 65948
2011-12-06 06:50:10 +00:00
Vincent Torri 4d5063985b Ethumb: formatting, fix future compilation on Windows
SVN revision: 65946
2011-12-06 06:31:45 +00:00
Vincent Torri a10fb296c4 Ethumb: fix future compilation on Windows, formatting
SVN revision: 65945
2011-12-06 06:12:15 +00:00
Mike Blumenkrantz bb3f0ffa4b one of these days I'm going to snap and throw my computer off my balcony because of this
SVN revision: 65944
2011-12-06 05:52:45 +00:00
Mike Blumenkrantz e7a491b1be @since
SVN revision: 65943
2011-12-06 05:37:29 +00:00
Vincent Torri cb1efe97d8 Ethumb: remove and move header file
SVN revision: 65942
2011-12-06 05:32:35 +00:00
Vincent Torri 44c9a67c69 Ethumb: remove unused macro
SVN revision: 65941
2011-12-06 05:27:13 +00:00
Vincent Torri 621382a899 Ethumb: fix future compilation on Windows
SVN revision: 65940
2011-12-06 05:21:30 +00:00
Mike Blumenkrantz 77f039eb73 @since
SVN revision: 65939
2011-12-06 05:20:13 +00:00
Mike Blumenkrantz adc327c8f8 last ssl bugger
SVN revision: 65938
2011-12-06 05:14:03 +00:00
Mike Blumenkrantz 88a69e2a8f fix some ssl socks buggies
SVN revision: 65937
2011-12-06 04:48:55 +00:00
Mike Blumenkrantz 8a8242016e ...make that twice
SVN revision: 65936
2011-12-06 03:51:01 +00:00
Mike Blumenkrantz db16af76ee just kidding before, had to break svn at least once today
SVN revision: 65935
2011-12-06 03:41:16 +00:00
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +00:00
Christopher Michael 9935288eaa Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.



SVN revision: 65928
2011-12-06 00:44:25 +00:00
Cedric BAIL 97bd076da0 eina: fix typo.
SVN revision: 65921
2011-12-05 21:19:19 +00:00
Cedric BAIL 6bb99f243c evas: don't randomly move code around !
SVN revision: 65916
2011-12-05 16:50:40 +00:00
Mike Blumenkrantz 580ee6e6ac same for these
SVN revision: 65913
2011-12-05 15:39:04 +00:00
Mike Blumenkrantz ca4485f21d always have the file which includes config.h first!
SPANK SPANK SPANK cedric!


SVN revision: 65912
2011-12-05 15:38:55 +00:00
Cedric BAIL ad7e82bae0 evas: use already existing macro.
SVN revision: 65906
2011-12-05 14:32:10 +00:00
Cedric BAIL 0d4c616dc5 eina: follow Vincent advice.
SVN revision: 65905
2011-12-05 14:25:25 +00:00
Cedric BAIL 8c2e7f7b87 evas: use eina_lock a little bit more.
SVN revision: 65904
2011-12-05 14:01:42 +00:00
Cedric BAIL 792e7bffed evas: more fine grained system detection.
SVN revision: 65903
2011-12-05 14:00:53 +00:00
Cedric BAIL 1c70650afc evas: cast as we did in eina.
SVN revision: 65902
2011-12-05 13:59:44 +00:00
Cedric BAIL a6d8ebc55d eina: disable log if fnmatch is not present.
NOTE: would be better to have an explicit --disable option I think.


SVN revision: 65901
2011-12-05 13:58:09 +00:00
Cedric BAIL 1561954c05 eina: improve system header detection.
SVN revision: 65900
2011-12-05 13:57:10 +00:00
Joerg Sonnenberger 30af9a785f From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] eina 1.1.0beta patches for/from pkgsrc

Several patches to fix warnings and potential on netbsd/solaris. minor
so i think i'll skip changelog for this.



SVN revision: 65898
2011-12-05 10:17:57 +00:00
Carsten Haitzler 6865d04e5e chlog++
SVN revision: 65897
2011-12-05 09:47:49 +00:00
Carsten Haitzler c75637b6bf remove warnings!
SVN revision: 65896
2011-12-05 09:26:04 +00:00
Carsten Haitzler e477ff0629 remove warning - bug ready to happen with fastpath. didnt pass
sharedlist or direct down.



SVN revision: 65895
2011-12-05 09:18:05 +00:00
Carsten Haitzler 9f5a8809c7 fix gles/egl bugs/issues in sungwoo's new patch
SVN revision: 65894
2011-12-05 09:05:04 +00:00
Carsten Haitzler 5967841988 I'm attaching a patch for the initial version of the GL Fastpath
addition to evas gl backend.

Working on different mobile devices, we've noticed that the cost of context
switch (MakeCurrent) in GL can be very expensive depending on the driver
implementation.  To minimize the poorly written driver's context switch
overhead, I've implemented a state tracking layer on top of the driver
implemented GL.

Essentially, this layer wraps all the GL/Glue(GLX/EGL) APIs and manages its own
state changes.  Internally, only one real GL context is created and logical
contexts are created every time a user requests context creation.  The logical
contexts keep track of its states and sets only the necessary states
(the ones that are different than the current ones)
when there is a MakeCurrent request.  The real MakeCurrent gets called when
there is a Surface/Window change request.

The GL library is dlopened and all the APIs are dlsym'ed and wrapped
accordingly.  All the GL functions are in evas_gl_core.{h,c}.

Here's a very simply flow of the code.
   - all the APIs are exported as function pointers (*glsym_glBegin),
     (*glsm_eglCreatContext), and etc.
   - all the native GL/Glue(GLX/EGL) APIs are dlsym'ed as _sym_glBegin,
     _sym_eglCreateContext, and etc.
   - all the fastpath APIs are implmemnted as fpgl_glBegin,
     fpgl_eglCreateContext, and etc.
   - if faspath is seletected, the exported APIs are set accordingly
     ie. glsym_glBegin = fpgl_glBegin;
   - default mode is the regular gl symbols are directly set.
     ie. glsym_glBegin = _sym_glBegin;
             
I have an Environment variable where you can set it to three different Modes

EVAS_GL_FASTPATH = 0    // Default mode. Regular GL symbols are directly loaded
EVAS_GL_FASTPATH = 1    // Fastpath mode. Takes the path described above.
EVAS_GL_FASTPATH = 2    // Wrapped mode.  All the regular GL functions are
                           wrapped once.  This can be used for various
purposes

Since all the GL symbols are now loaded in this library, I took out all
the gl symbol loading parts in the evas gl backend as you'll see in the patch.
The changes to the engine and the backend itself is pretty minor.

There are still some known issues to hammer out but I thought we're at a good
place for an initial version so that my source doesn't diverge too much.

Known Issues and To Do's
* Current GL Fastpath version doesn't support multiple threads. Instead of
  having one global real context, I would need to do it for each thread. I'll
  get on this soon.
  
  * Issues running Evas GL on certain conditions.  When running the elementary
  test (with gl engine), if you run ELMGLview test that runs in ON_DEMAND mode,
  everything works fine. BUT, when you run the ELMGLView test in ALWAYS
    mode, the subsequent elm tests shows blank screen. When you destroy the
  GLView window, everything else comes on fine.
  
  * Resource protection code.  This actually applies to Evas GL code in general
  as well. Since all the resources are shared among all the contexts that get
  created, I would like to eventually have a resource protecting mechanism that
  prevents access to resources outside of its context unless specifically
  specified.
  
  I'm attaching three files
     - evas_gl_core.h, evas_gl_core.c, fastpath.patch
     
  To get the code running...
     - copy evas_gl_core.{c,h} to src/modules/engine/gl_common/
     - apply the fastpath.patch
     - compile/install evas
     - to run with fastpath GL (ie. % EVAS_GL_FASTPATH=1 ./evasgl_sample1)



SVN revision: 65891
2011-12-05 08:54:14 +00:00
Mike Blumenkrantz 39467c29b6 giant patch refactoring ecore-con-url from bluezery <opowel@gmail.com>
will it blend?!


SVN revision: 65888
2011-12-05 06:08:46 +00:00
Mike Blumenkrantz 32808c9760 totally meant to write this wrong the first time to see if anyone was watching.
SVN revision: 65878
2011-12-04 23:54:41 +00:00
Mike Blumenkrantz 7e3d3eb914 another failure attempt at pleasing Demon Lord Vincent Torri
SVN revision: 65877
2011-12-04 23:16:25 +00:00
Mike Blumenkrantz 955e23a8a9 +ecore_timer_reset
SVN revision: 65876
2011-12-04 23:12:06 +00:00
Mike Blumenkrantz ba15384eaf unfuck header formatting
SVN revision: 65874
2011-12-04 23:01:36 +00:00
Mike Blumenkrantz b4b851b9a0 install Eeze_Net.h
SVN revision: 65873
2011-12-04 22:53:22 +00:00
Vincent Torri 3398e62ea9 Evil : fix doc build, the release archive is updated
SVN revision: 65868
2011-12-04 14:04:19 +00:00
Mike Blumenkrantz 96f572f8b3 add a newline before api link
SVN revision: 65865
2011-12-04 04:29:55 +00:00
Carsten Haitzler 5419196236 add multisense back in post 1.1
SVN revision: 65864
2011-12-04 03:18:49 +00:00
Carsten Haitzler ac4c70ab7b fix changelogs to mention release.
SVN revision: 65860
2011-12-04 01:56:31 +00:00
Vincent Torri a3970d1f96 Ecore_Win32: Fix the modifiers value
SVN revision: 65856
2011-12-03 22:06:43 +00:00
Mike Blumenkrantz 8b6899154c in 2011, we began using formatting tools to fix problematic formatting.
in later 2011, we began using formatting tools to fix problematic formatting caused by previous runs of formatting tools used to fix problematic formatting


SVN revision: 65852
2011-12-03 20:05:48 +00:00
Mike Blumenkrantz 6b13c32a78 remove annoying trailing comments
SVN revision: 65851
2011-12-03 19:41:12 +00:00
Cedric BAIL 0f3df65317 eio: i see dead file.
SVN revision: 65848
2011-12-03 16:41:58 +00:00
Cedric BAIL 8564b85b05 eio: latest attempt to fix auto doc.
SVN revision: 65846
2011-12-03 16:07:54 +00:00