Tom Hacohen
5dc604ff78
Evas text: Fixed inset handling.
...
SVN revision: 53357
2010-10-13 14:14:40 +00:00
Tom Hacohen
8d0492fcfd
Evas textblock + font engine: Don't take inset into account when not needed.
...
SVN revision: 53353
2010-10-13 13:33:59 +00:00
Cedric BAIL
a44992380f
* eina: easy speed improvement by reducing operation of mempool.
...
SVN revision: 53349
2010-10-13 12:12:45 +00:00
Cedric BAIL
a1c4588d64
* eio: fix use of ecore_thread_*run.
...
SVN revision: 53348
2010-10-13 10:59:33 +00:00
Cedric BAIL
0e7accd2ba
* eina: don't bench ecore anymore as it's to slow.
...
SVN revision: 53346
2010-10-13 09:34:40 +00:00
Mike Blumenkrantz
aff2d12d35
removal
...
SVN revision: 53344
2010-10-13 08:22:58 +00:00
Gustavo Sverzut Barbieri
c30d8f6af6
init threads as we use them!
...
SVN revision: 53342
2010-10-13 06:14:56 +00:00
Gustavo Sverzut Barbieri
83270f5f45
seems that the other way was not enough.
...
I was still reaching uninitialized usage and it does make sense, as
the parent thread could be postponed until the new is started, then
the scanner/worker thread hits an error (ie: directory permission
denied) and it is cancelled before the main thread had time to get the
thread attribution (common->thread).
I'd like someone to look at it. Probably this is NOT the right way to
fix. Likely what we should do is send a "ready! start working" command
from the main thread to the worker thread and avoid such thing.
==5848== Conditional jump or move depends on uninitialised value(s)
==5848== at 0x42808CD: ecore_thread_cancel (ecore_thread.c:534)
==5848== by 0x4238558: eio_file_thread_error (eio_single.c:35)
==5848== by 0x42368FC: _eio_file_direct_heavy (eio_file.c:78)
==5848== by 0x42800F3: _ecore_feedback_job (ecore_thread.c:247)
==5848== by 0x4280398: _ecore_thread_worker (ecore_thread.c:317)
==5848== by 0x41FE16AE: start_thread (in /lib/libpthread-2.11.2.so)
==5848== by 0x41F3295D: clone (in /lib/libc-2.11.2.so)
==5848== Uninitialised value was created by a heap allocation
==5848== at 0x400793F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5848== by 0x4237991: eio_file_direct_ls (eio_file.c:566)
==5848== by 0x8051C81: ephoto_directory_thumb_add (ephoto_directory_thumb.c:131)
==5848== by 0x804D4AB: _ephoto_thumb_dir_icon_get (ephoto_thumb_browser.c:75)
==5848== by 0x405F4C8: _item_realize (elm_gengrid.c:807)
==5848== by 0x405FE77: _item_place (elm_gengrid.c:980)
==5848== by 0x40610F6: _pan_calculate (elm_gengrid.c:1199)
==5848== by 0x418CA38: evas_call_smarts_calculate (evas_object_smart.c:843)
==5848== by 0x41B23B2: evas_render_updates_internal (evas_render.c:971)
==5848== by 0x41B3DA1: evas_render_updates (evas_render.c:1414)
==5848== by 0x42E4550: _ecore_evas_x_render (ecore_evas_x.c:406)
==5848== by 0x42DDD2C: _ecore_evas_idle_enter (ecore_evas.c:47)
SVN revision: 53340
2010-10-13 05:33:16 +00:00
Gustavo Sverzut Barbieri
d037d75281
fix unitialized error.
...
==17972== Use of uninitialised value of size 4
==17972== at 0x42918DB: ecore_thread_cancel (ecore_thread.c:536)
==17972== by 0x4249558: eio_file_thread_error (eio_single.c:35)
==17972== by 0x42478FC: _eio_file_direct_heavy (eio_file.c:78)
==17972== by 0x42910F3: _ecore_feedback_job (ecore_thread.c:247)
==17972== by 0x4291398: _ecore_thread_worker (ecore_thread.c:317)
==17972== by 0x41FE16AE: start_thread (in /lib/libpthread-2.11.2.so)
==17972== by 0x41F3295D: clone (in /lib/libc-2.11.2.so)
==17972== Uninitialised value was created by a heap allocation
==17972== at 0x400793F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==17972== by 0x4248991: eio_file_direct_ls (eio_file.c:566)
==17972== by 0x8050B8E: ephoto_directory_thumb_add (ephoto_directory_thumb.c:127)
==17972== by 0x4061570: _item_realize (elm_gengrid.c:807)
==17972== by 0x4061E27: _item_place (elm_gengrid.c:980)
==17972== by 0x4062875: _pan_calculate (elm_gengrid.c:1199)
==17972== by 0x419DA38: evas_call_smarts_calculate (evas_object_smart.c:843)
==17972== by 0x41C33B2: evas_render_updates_internal (evas_render.c:971)
==17972== by 0x41C4DA1: evas_render_updates (evas_render.c:1414)
==17972== by 0x42F5550: _ecore_evas_x_render (ecore_evas_x.c:406)
==17972== by 0x42EED2C: _ecore_evas_idle_enter (ecore_evas.c:47)
==17972== by 0x428C85F: _ecore_idle_enterer_call (ecore_idle_enterer.c:129)
SVN revision: 53336
2010-10-13 03:56:24 +00:00
Mike Blumenkrantz
a880b29c6e
<discomfitor> ecore_con_url.c: In function 'ecore_con_url_ftp_upload':
...
<discomfitor> ecore_con_url.c:963:14: warning: too few arguments for format
<rakuco> ah, missing a , filename there
<rakuco> can you commit that
SVN revision: 53334
2010-10-13 03:04:53 +00:00
Mike Blumenkrantz
900242104f
unify udev device creation to unclutter and significantly reduce codebase, some minor formatting fixes
...
SVN revision: 53333
2010-10-13 02:53:38 +00:00
Mike Blumenkrantz
b98d451da0
tiny api addition to allow adding a data pointer to a watch
...
SVN revision: 53332
2010-10-13 02:53:35 +00:00
Mike Blumenkrantz
0e74073215
clean up includes and fix caps for log domain
...
SVN revision: 53331
2010-10-13 02:53:33 +00:00
Carsten Haitzler
031f1fecf5
and.. be safe! for funcs so they dont go closing things when they
...
already are.
SVN revision: 53324
2010-10-13 00:37:12 +00:00
Carsten Haitzler
5eeda40f55
if pipe handler deletes the pipe... be safe!
...
SVN revision: 53323
2010-10-13 00:35:09 +00:00
Carsten Haitzler
8cde3d4ba6
ok... bad eio hackers. you know setting things like gnu_source and
...
file_offset_bits .. CHANGES the size of structs like dirent? so if u
do it differently in different c files... u end up with.. GASP
different structs with different sizes! dont do this. unify everything
into eio_private.h so its at least CONSISTENT for eio's internals.
SVN revision: 53322
2010-10-13 00:26:12 +00:00
Davide Andreoli
a9c4cd5be7
The daily edje example: EXTERNAL elementary checks in action.
...
SVN revision: 53316
2010-10-12 21:41:02 +00:00
Cedric BAIL
0d02671e99
* eina: improve chained mempool speed.
...
By removing pthread lock when thread safety is not required.
By not walking over the buffer for nothing.
SVN revision: 53310
2010-10-12 16:53:30 +00:00
Vincent Torri
0304666261
improve doc. Now, cedric, it's up to you :p
...
SVN revision: 53308
2010-10-12 14:59:30 +00:00
Tom Hacohen
96185ffaf5
Edje entry: removed some unwanted commented out code.
...
SVN revision: 53306
2010-10-12 14:13:22 +00:00
Cedric BAIL
26ba1c03e3
* edje: fix signal comming from aliased part.
...
I needed to bump minor file format version, but it will only
change behaviour for people using alias for part and they
couldn't use the signal emitted by them.
SVN revision: 53305
2010-10-12 13:26:18 +00:00
Tom Hacohen
ed83a01ea0
Edje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_pos returns index, not byte-index.
...
SVN revision: 53304
2010-10-12 12:22:43 +00:00
Cedric BAIL
21b78d18b3
* ecore: fix ecore_fb build.
...
SVN revision: 53303
2010-10-12 11:49:18 +00:00
Tom Hacohen
6193b5e91d
Evas text object: Fixed shaping.
...
SVN revision: 53301
2010-10-12 09:36:58 +00:00
Tom Hacohen
6390f7f88f
Ecore imf: Fixed documentation issues, patch by Jihoo Kim.
...
Fixed typos.
Made ecore_imf_context_preedit_string_get appear in doxygen output.
SVN revision: 53300
2010-10-12 08:59:42 +00:00
Vincent Torri
c5976de2ee
typo
...
SVN revision: 53298
2010-10-12 07:55:45 +00:00
Vincent Torri
9243d767a7
Ecore_Fb doc finished
...
SVN revision: 53297
2010-10-12 07:55:24 +00:00
Vincent Torri
eeb330adc3
fix doxygen warnings
...
SVN revision: 53296
2010-10-12 06:34:31 +00:00
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
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
Tom Hacohen
331db4a378
Evas textblock: Added a small comment about where to find textblock style usage example.
...
SVN revision: 53001
2010-10-03 16:42:56 +00:00
Chidambar Zinnoury
be17392520
eina: strrchr--.
...
SVN revision: 53000
2010-10-03 15:08:18 +00:00
Carsten Haitzler
49d3d36bde
dont forget about eeze
...
SVN revision: 52995
2010-10-03 09:57:35 +00:00
Carsten Haitzler
91466cf439
efl 1.0.0 beta.
...
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Christopher Michael
5ee58fab59
Fix some misspellings.
...
SVN revision: 52990
2010-10-03 01:44:21 +00:00
Mike Blumenkrantz
2f5589d890
add DBG for successfully completing SSL verification. with this commit, I believe that the ssl api should be 100% functional.
...
SVN revision: 52988
2010-10-02 22:27:30 +00:00
Mike Blumenkrantz
e8ee2a75f0
require peer verification when verify is called
...
SVN revision: 52987
2010-10-02 22:01:43 +00:00
Mike Blumenkrantz
134055d9d1
update to connect to www.verisign.com:443 by default, loading all certs in /etc/ssl/certs prior
...
SVN revision: 52986
2010-10-02 22:01:14 +00:00
Mike Blumenkrantz
abad9a5eb3
clear out the _try series of functions because they're useless
...
SVN revision: 52985
2010-10-02 21:13:56 +00:00
Mike Blumenkrantz
01c2990b47
openssl fixes:
...
only enable CRL checking when CRLs are loaded
output full ssl session info to DBG
SVN revision: 52982
2010-10-02 09:58:06 +00:00
Carsten Haitzler
201b13a221
NOOOOOOOOOOO spank disco-stu! spank. dont just dumbly shut warnings
...
up. read the code. its only because you HAPPEN to not have screensaver
support enabled that you happen to get the warning.
SVN revision: 52981
2010-10-02 09:32:45 +00:00
Mike Blumenkrantz
38f1d822a0
__UNUSED__
...
SVN revision: 52980
2010-10-02 09:15:22 +00:00
Mike Blumenkrantz
03d5ae91ca
formatting, correctly set ->ssl_err when appropriate, add cert verification for openssl
...
SVN revision: 52979
2010-10-02 09:14:41 +00:00
Mike Blumenkrantz
2c1c6f633d
add big FIXME for fixme
...
SVN revision: 52978
2010-10-02 08:22:48 +00:00
Mike Blumenkrantz
52ad489422
this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily fix the problem until someone who knows what they're doing comes along
...
SVN revision: 52977
2010-10-02 07:42:01 +00:00
Carsten Haitzler
57d15d3ef8
actually hook in filter callbacks - have 2 types and pass in enum to
...
each as to what text they are seeing to filter. fix up other typdef
uses.
SVN revision: 52975
2010-10-02 03:34:00 +00:00
Carsten Haitzler
44093c2bdc
set client leader by default - support setting it explicitly from code
...
too. fix default win props too.
SVN revision: 52974
2010-10-02 01:56:23 +00:00
Mike Blumenkrantz
603831821f
some DBG edits, fix case where ssl handshake completes and no more data is sent/received
...
SVN revision: 52972
2010-10-02 01:32:54 +00:00
Mike Blumenkrantz
2516eec5f8
fix openssl CRL loading
...
SVN revision: 52971
2010-10-02 01:32:05 +00:00
Iván Briano
be56560d7d
Fix animators, don't run the program twice.
...
SVN revision: 52953
2010-10-01 17:10:37 +00:00
Iván Briano
2233302716
Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.
...
SVN revision: 52952
2010-10-01 16:49:31 +00:00
Carsten Haitzler
a1cc721153
implement ecore_x_image to finish - put and convert done. actually no
...
need for convert from argb as that requires what evas already does
argb-> screen depth. use evas for that.
SVN revision: 52950
2010-10-01 12:31:22 +00:00
Marc Andre Tanner
3966e2e027
eina: fix compilation if safety checks are disabled
...
A few files include eina_safety_checks.h and then expect that
eina_log.h is also dragged in, however this isn't the case if
the safety checks were disabled at configure stage.
Include eina_log.h explicitly to fix this.
Patch by: Marc Andre Tanner <mat@brain-dump.org>
SVN revision: 52949
2010-10-01 12:18:39 +00:00
Carsten Haitzler
3fad0649a6
eek stride should be in bytes - to allow for various image formats.
...
fix for fallback.
SVN revision: 52948
2010-10-01 12:18:18 +00:00
Marc Andre Tanner
431685d37a
eina: fix wrong EINA_ARG_NONNULL
...
This fixes the following error:
CC libeina_la-eina_error.lo
CC libeina_la-eina_log.lo
In file included from ../../src/include/eina_safety_checks.h:69,
from eina_error.c:150:
../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1)
make[3]: *** [libeina_la-eina_error.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../src/include/eina_safety_checks.h:69,
from eina_log.c:287:
../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1)
make[3]: *** [libeina_la-eina_log.lo] Error 1
make[3]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina'
make: *** [all] Error 2
Patch by: Marc Andre Tanner <mat@brain-dump.org>
SVN revision: 52947
2010-10-01 12:18:04 +00:00
Carsten Haitzler
1e45be0a72
aaah bad. changed to free.
...
SVN revision: 52945
2010-10-01 07:38:36 +00:00
Howell Tam
fcbc86aec9
From: Howell Tam <howell.tam@fluffyspider.com>
...
Subject: ecore_file_download.c patch
Leak fix. Free url_con.
SVN revision: 52944
2010-10-01 07:04:07 +00:00
Carsten Haitzler
f394a88dca
set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
...
signals/messages
SVN revision: 52943
2010-10-01 06:59:48 +00:00
Carsten Haitzler
3d87542724
proper error output from script running (embryo).
...
SVN revision: 52942
2010-10-01 06:53:16 +00:00
Howell Tam
307190c594
From: Howell Tam <howell.tam@fluffyspider.com>
...
Subject: Evas evas_gl_shader.c patch
Patch for evas_gl_shader.c, need to check shader compile
errors too, not only program linking errors.
Not that it's very useful now since all Evas' shaders are in
good shape already, but it was useful when we're mucking around with
things.
And also to make Robi happy that there are some FST
contributions to E ;) And probably more to come...
SVN revision: 52941
2010-10-01 06:33:17 +00:00
Carsten Haitzler
6abe0b3a94
fix flipped object texture if map enabled AND object happens to be
...
exactly viewport size.
SVN revision: 52940
2010-10-01 06:22:31 +00:00
Carsten Haitzler
5b45763676
aaaah and map in map clip and more bug fixes...
...
SVN revision: 52939
2010-10-01 04:46:04 +00:00
Carsten Haitzler
94bfb8fbe6
map in map render bug with gl - fix.
...
SVN revision: 52936
2010-10-01 03:40:12 +00:00
Carsten Haitzler
0e560f9db2
and make values int so we can have "-1" :)
...
SVN revision: 52934
2010-09-30 23:23:51 +00:00
Carsten Haitzler
5938bb97f7
found the gl engine flashing white bug with laucnher 3 map test! aaah
...
gl state bug/assumption. reset state when moving from 1 surface target
to another and then we are all happy. also fix lip geometry issue in
gl when rendering to non-default surf - related.
SVN revision: 52933
2010-09-30 23:20:26 +00:00
Leandro Pereira
9dc21add3a
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
...
(Should have been on r52931.)
SVN revision: 52932
2010-09-30 21:37:49 +00:00
Leandro Pereira
fcfaebe1e3
edje_cc: Bail out on descriptions without a state.
...
Also, don't dereference a NULL pointer on badly-formed .edj files.
SVN revision: 52931
2010-09-30 21:31:00 +00:00
Leandro Pereira
0e7da3e783
edje_cc: Fix typos
...
SVN revision: 52930
2010-09-30 21:16:38 +00:00
Vincent Torri
1c1f20484e
tab--
...
SVN revision: 52922
2010-09-30 07:35:00 +00:00
Vincent Torri
33ecb571b6
tab--
...
SVN revision: 52921
2010-09-30 07:31:11 +00:00
Vincent Torri
519007d376
tab--
...
SVN revision: 52920
2010-09-30 07:25:06 +00:00
Vincent Torri
586334710d
tab--
...
SVN revision: 52919
2010-09-30 07:24:46 +00:00
Vincent Torri
16263f52cc
tab--
...
SVN revision: 52918
2010-09-30 06:09:20 +00:00
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