Vincent Torri
4fd8d21586
* include stdlib.h so that NULL is always defined
...
* restore LIBS when iconv library is not found
SVN revision: 45986
2010-02-08 15:25:46 +00:00
Vincent Torri
8840ed4118
on some platform, iconv.h defines iconv() with a macro,
...
hence the check with AC_SEARCH_LIBS s not sufficient. So
we link a complete program.
SVN revision: 45981
2010-02-08 13:14:30 +00:00
Michael Jennings
d52b70b3b7
Fix build on RHEL5.
...
SVN revision: 45973
2010-02-08 07:07:20 +00:00
Vincent Torri
6ac6ee026c
* fix compilation when iconv.h is detected but libiconv is not
...
* fix warning and clang report
SVN revision: 45970
2010-02-07 20:46:39 +00:00
Sebastian Dransfeld
f285bc7ae9
And since resize adds + 1 to size, grow must do to
...
SVN revision: 45969
2010-02-07 19:31:26 +00:00
Sebastian Dransfeld
216aabeaa0
And add () for increased safety
...
SVN revision: 45968
2010-02-07 19:30:01 +00:00
Sebastian Dransfeld
95d903dab7
And correct return type
...
SVN revision: 45967
2010-02-07 19:24:28 +00:00
Sebastian Dransfeld
69368ae6bd
Fix return values
...
If we don't need to grow, return EINA_TRUE.
Use EINA_TRUE and EINA_FALSE where possible.
SVN revision: 45966
2010-02-07 19:22:04 +00:00
dieb
470188ca4f
Eina: fix compilation on strbuf.
...
SVN revision: 45965
2010-02-07 17:33:26 +00:00
Sebastian Dransfeld
0cead88ce8
Don't change size, since we don't realloc
...
Thanks Peter
SVN revision: 45964
2010-02-07 12:23:27 +00:00
Sebastian Dransfeld
5408dedfe7
Don't shrink when we append
...
SVN revision: 45963
2010-02-07 12:21:28 +00:00
Sebastian Dransfeld
5b5107471f
Work with escaped string
...
SVN revision: 45962
2010-02-07 12:21:07 +00:00
Christopher Michael
5306e3c050
No need to include sys/types twice.
...
SVN revision: 45954
2010-02-06 22:14:32 +00:00
Sebastian Dransfeld
c4ac21cc74
Use eina_strbuf_reset to reduce realloc
...
SVN revision: 45953
2010-02-06 21:43:32 +00:00
Sebastian Dransfeld
2587c28d9a
Add eina_strbuf_reset
...
Function to reset the internal string, so we can reuse the allocated
mem.
SVN revision: 45952
2010-02-06 21:43:22 +00:00
Sebastian Dransfeld
fc5f097b7e
internal strbuf -> eina_strbuf
...
SVN revision: 45951
2010-02-06 21:43:12 +00:00
Sebastian Dransfeld
522a0ab1ab
Add eina_strbuf_append_escaped for edje
...
SVN revision: 45950
2010-02-06 21:43:02 +00:00
Sebastian Dransfeld
72fccca0eb
Add eina_str_escape
...
SVN revision: 45949
2010-02-06 21:42:51 +00:00
Sebastian Dransfeld
b7e2624123
internal strbuf -> eina_strbuf
...
SVN revision: 45948
2010-02-06 21:42:37 +00:00
Sebastian Dransfeld
da1b1ee801
Add shrink buffer code
...
SVN revision: 45946
2010-02-06 20:42:14 +00:00
Sebastian Dransfeld
f99d9ccf4b
Simpler to use _eina_strbuf_resize
...
Add space for '\0' in _eina_strbuf_resize, so that we alwyas just pass
inn the wanted string space as requirement.
Correct len in eina_strbuf_append_n, we needed +1 for '\0' for resize
and strlcpy, but not for ->len
SVN revision: 45945
2010-02-06 20:42:03 +00:00
Sebastian Dransfeld
26ddf06980
Switch internal strbuf to eina strbuf
...
SVN revision: 45944
2010-02-06 20:41:53 +00:00
Sebastian Dransfeld
4a1ac380b1
Add functions to match evas strbuf
...
SVN revision: 45943
2010-02-06 20:41:43 +00:00
Sebastian Dransfeld
ac60497dbf
EINA_ARG_NONNULL
...
SVN revision: 45942
2010-02-06 20:41:32 +00:00
Sebastian Dransfeld
99536f0736
Include own header to be sure prototypes match
...
SVN revision: 45941
2010-02-06 20:41:17 +00:00
Vincent Torri
c154976372
fix ecore_input shutdown
...
SVN revision: 45930
2010-02-06 10:13:41 +00:00
Carsten Haitzler
353f4bb6ec
reduce binds when things get clipped and split.
...
SVN revision: 45928
2010-02-06 08:38:26 +00:00
Gustavo Sverzut Barbieri
ff3c762ba5
support for explicit disable of ecore-x extensions and tslib.
...
Avoid automagic detecting extensions such as Xprint, Xdamage and
friends, as well as for tslib if ecore-fb is in use.
This should help build systems avoid linkage with those even if they
are present when Ecore is built.
SVN revision: 45918
2010-02-06 00:19:46 +00:00
Gustavo Lima Chaves
f61a15fba9
Group-level data edc blocks manipulation API for Edje_Edit.
...
SVN revision: 45903
2010-02-05 16:39:06 +00:00
Luis Felipe Strano Moraes
b08434f220
Bumping version of emotion.
...
SVN revision: 45886
2010-02-04 20:52:13 +00:00
Vincent Torri
bc32b64121
useless linker flag
...
SVN revision: 45884
2010-02-04 20:48:56 +00:00
Sebastian Dransfeld
cb4af1da03
Don't add already existing paths to theme
...
SVN revision: 45883
2010-02-04 20:02:56 +00:00
Sebastian Dransfeld
eea9a74ebb
Don't do unnecessary strcmp
...
SVN revision: 45882
2010-02-04 20:02:45 +00:00
Sebastian Dransfeld
291c525a42
Remove raster's stupid cache
...
And just disable cache limit on the already existing cache.
SVN revision: 45881
2010-02-04 20:02:33 +00:00
Tiago Rezende Campos Falcao
edc00590b6
Mime-Type for edje files
...
SVN revision: 45878
2010-02-04 17:47:33 +00:00
Tiago Rezende Campos Falcao
2ab186175e
Save font filename in eet. By Masaki
...
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 45869
2010-02-04 14:34:06 +00:00
Boris Faure
fc415b4776
fix ecore_con on posix systems
...
SVN revision: 45866
2010-02-04 10:34:08 +00:00
Sebastian Dransfeld
0423e1ea99
Formatting
...
SVN revision: 45865
2010-02-04 09:12:35 +00:00
Carsten Haitzler
82d51bffd7
changelog++
...
SVN revision: 45864
2010-02-04 09:11:09 +00:00
Carsten Haitzler
327dbc9a72
small fix for over-zealous limiting of draws - use clip regions instead.
...
SVN revision: 45861
2010-02-04 07:41:07 +00:00
Carsten Haitzler
c1c39a80d3
fix link stuff pkgconfg etc. for ecore-data!
...
SVN revision: 45859
2010-02-04 02:14:56 +00:00
Carsten Haitzler
ee251d0931
better linking - right c files tomatch headers etc.
...
SVN revision: 45858
2010-02-04 01:25:30 +00:00
Vincent Torri
75fcc4a51d
use efl_fnmatch m4 macro
...
SVN revision: 45854
2010-02-03 21:01:02 +00:00
Vincent Torri
c3915edab7
use efl_fnmatch m4 macro
...
SVN revision: 45853
2010-02-03 20:57:36 +00:00
Vincent Torri
519cb98847
use efl_fnmatch m4 macro
...
SVN revision: 45852
2010-02-03 20:47:48 +00:00
Vincent Torri
64f1c415e2
update efl_fnmatch m4 macro
...
SVN revision: 45851
2010-02-03 20:46:32 +00:00
Vincent Torri
88d43e8435
use efl_fnmatch macro
...
SVN revision: 45847
2010-02-03 20:13:56 +00:00
Cedric BAIL
58e14477d7
* ecore_evas_x: Fix build without X.
...
SVN revision: 45838
2010-02-03 16:05:25 +00:00
Carsten Haitzler
1dedddf95d
big speedups for scrolling and drawing big textblock (once they are
...
formatted) as it will skip (relatively quickly0 draws outside the canvas
viewport. this could become quicker with a fask line-skip table to specific
coordinates, but for now, it's a
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOT
better. like going from 1fps to 60fps+
SVN revision: 45836
2010-02-03 15:47:13 +00:00
Carsten Haitzler
75ea198b66
ints!!! have found a case where.. yes. we have massive strings.. and shit
...
fucks-up badly! ints it is... 2gb of string - per string. that should be
enouhg for anybody! (also references went up to int too)
SVN revision: 45832
2010-02-03 15:23:32 +00:00
Carsten Haitzler
c0baeaeb68
1. fix fcfini issue i hit - yes . things may look like they leak in valgrind
...
- they dont. in reality.
2. major text rendeering speedups. up to 41% in textblock intl, 33% in
textblock basic, 12-20$ in other text rendering tests. generic eina hash's
are just tooo slow for what we are doing there. specialised "Fash"
blocked-array.
3. still LOTS of optimisations left.
SVN revision: 45829
2010-02-03 11:18:00 +00:00
Carsten Haitzler
ee6abe9ca0
disable
...
SVN revision: 45828
2010-02-03 04:36:05 +00:00
Carsten Haitzler
b63900e442
aaaah. i smell another broken wm out there that only handles wm_delete as the
...
first wm_protocols property. BAD WM! (its not e17 - thats for sure)
SVN revision: 45827
2010-02-03 03:20:22 +00:00
Boris Faure
48f439ee46
improve edc.vim
...
SVN revision: 45825
2010-02-03 00:13:47 +00:00
Carsten Haitzler
0ee6420e42
move to eglwaitnative - still doesnt help tho:(
...
SVN revision: 45802
2010-02-02 11:50:49 +00:00
Carsten Haitzler
b8b4a2bc9c
wtf was that. of course it should be False!!!!
...
SVN revision: 45799
2010-02-02 09:06:14 +00:00
Carsten Haitzler
466fb263ac
clean up gl text-from-pixmap a bit
...
SVN revision: 45796
2010-02-02 07:00:10 +00:00
Vincent Torri
e373b2c376
* remove useless iconv_cflags
...
* put iconv_libs to the correct libtool var
SVN revision: 45794
2010-02-02 06:48:52 +00:00
Vincent Torri
b413db68cd
* fix configure.ac
...
* remove debug
SVN revision: 45793
2010-02-02 06:18:59 +00:00
Carsten Haitzler
2087f9468c
fix! broek egl compositing. fixed now.
...
SVN revision: 45792
2010-02-02 05:30:19 +00:00
Sebastian Dransfeld
743bc86799
Remove Ecore_Txt
...
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Sebastian Dransfeld
eb29a86306
copy ecore_txt_convert to eina_str_convert
...
SVN revision: 45790
2010-02-02 04:49:38 +00:00
Sebastian Dransfeld
503e847677
Install ecore-data.pc
...
SVN revision: 45783
2010-02-01 20:37:41 +00:00
Sebastian Dransfeld
75f4ccbbe5
More ecore_data to separate lib
...
SVN revision: 45782
2010-02-01 20:20:06 +00:00
Iván Briano
27eccf0332
When a clipper is no more, redraw the portion of the canvas it takes.
...
SVN revision: 45781
2010-02-01 19:50:01 +00:00
Vincent Torri
e2fe3d0f59
Fix init checks so that there is no more seg fault.
...
All that stuff should be cleaned, though.
SVN revision: 45780
2010-02-01 17:26:25 +00:00
Carsten Haitzler
921587e70b
more work on the sync stuff... looking good now.
...
SVN revision: 45772
2010-02-01 14:13:48 +00:00
xcomputerman
34d7cdb3fc
Fix broken build for non-GLES gl_sdl
...
SVN revision: 45763
2010-02-01 04:55:03 +00:00
Carsten Haitzler
37cd2fff83
make that an ifdef for gles
...
SVN revision: 45762
2010-02-01 04:40:48 +00:00
Carsten Haitzler
f35fa585c4
add 3 things
...
1. the concept of callbacks for a canvas as a whole. add/ del/ del_full these
2. focus in+out events for the canvas as a whole - can help solve some issues
with inoput methods + ecore-imf + entries (like edje_entry)
3. add callabcks to be called before/after flush of display.
SVN revision: 45761
2010-02-01 04:26:55 +00:00
Vincent Torri
b3a68cc3f7
edje_cc:
...
exit properly if eina_init() fails (like if
a mempool is not found), instead of a seg
fault.
SVN revision: 45759
2010-01-31 19:43:53 +00:00
Vincent Torri
36ef85219e
if someone pass --enable-default-mempool, pass_through will be used
...
in code, but not installed. So it that option is passed, chained_mempool
is disabled, and pass_through is enabled and linked statically
SVN revision: 45755
2010-01-31 14:52:16 +00:00
Vincent Torri
9b5ea1110b
eina_str:
...
* return Eina_Bool instead of int when necessary
* improve documentation
* formatting
SVN revision: 45753
2010-01-31 12:27:41 +00:00
Cedric BAIL
b7c8d2848a
* ecore_con: Fix ecore_con_client_ip_get with TCP and IPv6.
...
SVN revision: 45752
2010-01-31 11:58:37 +00:00
Carsten Haitzler
a022e49d82
more complete gl-texture-pixmap handling, but still is broken on fglrx. hmmm.
...
SVN revision: 45750
2010-01-31 02:50:01 +00:00
Sebastian Dransfeld
79b1c3728a
Ecore_Str.h -> Eina
...
SVN revision: 45748
2010-01-30 22:29:31 +00:00
Sebastian Dransfeld
001757e7bf
Remove uneeded header
...
SVN revision: 45744
2010-01-30 22:21:24 +00:00
Sebastian Dransfeld
d3419db6cd
Ecore_Str.h -> Eina
...
SVN revision: 45741
2010-01-30 22:13:16 +00:00
Sebastian Dransfeld
315c920f68
EAPI
...
SVN revision: 45739
2010-01-30 22:02:08 +00:00
Vincent Torri
367a8d9154
* remove useless pipe() test
...
* add missing files
SVN revision: 45737
2010-01-30 19:58:10 +00:00
Vincent Torri
65d13f2085
* src/lib/evil_fcntl.c:
...
verify that the data passed to fcntl() is really a socket
and fix ioctlsocket() returned value check.
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
add unit test for pipe().
SVN revision: 45736
2010-01-30 19:55:45 +00:00
dieb
8498d88bc6
Fix: ecore_x_window_del() was renamed to ecore_x_window_free() on r39918.
...
SVN revision: 45735
2010-01-30 17:47:59 +00:00
Carsten Haitzler
2af8f0e8b5
add some sync stuff.. wil be used soon
...
SVN revision: 45733
2010-01-30 10:42:22 +00:00
xcomputerman
164a8b8142
Add support for OpenGL SDL
...
SVN revision: 45732
2010-01-30 10:23:54 +00:00
xcomputerman
48f31c7cb0
Output GL info to stderr instead of stdout
...
SVN revision: 45731
2010-01-30 08:36:00 +00:00
xcomputerman
bf69a60f64
Fix gl_sdl for WebOS -- need to check SDL_RESIZABLE because calling SetVideoMode() kills the GL context
...
SVN revision: 45730
2010-01-30 08:11:51 +00:00
Carsten Haitzler
2b06b06b33
dnl--
...
SVN revision: 45728
2010-01-30 03:19:51 +00:00
Vincent Torri
e49ce78f00
* src/lib/Evil.h:
...
change again the redefinition of open(). Needed
for the gif loader. But the compilation with vc++
is certainly broken. Will be fixed later with a specific
case for vc++.
SVN revision: 45725
2010-01-30 00:28:11 +00:00
Vincent Torri
20d5a675db
* undef close() and open() in evas_module also for mingw
...
* init Evil in eina as it uses fcntl() with the winsock2 library
* fix compilation of evas_cache_image.c with mingw
* formatting
SVN revision: 45724
2010-01-30 00:09:29 +00:00
Vincent Torri
7a09cb73a6
* src/lib/evil_fcntl.c:
...
* src/lib/evil_fcntl.h:
fix fcntl() with F_SETFL command
SVN revision: 45723
2010-01-30 00:03:47 +00:00
Iván Briano
e3554033a7
Edje_Edit API break.
...
Change group_del() to receive the name of the group to be deleted, and
change the function to not delete a group currently loaded. This causes
problems at the time of deleting the Evas_Object.
Also changed a bit the save() function and added save_all(), which saves
every group loaded, not only the one set to the object. This is mainly so
at the time of deleting a group, we can save the whole file and thus avoid
it getting out of sync with references if a group is deleted and the file
not saved afterwards.
SVN revision: 45720
2010-01-29 20:44:34 +00:00
Carsten Haitzler
2b33ec0988
put in little vsync option and section. not turned on by anything yet.
...
SVN revision: 45708
2010-01-29 17:14:50 +00:00
Lars Munch
f71f8e0a41
This closes bug #507
...
If e17 is compiled with tslib but during runtime the environment variable
TSLIB_TSDEVICE is not set, ecore will accidentally use the file descriptor 0
(probably stdin) for tslib.
The problem is that _ecore_fb_ts_fd is initialized to 0, which is BAD BAD BAD
for file descriptors. It should be initialized to -1. The attached patch fixes
this.
Thanks to John Ogness <john.ogness@linutronix.de> for bug report and fix
SVN revision: 45703
2010-01-29 11:42:26 +00:00
Carsten Haitzler
78d08250c4
typo fix!
...
SVN revision: 45702
2010-01-29 11:06:32 +00:00
Carsten Haitzler
ef3b81b395
some safety with freeing texture stuff
...
SVN revision: 45701
2010-01-29 10:53:53 +00:00
Carsten Haitzler
5c41db66e2
actually have call api exported
...
SVN revision: 45700
2010-01-29 10:29:51 +00:00
Carsten Haitzler
61395ea4ad
say we do pings - and respond within the event handler.
...
SVN revision: 45699
2010-01-29 10:28:54 +00:00
Vincent Torri
29db27970c
* src/lib/evil_fcntl.c:
...
* src/lib/evil_fcntl.h:
* src/lib/evil_unistd.c:
make pipe() blocking by default and allow fcntl()
to set a socket to be non-blocking
* src/lib/evil_stdlib.c:
fix warning
SVN revision: 45698
2010-01-29 09:34:26 +00:00
Carsten Haitzler
0aec2b4dcd
oops - missed name.
...
SVN revision: 45697
2010-01-29 08:20:58 +00:00
Vincent Torri
0ffcae731c
formatting
...
SVN revision: 45696
2010-01-29 07:47:33 +00:00