Carsten Haitzler
480666910a
re-enable. valgrind happy now. hrrrm.
...
/ /
(o) (o)
..
~-~\.
SVN revision: 51110
2010-08-14 10:28:57 +00:00
Leif Middelschulte
e7e09623ef
From: Leif Middelschulte <leif.middelschulte@gmail.com>
...
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.
SVN revision: 51109
2010-08-14 10:21:03 +00:00
Carsten Haitzler
966810eedb
ceeeeeeeeeeeeeeeeedric! :)
...
SVN revision: 51108
2010-08-14 04:03:33 +00:00
Carsten Haitzler
1325b20a81
sloppy ecore_job handle! fix!
...
SVN revision: 51107
2010-08-14 04:02:31 +00:00
Mike Blumenkrantz
689a24559c
add threadsafety for hashes
...
SVN revision: 51106
2010-08-14 03:05:35 +00:00
Mike Blumenkrantz
f973f8c72a
add #ifdefs for some threadsafety stuff
...
cedric SPANK SPANK SPANK!!!
SVN revision: 51105
2010-08-14 03:03:32 +00:00
Sebastian Dransfeld
91df89c40c
Fix typo
...
SVN revision: 51103
2010-08-13 22:48:59 +00:00
Iván Briano
f05fdb6085
Shuting up GCC warnings!
...
SVN revision: 51098
2010-08-13 20:40:27 +00:00
Iván Briano
9c3dabedc9
constifying (Edje_String)->str
...
SVN revision: 51097
2010-08-13 20:39:43 +00:00
Iván Briano
4d5915e787
Using edje_string_get in group's gen code
...
SVN revision: 51096
2010-08-13 20:38:57 +00:00
Iván Briano
8b2e29dc75
Use right key to find stuff in the eet file. By Fidencio
...
Store filename for the fonts when adding eith Edje_Edit. By Fidencio
Use the hash in edje_file to dump fonts with edje_decc, avoiding the
need for the fontmap, which should probably be taken out entirely later.
SVN revision: 51095
2010-08-13 20:07:12 +00:00
Cedric BAIL
ccc497b492
* eet: fix version and trigger the right alloc path.
...
SVN revision: 51093
2010-08-13 17:12:08 +00:00
Cedric BAIL
6ccc46d500
* edje: finally fix all this eet mess.
...
SVN revision: 51087
2010-08-13 16:35:45 +00:00
Cedric BAIL
f5e69dcc73
* edje: last fix due to edje eet breakage.
...
SVN revision: 51086
2010-08-13 16:21:38 +00:00
Cedric BAIL
9d4ff894f1
* edje: fix eet change.
...
SVN revision: 51085
2010-08-13 16:06:50 +00:00
Cedric BAIL
8a1a12333f
* eet: fix API break.
...
SVN revision: 51084
2010-08-13 15:53:59 +00:00
Eduardo de Barros Lima
4cc5441313
Ecore_Getopt: Fix attributions
...
Modern languages in general use the '=' character for attribution, while
',' character is for something else.
SVN revision: 51082
2010-08-13 15:34:25 +00:00
Cedric BAIL
4b3b130d17
* edje: fix eet api break.
...
SVN revision: 51081
2010-08-13 15:24:45 +00:00
Cedric BAIL
d0f668a6ba
* eet: fix bad allocation case triggered by edje new file format.
...
Bad news, I also discovered in the same time that we introduced an
API/ABI breakage in 1.3.0. This patch does prevent it from coming
again, sadly, it imply an ABI break that I didn't find a proper
way to work around. So recompile eet and all the program that use
it after that commit.
SVN revision: 51080
2010-08-13 15:21:52 +00:00
Iván Briano
02031b60bf
Remark that data being deleted from the hash will be mercilessly killed if a blackops free function was given to the hash on creation.
...
SVN revision: 51079
2010-08-13 14:34:36 +00:00
Lucas De Marchi
1c651049c5
Apply memset-calloc.cocci
...
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.
Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.
SVN revision: 51078
2010-08-13 12:53:08 +00:00
Carsten Haitzler
f7fab4ea6b
more comments
...
SVN revision: 51074
2010-08-13 11:23:07 +00:00
Carsten Haitzler
66795125ae
comments.
...
SVN revision: 51073
2010-08-13 11:13:45 +00:00
Carsten Haitzler
12beaa9f19
and make it work... yes. first time sec egl image works.
...
SVN revision: 51072
2010-08-13 11:08:57 +00:00
Carsten Haitzler
26911649be
oopsie. fix.
...
SVN revision: 51071
2010-08-13 10:39:41 +00:00
Carsten Haitzler
2d3ea36109
more work on egl image direct access.
...
SVN revision: 51070
2010-08-13 10:34:51 +00:00
Carsten Haitzler
550e1a7531
compiler wrong! fix!
...
SVN revision: 51068
2010-08-13 10:04:37 +00:00
Mike Blumenkrantz
c8f669a27f
more variable renames, null check alloc, malloc+memset0 -> calloc, rwlocks in structs
...
SVN revision: 51066
2010-08-13 06:58:43 +00:00
Mike Blumenkrantz
44eeac0e1e
BOW DOWN BEFORE ME, FOR I HAVE MADE THESE HEADERS READABLE ONCE MORE!
...
SVN revision: 51065
2010-08-13 06:36:33 +00:00
Mike Blumenkrantz
3618cf1227
rename variables and typedefs to sane values
...
SVN revision: 51064
2010-08-13 05:22:33 +00:00
Mike Blumenkrantz
bf66f6f712
go go gadget recrustify!
...
SVN revision: 51063
2010-08-13 01:46:14 +00:00
Tiago Rezende Campos Falcao
00c8c7e257
Fixing Macro
...
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 51055
2010-08-12 18:24:48 +00:00
Eduardo de Barros Lima
168b0a7ed4
ethumb: set micro version
...
SVN revision: 51054
2010-08-12 18:07:23 +00:00
Iván Briano
419268e4f8
Fix usage of data_set/get/etc in Edje_Edit
...
SVN revision: 51052
2010-08-12 17:49:28 +00:00
Cedric BAIL
74fe3f6247
* edje: only link edje_convert with eina and eet.
...
SVN revision: 51051
2010-08-12 16:32:12 +00:00
Tom Hacohen
2ecda40ecd
Evas textblock: Fixed cursor sizes in rare situations, for example the text from expedite textblock_basic test and point the 'c' in COLOR you would get a badly shaped cursor.
...
SVN revision: 51050
2010-08-12 15:49:43 +00:00
Cedric BAIL
1b77b770fc
* edje: fix segv when converting old theme with gradient.
...
SVN revision: 51049
2010-08-12 15:29:00 +00:00
Cedric BAIL
731e946df7
* eina: remove debug output.
...
SVN revision: 51048
2010-08-12 15:11:35 +00:00
Cedric BAIL
c1436aac91
* edje: fix memory leak.
...
SVN revision: 51046
2010-08-12 15:05:56 +00:00
Tom Hacohen
86adc683d0
Evas: Textblock fixed formating.
...
SVN revision: 51045
2010-08-12 15:04:47 +00:00
Tom Hacohen
5cc418c333
Evas: Textblock - Fixed a couple of segs/invalid memory access.
...
SVN revision: 51044
2010-08-12 14:59:42 +00:00
Cedric BAIL
348a4ef2fe
* eet: fix leak in eet.
...
SVN revision: 51043
2010-08-12 14:37:36 +00:00
Cedric BAIL
86a21376ad
* eina: report when and where memleak come from.
...
SVN revision: 51040
2010-08-12 14:22:22 +00:00
Tom Hacohen
d8fadf706b
Evas: Each paragraph has at least one layout item in order to mark it's existence.
...
SVN revision: 51039
2010-08-12 14:20:19 +00:00
Tom Hacohen
d2988fe707
Eina: "FIX" EINA_UNICODE_EMPTY_STRING.
...
SVN revision: 51038
2010-08-12 14:16:32 +00:00
Massimo Maiurana
5e6ec75865
updating portuguese translations
...
SVN revision: 51036
2010-08-12 13:19:47 +00:00
Cedric BAIL
2623367732
* edje: fix some memleak issue.
...
SVN revision: 51033
2010-08-12 12:58:54 +00:00
Tom Hacohen
3ec81c0b3e
Evas: textblock - made _format_fill faster.
...
SVN revision: 51032
2010-08-12 09:35:53 +00:00
Tom Hacohen
eda4539c2c
Evas: textblock - Made _format_param_parse sane and cleaner and fixed compilation warnings about unused functions.
...
SVN revision: 51031
2010-08-12 09:31:43 +00:00
Tom Hacohen
fd04d4c5d3
Evas: fixed textblock compiler warnings.
...
SVN revision: 51029
2010-08-12 07:02:30 +00:00
Carsten Haitzler
01b7216880
more glue/infra. glue evas api to engine together. gl engine gets stubs.
...
SVN revision: 51028
2010-08-12 06:11:13 +00:00
Carsten Haitzler
83f2ef6142
working on new gl engine feature. inactive right now.
...
SVN revision: 51027
2010-08-12 06:02:15 +00:00
Carsten Haitzler
2eb9af4c97
i->0
...
SVN revision: 51026
2010-08-11 23:12:03 +00:00
Lucas De Marchi
13d2d20efa
Remove comparisons to NULL
...
Rather than using "== NULL" or "!= NULL", use expression or !expression where
possible.
Patch automatically generated by coccinelle from badnull.cocci and
badnull2.cocci
SVN revision: 51023
2010-08-11 20:35:26 +00:00
Cedric BAIL
d4bf64d1c2
* edje: move code around.
...
SVN revision: 51016
2010-08-11 18:29:41 +00:00
Tiago Rezende Campos Falcao
186b6905ce
Changing return type of state_{add,del}. By Fidencio
...
Now, returning Eina_Bool instead of void, makes more sense.
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51005
2010-08-11 16:23:50 +00:00
Tiago Rezende Campos Falcao
128482520c
Little improvements in gen code. By Fidencio
...
Avoiding that "normal" field of image and "font" field of text can be wrote as
NULL by edc generate.
Moreover, avoiding that defaults values are wrote with the default edc values.
ie:
- transition: LINEAR 0.00 (in a program)
- size: 0 (in a text)
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51004
2010-08-11 16:23:48 +00:00
Tiago Rezende Campos Falcao
7d79afff1c
Updating fnt collection to according with new edje. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51003
2010-08-11 16:23:45 +00:00
Tiago Rezende Campos Falcao
1dd3fb5031
Updating img collection to according with new edje. By Fidencio.
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51002
2010-08-11 16:23:43 +00:00
Tiago Rezende Campos Falcao
acefc2a54c
Fixing bad indentation in glima's commit. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51001
2010-08-11 16:23:40 +00:00
Cedric BAIL
a6645cb746
* eina: fix eina array threadsafe version.
...
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
SVN revision: 51000
2010-08-11 14:32:30 +00:00
Iván Briano
b8b8381576
No need for path in font_directory, and use the right key to store/find them
...
SVN revision: 50999
2010-08-11 14:24:03 +00:00
Tom Hacohen
d408865797
Evas: textblock - fixed arabic shaping and fixed an issue with persistant paragraph direction (regarding RTL).
...
SVN revision: 50996
2010-08-11 13:03:24 +00:00
Tiago Rezende Campos Falcao
3de5ea12d5
Code generation for data block
...
SVN revision: 50995
2010-08-11 12:51:41 +00:00
Tiago Rezende Campos Falcao
8e66149870
Code generation for collections and parts
...
SVN revision: 50994
2010-08-11 12:51:39 +00:00
Tiago Rezende Campos Falcao
9a5446f29a
Fix list of part types
...
SVN revision: 50993
2010-08-11 12:51:36 +00:00
Tom Hacohen
af31abca35
Evas: Improved evas_textblock_cursor_range_text_get to return markup text instead of plain text.
...
SVN revision: 50992
2010-08-11 12:29:20 +00:00
Tom Hacohen
41ebc486dc
Evas: Textblock - Sanitized format init and shutdown.
...
SVN revision: 50991
2010-08-11 11:20:10 +00:00
Tom Hacohen
af1dc88234
Evas: Cursor updates is now done in one function and it's updated correctly everywhere.
...
SVN revision: 50990
2010-08-11 10:27:44 +00:00
Tom Hacohen
3f26549b17
Edje: Fixed going to the start of the line.
...
SVN revision: 50989
2010-08-11 09:40:21 +00:00
Tom Hacohen
62b8c6e43d
Evas: fix range text get in textblock.
...
SVN revision: 50988
2010-08-11 08:33:22 +00:00
Tom Hacohen
c3759fb4a2
Evas: Added align=auto format to textblock.
...
This is the default. This lets you make textblock (or parts affected by this tag) auto align according to the natural paragraph direction.
SVN revision: 50985
2010-08-11 07:46:37 +00:00
Tom Hacohen
3c7627035e
Evas: Added auto lines alignment to textblock. RTL lines will automatically align to the right and LTR lines to the left.
...
This is not done per line, but per paragraph so a line break will not force recalculation of auto-alignment, only a PS.
SVN revision: 50984
2010-08-11 07:23:48 +00:00
Carsten Haitzler
6308b452af
oooh that broke comp - hmm this bears some investigaing. remove eating
...
of show/hide events for ee's
SVN revision: 50982
2010-08-11 05:18:58 +00:00
Carsten Haitzler
18c41d2e78
work around a gl driver bug
...
export ECORE_EVAS_GL_FIRST_MAP_BUG=1
if you end up with blank empty windows when using evas gl engine in them
SVN revision: 50981
2010-08-11 05:12:22 +00:00
Iván Briano
5f6515790a
Properly store data values when changing them
...
SVN revision: 50976
2010-08-10 21:54:50 +00:00
Mike Blumenkrantz
0136fa4aed
fix dead assigns for clang shutups
...
SVN revision: 50974
2010-08-10 20:44:57 +00:00
Lucas De Marchi
6b5d5eab73
Do not compare pointers to 0
...
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Lucas De Marchi
9415f7c5c9
Choose a style for comment
...
Be nice with simpler regex
SVN revision: 50972
2010-08-10 19:12:07 +00:00
Tom Hacohen
5e227d8d32
Evas: Updated Evas_BiDi docs.
...
SVN revision: 50966
2010-08-10 15:12:05 +00:00
Tom Hacohen
2b762c0f3b
Evas: Update documentation of evas_object_textblock.
...
SVN revision: 50965
2010-08-10 14:36:48 +00:00
Tiago Rezende Campos Falcao
51d0738c97
Adding checkers to data and font lists get
...
SVN revision: 50964
2010-08-10 14:25:10 +00:00
Mike Blumenkrantz
7833796e00
right...this is malloc...
...
SVN revision: 50963
2010-08-10 12:25:34 +00:00
Mike Blumenkrantz
a7398f4e08
refcount locks to avoid deadlocks; array threadsafety should be good to go now
...
SVN revision: 50962
2010-08-10 12:14:59 +00:00
Mike Blumenkrantz
c09c5ed690
and these
...
SVN revision: 50961
2010-08-10 12:05:51 +00:00
Mike Blumenkrantz
a589a1bcbe
and this too
...
SVN revision: 50960
2010-08-10 12:00:36 +00:00
Mike Blumenkrantz
cbf7f7b58a
array threadsafing wip, get rid of dumb undefineds from earlier
...
SVN revision: 50959
2010-08-10 11:57:20 +00:00
Tom Hacohen
10a14f3994
Evas: Fixed a bug when erasing the last paragraph of a textblock.
...
SVN revision: 50958
2010-08-10 08:34:47 +00:00
Tom Hacohen
14932a769e
evas: Fixed compilation warnings in xrender_x11 engine.
...
SVN revision: 50957
2010-08-10 08:17:06 +00:00
Mike Blumenkrantz
5b4ec5bd35
change EINA_ARRAY_THREADSAFE_ITER_RETURN to EINA_ARRAY_THREADSAFE_ITER_ESCAPE to match forthcoming threadsafe list api
...
SVN revision: 50956
2010-08-10 07:48:00 +00:00
Tom Hacohen
f7e902d3e7
evas: Fixed compilation warnings in software_16 engine.
...
SVN revision: 50955
2010-08-10 07:40:09 +00:00
Tom Hacohen
7615995cc2
Evas: Fixed the compilation warning with sw8 engine. This is not just to beautify the compilation output (which is a good enough cause on it's own behalf), right shift with negative values is not defined in the standard which means everything can happen.
...
SVN revision: 50954
2010-08-10 07:36:23 +00:00
Tom Hacohen
f0a716f970
Edje: Fixed edje_object_part_text_cursor_content_get to handle non-english.
...
Thanks to Brian Wang for reporting.
SVN revision: 50953
2010-08-10 07:16:45 +00:00
Mike Blumenkrantz
6bc0a6cb14
errr use the right define for this
...
SVN revision: 50952
2010-08-10 03:37:21 +00:00
Mike Blumenkrantz
56a0bd9396
implement threadsafety for arrays, alter all eina internal array usage to (hopefully) be threadsafe
...
call eina_threads_init() to enable this if you have pthread rwlock support (posix 2001)
note some function prototypes have lost const on array params to allow locking
WARNING: you should NOT call eina_threads_shutdown unless you are positive that you will not use any arrays which were created while threadsafe mode were enabled, and vice versa. Failing to adhere to this warning WILL result in either deadlocks or memory leaks.
SVN revision: 50951
2010-08-10 03:26:15 +00:00
Carsten Haitzler
ccfd7f27fc
1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
...
2. gl - be stricter on gl-es texture formats.
SVN revision: 50950
2010-08-10 02:35:07 +00:00
Iván Briano
6d01819c7f
Check part types before casting descriptions
...
SVN revision: 50949
2010-08-09 23:09:24 +00:00
Gustavo Lima Chaves
ae5a95f108
Bad malloc here.
...
By Helen Mae.
SVN revision: 50947
2010-08-09 22:28:53 +00:00
Cedric BAIL
33af18dfd1
* edje: fix eapi declaration.
...
SVN revision: 50946
2010-08-09 22:21:36 +00:00
Carsten Haitzler
f0c303a5d7
bork cedric.. bork. accessing internal symbols/apis without exposing
...
them! you should check over this and probably provide a correct/formal
way to access them. for now EAPI quickly in.
SVN revision: 50945
2010-08-09 22:01:08 +00:00
Cedric BAIL
7d69e96bfe
* edje: use mempool for Edje_Part and Edje_Part_Description_*.
...
SVN revision: 50944
2010-08-09 21:08:08 +00:00
Cedric BAIL
5efed73f07
* efreet: fix some potential source of segv.
...
SVN revision: 50942
2010-08-09 19:31:18 +00:00
Cedric BAIL
be44b17206
* eeze: fix configure with other locale.
...
SVN revision: 50941
2010-08-09 19:28:16 +00:00
Cedric BAIL
ca93c6e5e4
* edje: fix version detection.
...
SVN revision: 50940
2010-08-09 18:31:25 +00:00
Cedric BAIL
f3894fdd27
* edje: add some error detection.
...
SVN revision: 50939
2010-08-09 18:22:48 +00:00
Cedric BAIL
415b06bf48
* edje: oops forgotten file.
...
SVN revision: 50937
2010-08-09 18:00:02 +00:00
Cedric BAIL
9ecc1354c6
* edje: new file format.
...
WARNING ! WARNING ! WARNING ! WARNING !
Old file format is not readable by edje directly. If you have old edje
file that you want to convert, use edje_convert. Their is no way back.
Recompile your file as soon as possible. Please report any issue you
spot as this is a huge and needed change.
SVN revision: 50936
2010-08-09 17:34:03 +00:00
Cedric BAIL
4ce36d937e
* eet: fix dead lock when using alias in eet file.
...
SVN revision: 50935
2010-08-09 17:21:10 +00:00
Tom Hacohen
632279c2f5
Evas: Fixed compilation without BiDi support.
...
SVN revision: 50934
2010-08-09 16:47:35 +00:00
Tom Hacohen
48180c9859
edje: Updated edje to conform with recent textblock changes.
...
'Return' now inserts a Paragraph Separator.
'Shift + Return' now inserts a New Line.
SVN revision: 50931
2010-08-09 16:25:45 +00:00
Tom Hacohen
d5e579c2e9
Evas: Redesigned the textblock object.
...
Sorry, but full documented code will be committed tomorrow, this commit is needed for the API stabilization.
Major changes in this commit:
1. Changed the textblock node system there is now a linked list for the format nodes and a linked list for the text nodes. Format and text nodes point to one anoter in a matter that will be explained in the source file (will be committed tomorrow). Each text node now represents a paragraph and each format node points to a specific location in a text node.
2. Text/Format nodes are now two distinct data types.
3. The concept of nodes is no longer exposed in the API except for the format nodes which are only slightly exposed just to enable users of the API to cycle all the formats in order to find stuff like anchors.
4. Every node has a PS (paragraph separator) format node pointing to it's end, except for the last one which has nothing. Nodes are only broken by PS's.
5. Changed the BiDi functions to work nicely with offsets in big chunks of text.
More is explained in the email with the subject 'Evas Textblock redesign + edje_entry adjustments' that will be sent tomorrow because of technical issues.
For full documentation about this object wait for the next commit.
SVN revision: 50930
2010-08-09 16:24:17 +00:00
Luis Felipe Strano Moraes
2c70f0e1c9
Ops, fixing break done by r50927 (forgot to include these two files).
...
SVN revision: 50928
2010-08-09 14:27:10 +00:00
Luis Felipe Strano Moraes
ccd543d75c
Correcting small typo in eeze's configure.ac checks.
...
SVN revision: 50927
2010-08-09 14:19:05 +00:00
Carsten Haitzler
ca29063b28
magic numbers. :)
...
SVN revision: 50924
2010-08-09 08:38:28 +00:00
Carsten Haitzler
a584de2a2c
useless repeats... remove.
...
SVN revision: 50923
2010-08-09 07:13:58 +00:00
Carsten Haitzler
1b57456706
fix yuv with gl pipe stuff.
...
SVN revision: 50920
2010-08-09 04:59:14 +00:00
Carsten Haitzler
65b6845759
allow for debug checking of # of flushes per frame. checking to see if
...
this all works
SVN revision: 50919
2010-08-09 04:54:05 +00:00
Carsten Haitzler
6320a8db84
make new pipes have an env var for tuning, remove old comment code,
...
fix up yuv and maps to use pipes too. yes lines just flush it all - so
be it. :) who uses lines anyway?
SVN revision: 50918
2010-08-09 04:42:15 +00:00
Carsten Haitzler
66cace4f44
some major re-jig to get multiple render pipes in gl at once... some
...
chunky speedups to be had in real-life cases by avoiding more array
flushes.
SVN revision: 50917
2010-08-09 03:27:59 +00:00
Mike Blumenkrantz
224f7d3b55
formatting
...
SVN revision: 50913
2010-08-08 20:49:26 +00:00
Mike Blumenkrantz
27041eb06e
fix automake quoting
...
SVN revision: 50912
2010-08-08 20:48:46 +00:00
Mike Blumenkrantz
84faaf51fd
add rwlock define to eina_config.h
...
SVN revision: 50911
2010-08-08 19:35:43 +00:00
Mike Blumenkrantz
76a70bdd48
split out spinlock detection to separate macro for readability, add rwlock detection macro
...
***no functional changes***
SVN revision: 50910
2010-08-08 19:20:07 +00:00
Tom Hacohen
ed0f5eb857
eina: fix strdup calloc, it's number of elements and then size, and not the other way around.
...
SVN revision: 50898
2010-08-08 12:03:18 +00:00
Carsten Haitzler
f3f7274796
shapeinput too
...
SVN revision: 50879
2010-08-07 01:32:07 +00:00
Carsten Haitzler
2692e43cf1
shape event gets info.
...
SVN revision: 50878
2010-08-07 01:27:25 +00:00
Gustavo Lima Chaves
e05e8b94e5
Safeguarding alloc-ed region againt trash.
...
This fixes external parts' state copies.
SVN revision: 50875
2010-08-06 22:03:32 +00:00
Gustavo Lima Chaves
8ea5943de6
Bad free() at state_copy().
...
By Fidêncio.
SVN revision: 50874
2010-08-06 21:21:16 +00:00
Gustavo Lima Chaves
bf4be4f0ec
More on fixing state copies at edje edit: do not overwrite state's name and value.
...
SVN revision: 50873
2010-08-06 21:18:58 +00:00
Gustavo Lima Chaves
4cc5508828
Switch case usage.
...
By Fidêncio.
SVN revision: 50872
2010-08-06 21:16:57 +00:00
Gustavo Lima Chaves
1fb4439d36
Macro undef-ing.
...
Patch by Fidêncio.
SVN revision: 50871
2010-08-06 21:15:29 +00:00
Jonathan Atton
6772fa343d
Edje: a signal can be sent in a item of a table.
...
SVN revision: 50870
2010-08-06 19:52:07 +00:00
Tiago Rezende Campos Falcao
5962065b2b
Fix part deletion in edje_edit with new edje data
...
SVN revision: 50869
2010-08-06 19:16:46 +00:00
Tiago Rezende Campos Falcao
a5f73d85c0
Decrement description counters in edje_collection_free_part_description_free
...
SVN revision: 50868
2010-08-06 19:16:43 +00:00
Cedric BAIL
6df15533ee
* eet: typo.
...
SVN revision: 50865
2010-08-06 15:40:16 +00:00
Cedric BAIL
78e3e21c04
* eet: add an helper to setup hash with string content.
...
SVN revision: 50863
2010-08-06 15:24:21 +00:00
Cedric BAIL
0df8a2e7a8
* edje: move code around.
...
SVN revision: 50858
2010-08-06 11:07:47 +00:00
Cedric BAIL
24332dd3eb
* edje: typo.
...
SVN revision: 50857
2010-08-06 08:59:51 +00:00
Carsten Haitzler
18f7411d9e
well well. i broke that. gles enignew builds again.
...
SVN revision: 50852
2010-08-06 04:37:06 +00:00
Gustavo Lima Chaves
aebc93ba81
Oopsies at program code @ edje_edit.
...
Patch by Thiago Masaki.
SVN revision: 50845
2010-08-05 22:08:55 +00:00
Lucas De Marchi
a42edc5cdc
Remove ecore_{init,shutdown} from tests
...
Now ecore_x properly calls ecore_start() and ecore_shutdown(), as it should
be, so no need to do it here.
SVN revision: 50837
2010-08-05 13:58:49 +00:00
Lucas De Marchi
bbc863fbe7
init/shutdown ecore in ecore_x_init
...
2 simple rules:
1) init what you use
2) shutdown what you init
SVN revision: 50836
2010-08-05 13:50:47 +00:00
Lucas De Marchi
4f12b27ec7
Fix return value
...
SVN revision: 50835
2010-08-05 13:48:43 +00:00
Cedric BAIL
476f09d29b
* eina: add some doc for one big mempool.
...
SVN revision: 50834
2010-08-05 12:52:30 +00:00
Cedric BAIL
e1d8b17d54
* eina: fix segv on NULL mempool.
...
SVN revision: 50833
2010-08-05 12:36:36 +00:00
Cedric BAIL
ec632e5788
* edje: fix edje image generation.
...
SVN revision: 50832
2010-08-05 10:00:16 +00:00
Cedric BAIL
05143be132
* eina: complete configure.ac with latest mempool.
...
SVN revision: 50831
2010-08-05 09:40:50 +00:00
Lucas De Marchi
9a89c799d7
Add missing ecore_{init,shutdown} to bell test
...
SVN revision: 50829
2010-08-05 02:25:50 +00:00
Lucas De Marchi
a470ed668c
Fix wrong usages of malloc, calloc and E_NEW
...
Patch by bad-alloc.cocci
SVN revision: 50828
2010-08-05 00:50:43 +00:00
Sebastian Dransfeld
03f82b7d73
Fix clearing of theme cache
...
SVN revision: 50825
2010-08-04 21:01:09 +00:00
Sebastian Dransfeld
9edfb9d456
Check NULL return
...
SVN revision: 50822
2010-08-04 19:15:53 +00:00
Sebastian Dransfeld
80c2d94afd
Check NULL return
...
SVN revision: 50821
2010-08-04 19:15:38 +00:00
Gustavo Sverzut Barbieri
0f80a2778c
unscrew what lucas screwed with his patch-fu
...
SVN revision: 50819
2010-08-04 18:33:24 +00:00
Sebastian Dransfeld
a737a1d044
Check for NULL return
...
SVN revision: 50818
2010-08-04 18:21:30 +00:00
Sebastian Dransfeld
7b5e166c85
Check NULL return
...
SVN revision: 50817
2010-08-04 18:21:20 +00:00
Lucas De Marchi
0a4617ae38
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Nicolas Aguirre
bd0d948867
uncrustify ecore directfb
...
SVN revision: 50815
2010-08-04 16:17:53 +00:00
Nicolas Aguirre
53380ff916
Use english messages for error log.
...
SVN revision: 50814
2010-08-04 16:12:12 +00:00
Cedric BAIL
c94ae93096
* edje: split programs type in different stack for later speed improvements.
...
SVN revision: 50810
2010-08-04 14:25:40 +00:00
Sebastian Dransfeld
7bf67b046b
key and value aren't const
...
SVN revision: 50809
2010-08-04 12:33:58 +00:00
Sebastian Dransfeld
0a3f53c3b1
Check for null return
...
SVN revision: 50808
2010-08-04 12:33:48 +00:00
Sebastian Dransfeld
2ccf1a156d
Remove fake_null try 2
...
SVN revision: 50807
2010-08-04 12:23:00 +00:00
Mike Blumenkrantz
a475971aaa
convert all function pointers to typedefs, add doxy stubs for typedefs.
...
note: I've chosen to consolidate typedefs where possible to simplify things
my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do
SVN revision: 50803
2010-08-04 02:55:20 +00:00
Gustavo Lima Chaves
457525aa7d
Fixing typo.
...
Patch by Fidêncio.
SVN revision: 50791
2010-08-03 22:22:31 +00:00
Gustavo Lima Chaves
50190aeb22
Fixing bad realloc usage.
...
By Fabiano Fidêncio.
SVN revision: 50790
2010-08-03 22:15:02 +00:00
Carsten Haitzler
1837b63b38
ummmm revert. crash crash crash.
...
SVN revision: 50789
2010-08-03 21:32:45 +00:00
Sebastian Dransfeld
eba0c34bf9
Remove unneeded fake_null theme
...
SVN revision: 50788
2010-08-03 20:46:56 +00:00
Sebastian Dransfeld
c623230e98
Remove unneeded eina_hash_del
...
We already checked that this value isn't in the hash.
SVN revision: 50787
2010-08-03 20:46:46 +00:00
Sebastian Dransfeld
b197b55abc
Check return NULL
...
SVN revision: 50786
2010-08-03 20:46:36 +00:00
Sebastian Dransfeld
beacf6f976
use EINA_LIST_FREE
...
SVN revision: 50785
2010-08-03 20:46:25 +00:00
Sebastian Dransfeld
08e9824c6e
check return value from NEW
...
SVN revision: 50784
2010-08-03 19:31:44 +00:00
Sebastian Dransfeld
99673bb0a8
fix malloc calls
...
check return value and remove unneeded sizeof(char)
SVN revision: 50783
2010-08-03 19:31:34 +00:00
Sebastian Dransfeld
1576311af3
alloc the right amount of mem
...
sizeof(char) is 1, and sizeof(char *) is wrong for strings
SVN revision: 50782
2010-08-03 19:31:24 +00:00
Sebastian Dransfeld
69d0626265
use alloca for in function mem
...
SVN revision: 50781
2010-08-03 19:31:14 +00:00
Sebastian Dransfeld
7f93656d7b
check return value from malloc
...
SVN revision: 50780
2010-08-03 19:31:04 +00:00
Sebastian Dransfeld
8554a0c23b
free data on realloc error
...
SVN revision: 50779
2010-08-03 19:30:53 +00:00
Gustavo Lima Chaves
da771758de
Wrong return value here.
...
SVN revision: 50778
2010-08-03 18:36:42 +00:00
titan
83c74eccb5
Cleanups
...
SVN revision: 50777
2010-08-03 17:59:55 +00:00
titan
bdb6e0f0ed
*Warning Breaks API so if you use eio, make the necessary changes* Make the changes k-s requested. Use Enums, Use shorter code, Change the format of the callbacks to be data first value last, etc..
...
SVN revision: 50771
2010-08-03 17:11:44 +00:00
Gustavo Lima Chaves
e378c6035d
Fixing wrong memory allocations.
...
SVN revision: 50769
2010-08-03 16:45:37 +00:00
Tiago Rezende Campos Falcao
87034f74ac
Call only once the eina_list_last(_edje_file_cache)
...
SVN revision: 50768
2010-08-03 14:27:47 +00:00
Cedric BAIL
74f7480e41
* edje: fix some issue during destruction of edje_part_description,
...
and move tweens to an array.
SVN revision: 50765
2010-08-03 12:58:31 +00:00
Massimiliano Calamelli
465a55b467
Leak-- using the macro
...
SVN revision: 50763
2010-08-03 11:44:55 +00:00
Carsten Haitzler
ee1b715780
support calls++
...
SVN revision: 50760
2010-08-03 09:02:27 +00:00
Carsten Haitzler
9275e5beb2
re-jig native surface stuff to share the same gl image between
...
multiple instances of the same pixmap.
SVN revision: 50758
2010-08-03 06:09:53 +00:00
Gustavo Sverzut Barbieri
3994aee4d8
let's stop smoking crack while coding :-P
...
dudes, WTF is that look to check for numbers, then use atoi()??? Use
strtol() and let it do both in one pass. Also, just do these for part
types that make sense. The loop using child could result in unused
variables in lots of cases, returning the wrong value when not found.
SVN revision: 50757
2010-08-02 23:35:30 +00:00
Sebastian Dransfeld
4b221c3936
Check return value for realloc
...
SVN revision: 50753
2010-08-02 20:43:09 +00:00
Mike Blumenkrantz
bec24bf71f
fix random value generator.
...
SPANK SPANK SPANK!!!
SVN revision: 50750
2010-08-02 19:36:37 +00:00
Christopher Michael
a7049f1f16
Rename 'same named' macros.
...
NB - Please use different macro names in the future for stuff like this
(ie: not the same macro name in each file) as it spits nasty compiler
warnings when compiling w/ amalgamation.
SVN revision: 50748
2010-08-02 19:06:07 +00:00
Mike Blumenkrantz
54a05dc2aa
re-reformat
...
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Mike Blumenkrantz
d07a90f62a
re-uncrustify
...
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Gustavo Lima Chaves
faa7644e22
Better documenting EINA_MAGIC_SET()'s use.
...
Patch by Jonas Gastal.
SVN revision: 50744
2010-08-02 16:57:38 +00:00
Cedric BAIL
1edd7e4ffa
* eet: fix bug on 32bits computer.
...
SVN revision: 50743
2010-08-02 14:30:46 +00:00
Cedric BAIL
1ba6b50042
* edje: fix counting.
...
SVN revision: 50742
2010-08-02 12:41:28 +00:00
Brett Nash
9da847b538
Fix eina_unicode_strncpy
...
SVN revision: 50741
2010-08-02 09:44:11 +00:00
Brett Nash
d3655ee501
Beef up the strncpy test
...
SVN revision: 50740
2010-08-02 09:44:06 +00:00
Brett Nash
7f83020567
Terminate the string after strcpy
...
SVN revision: 50739
2010-08-02 09:44:01 +00:00
Brett Nash
9e468e94e7
Update eina_unicode_strnlen
...
SVN revision: 50738
2010-08-02 09:43:57 +00:00
Brett Nash
4efb9d70af
Add ustr tests.
...
SVN revision: 50737
2010-08-02 09:43:51 +00:00
Carsten Haitzler
3b6c09d89b
allow max cutout rects to be tunable. and change3 default for gl?
...
SVN revision: 50736
2010-08-02 06:46:38 +00:00
Carsten Haitzler
50649552e3
dont sync if vsync not set...? (good?)
...
SVN revision: 50735
2010-08-02 06:44:23 +00:00
Jonathan Atton
6e1ada9850
Edje: now we can refer to the content of a external type
...
SVN revision: 50730
2010-08-01 17:27:31 +00:00
Sebastian Dransfeld
1c05469785
fix stupid align of *
...
SVN revision: 50721
2010-07-31 18:57:35 +00:00
Sebastian Dransfeld
5d1a9f4e0d
remove space after *
...
SVN revision: 50719
2010-07-31 18:54:54 +00:00
Christopher Michael
38aac01b6a
Buffer engine is desired/needed else livethumb previews do not work.
...
SVN revision: 50718
2010-07-31 18:50:51 +00:00
Christopher Michael
d061f6229c
Remove some unused variables/dead assignments.
...
Fix some formatting while I am here.
SVN revision: 50717
2010-07-31 17:06:55 +00:00
Christopher Michael
b115cdf6b5
Remove unused variable(s).
...
SVN revision: 50716
2010-07-31 16:57:09 +00:00
Christopher Michael
3328859a0e
Comment out dead assignment(s).
...
SVN revision: 50715
2010-07-31 07:13:21 +00:00
Christopher Michael
f1c4520420
Fix evas_module clean 'bug'. NB: Not really an issue as this code
...
isn't used currently, but may be in the future, so fix the minor
bugger now, just in case :)
SVN revision: 50714
2010-07-31 06:15:00 +00:00
Christopher Michael
ddf7f8d49f
Cleanup some clang reports.
...
SVN revision: 50713
2010-07-31 06:12:39 +00:00
Christopher Michael
4b24545c3c
Add missing break for case.
...
SVN revision: 50712
2010-07-31 05:48:51 +00:00
Christopher Michael
cf0961ebf3
Add missing break for case statement.
...
SVN revision: 50711
2010-07-31 05:46:16 +00:00
Christopher Michael
428d5c05ab
'cache' is unused here.
...
SVN revision: 50710
2010-07-31 05:44:15 +00:00
Mike Blumenkrantz
5c670876c0
verify that fopen succeeded
...
SVN revision: 50709
2010-07-31 05:24:47 +00:00
Brett Nash
1e8074954f
Fix end points
...
SVN revision: 50708
2010-07-31 05:24:45 +00:00
Mike Blumenkrantz
2174b972fc
new can of grandma's LEEK B GON
...
SVN revision: 50707
2010-07-31 05:17:56 +00:00
Mike Blumenkrantz
056cfca56f
const
...
SVN revision: 50706
2010-07-31 05:10:44 +00:00
Mike Blumenkrantz
31743ae6de
comment out unused variables
...
SVN revision: 50705
2010-07-31 05:01:54 +00:00
Mike Blumenkrantz
bb0b72558f
add lengthy comment to document an obvious bug that someone who knows the code should fix
...
FIX THIS!!!!!!!!!!!!!
SVN revision: 50704
2010-07-31 05:01:34 +00:00
Mike Blumenkrantz
f33f0139a6
move a couple variables into loops, reformat slightly to make obvious a redundant variable set
...
SVN revision: 50703
2010-07-31 05:00:42 +00:00
Mike Blumenkrantz
40a5ee431a
another case without a break
...
SVN revision: 50702
2010-07-31 04:58:32 +00:00
Mike Blumenkrantz
ae3e0ce5c5
comment a couple unused lines and add a break to a case instead of falling through to autoreturn NULL
...
SVN revision: 50701
2010-07-31 04:28:27 +00:00
Brett Nash
db89ba43d7
eina: Actually implement strnlen for eina_unicode.
...
SVN revision: 50700
2010-07-31 03:54:09 +00:00
Mike Blumenkrantz
e48c3cdc31
forgot to commit this earlier
...
SVN revision: 50699
2010-07-31 03:21:55 +00:00
Carsten Haitzler
f7019f134d
formatting. <- uncrustify
...
SVN revision: 50698
2010-07-31 01:54:48 +00:00
Christopher Michael
55d0190185
Don't use the same macro name in each file, gives nasty compiler warnings when
...
using amalgamation.
SVN revision: 50696
2010-07-31 01:21:30 +00:00
Mike Blumenkrantz
d409884148
incomplete doxy!
...
cedric SPANK SPANK SPANK!!!
SVN revision: 50694
2010-07-30 21:18:40 +00:00
Mike Blumenkrantz
122ec75b01
return void* for data functions; depend on user not to be stupid (hahahahahah)
...
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?
SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz
81644c5029
some long overdue updates:
...
switch some variables to enum for debugging readability
doxy updates
some small leak fixes
SVN revision: 50690
2010-07-30 18:19:04 +00:00
Mike Blumenkrantz
5d52fce3f6
rrrrrrrrrrrrrr stupid enum!
...
SVN revision: 50689
2010-07-30 17:03:34 +00:00
Mike Blumenkrantz
8c946dff90
grrrrr this enum is really starting to piss me off
...
SVN revision: 50688
2010-07-30 15:57:19 +00:00
Mike Blumenkrantz
d25cc594f9
remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
...
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Lucas De Marchi
8989ca1261
Spell: rememebr => remember
...
SVN revision: 50686
2010-07-30 11:34:08 +00:00
Cedric BAIL
c897468e7e
* edje: more unitialized case handled.
...
SVN revision: 50685
2010-07-30 09:53:20 +00:00
Cedric BAIL
29893ac71c
* edje: fix rename of a part.
...
SVN revision: 50684
2010-07-30 09:08:37 +00:00
Cedric BAIL
c9d5d8a62e
* eina: add a way to move a key to another without triggering the Free_Cb.
...
SVN revision: 50683
2010-07-30 09:06:58 +00:00
Mike Blumenkrantz
7c45637e38
add data freeing support to ecore thread data api
...
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
SVN revision: 50682
2010-07-30 08:52:18 +00:00
Cedric BAIL
50eb17c966
* edje: fix counting.
...
SVN revision: 50681
2010-07-30 08:29:13 +00:00
Cedric BAIL
85be5e4201
* eina: try to fix memory align on sparc.
...
SVN revision: 50680
2010-07-30 08:26:34 +00:00
Mike Blumenkrantz
bc39497059
ssl cert cleanups: round 3
...
fix bitmask detection and refcount more correctly
SVN revision: 50679
2010-07-30 06:47:59 +00:00
Brett Nash
68b8380d51
Two fixes: Use the correct string for the stringshare and
...
if gl is on, but metric is compiled out, just bail out of all word/metric
cache
SVN revision: 50678
2010-07-30 04:53:30 +00:00
Brett Nash
618f5cdf34
Use strnlen... NFI if this works yet.
...
SVN revision: 50677
2010-07-30 03:51:48 +00:00
Brett Nash
4414556323
Unicde strnlen, and a slight fix to the header so at least part can be read by
...
humans.
Also strlen/strnlen are pure.
SVN revision: 50676
2010-07-30 03:39:12 +00:00
Brett Nash
ec7e390bdf
Fix word/metric cache to use strlen
...
SVN revision: 50675
2010-07-30 03:20:40 +00:00
Brett Nash
7403813b4b
Fix the compile error: Doesn't fix massive performance regression or rather
...
obvious semantic change in the code.
ie: If you are changing code:
Read the comment on the LINE ABOVE the code you are changing.
SVN revision: 50674
2010-07-30 03:04:43 +00:00
Carsten Haitzler
ffc048d5e4
doc++
...
SVN revision: 50673
2010-07-30 02:57:39 +00:00
Carsten Haitzler
0caf090e66
close after fdh del
...
SVN revision: 50671
2010-07-30 02:53:46 +00:00
Carsten Haitzler
6dd1042033
fix close before fd handler del's
...
SVN revision: 50670
2010-07-30 02:50:50 +00:00
Carsten Haitzler
bdce85e21c
del x fd handler before close.
...
SVN revision: 50669
2010-07-30 02:44:43 +00:00
Carsten Haitzler
24bf638323
clean up epoll stuff a little bit. 32 events now.
...
SVN revision: 50668
2010-07-30 02:42:47 +00:00