Commit Graph

10685 Commits

Author SHA1 Message Date
Carsten Haitzler b45bf5e97e copy & paste fix
SVN revision: 51174
2010-08-16 09:00:43 +00:00
Cedric BAIL aa3728b3f5 * eina: preparing clean removal of eina threadsafe data type.
SVN revision: 51173
2010-08-16 09:00:42 +00:00
Carsten Haitzler b9d5ce8e20 copy & paste fix.
SVN revision: 51172
2010-08-16 08:59:52 +00:00
Carsten Haitzler e7667b11ad copy & paste fix.
SVN revision: 51171
2010-08-16 08:59:42 +00:00
Tom Hacohen 9ed2feb59e Evas textblock: Fixed a bug with getting text in range.
SVN revision: 51170
2010-08-16 08:52:18 +00:00
Carsten Haitzler 1a40634b0e embryo now ready
SVN revision: 51169
2010-08-16 08:41:15 +00:00
Tom Hacohen 5d3fc4a03e Evas textblock: Use the unicode object replacement char, not the regular replacement char.
Drop the object replacement char if passed as text.

SVN revision: 51168
2010-08-16 08:36:08 +00:00
Carsten Haitzler 2e7a81a9b0 well that went missing eh?
SVN revision: 51167
2010-08-16 08:36:06 +00:00
Tom Hacohen 0f184462d1 Evas textblock: Updated usage documentation.
SVN revision: 51166
2010-08-16 08:22:18 +00:00
Carsten Haitzler e286f48745 and now ecore is 1.0.0 ready too.
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Carsten Haitzler 8c562dc6f5 nicer list. need to check that over.
SVN revision: 51164
2010-08-16 08:12:46 +00:00
Carsten Haitzler 6f11d31651 missed an eet 1.4.0 min req.
SVN revision: 51163
2010-08-16 08:06:00 +00:00
Carsten Haitzler ffbe27b177 eina-1 -> eina
SVN revision: 51162
2010-08-16 08:04:47 +00:00
Carsten Haitzler 49ec220858 eina-1 -> eina
SVN revision: 51161
2010-08-16 08:03:40 +00:00
Carsten Haitzler aee8014df6 actually fix - eina.pc should now be used. consistency with the rest
of efl.



SVN revision: 51160
2010-08-16 08:03:21 +00:00
Carsten Haitzler f00427bdf1 eina req.
SVN revision: 51159
2010-08-16 07:33:59 +00:00
Carsten Haitzler 35447ef1d4 evas -> 1.0.0 alpha readied.
SVN revision: 51158
2010-08-16 06:58:07 +00:00
Carsten Haitzler 6bfc6527c2 module arch fix.
SVN revision: 51157
2010-08-16 06:46:03 +00:00
Carsten Haitzler f4b68549cb formatting. ok - maybe we can have a debate on it, but its better than
it was before. debate up for grabs for now. wont touch other lib
headers until resolved for eina. it's the worst anyway.



SVN revision: 51156
2010-08-16 06:14:19 +00:00
Carsten Haitzler f6b902d4be eet - clean out old data from doc dir, set up for 1.4.0 release,
bring install in line with eina and move content to readme. readied
for 1.4.0 alpha release.



SVN revision: 51155
2010-08-16 05:42:01 +00:00
Carsten Haitzler c747bfaadb well got to start somewhere. eina 1.0.0 alpha readied. need to go over
code formatting still (headers specifically). bring doc building
in-line with other efl libs. README is useful now. Changelog waiting
to be filled in for 1.0.0



SVN revision: 51154
2010-08-16 05:40:50 +00:00
Mike Blumenkrantz bba476aa91 char* -> const char*
Patch by Fabiano "I'm smoking crack" Fidêncio


SVN revision: 51152
2010-08-16 03:50:27 +00:00
Carsten Haitzler a7dd054fe4 remove cruft.
SVN revision: 51151
2010-08-16 03:34:47 +00:00
Carsten Haitzler 5187bf3585 fix up copyings likewise. nicely standardised templateish.
SVN revision: 51150
2010-08-16 03:00:16 +00:00
Carsten Haitzler 777261851c fix up license - does the same as before as license now has name of
lib it in.



SVN revision: 51149
2010-08-16 02:42:00 +00:00
Carsten Haitzler f0c2285096 fix copying - it didnt actually even claim copyright. fix.
SVN revision: 51147
2010-08-16 02:40:24 +00:00
Carsten Haitzler c657fd3904 and add to header too.
SVN revision: 51146
2010-08-16 02:04:46 +00:00
Carsten Haitzler 9b2549ecac again - using internal symbols and NOT exporting them! bad!
SVN revision: 51145
2010-08-16 02:04:01 +00:00
Carsten Haitzler fadfd000e9 fix up copying here too. other license info has always been
there - just not shuffled into standard copying. fix.



SVN revision: 51143
2010-08-15 22:07:29 +00:00
Carsten Haitzler acdbabcfc5 sync copying with other efl.
SVN revision: 51142
2010-08-15 21:57:22 +00:00
Carsten Haitzler 9f121bf63e copyright notice vanished - add back in.
SVN revision: 51141
2010-08-15 21:56:08 +00:00
Carsten Haitzler c354668e7b copyight notice vanished - add back in.
SVN revision: 51140
2010-08-15 21:55:53 +00:00
Carsten Haitzler 7cd2be96f3 add back in copyright notice - how did that ever go away?
SVN revision: 51139
2010-08-15 21:53:24 +00:00
Sebastian Dransfeld 2dc15f4d89 formatting
SVN revision: 51137
2010-08-15 19:54:19 +00:00
Sebastian Dransfeld b001a8968e Fix theme passed to efreet_icon_cache_add
Just pass NULL, no need for NULL theme

SVN revision: 51136
2010-08-15 19:54:08 +00:00
Cedric BAIL 1d1a36047b * edje: remove edje_convert use in edje_cc.
SVN revision: 51134
2010-08-15 18:14:33 +00:00
Tom Hacohen 25d7564726 Evas textblock: Fixed the bug with going up/down lines when the cursor points to an <item>.
With this fix I also fixed a couple of potential bugs with cursor geometry in places with mixed visible+invisible formatting.

SVN revision: 51133
2010-08-15 16:04:34 +00:00
Tom Hacohen 660a7b8ee4 Evas bidi: Added defines for bidi paragraph types (instead of using the fribidi defines).
SVN revision: 51131
2010-08-15 14:36:20 +00:00
Tom Hacohen b2b95df2be Evas: Removed deprecated 'lines' from Evas_Object_Textblock.
SVN revision: 51129
2010-08-15 09:10:15 +00:00
Tom Hacohen 063d8ffd64 Eina: Fixed usage of EINA_CONST, the lack of EINA_PURE and EINA_WARN_UNUSED_RESULT and formatting in the following headers:
1. eina_unicode.h
2. eina_strbuf.h eina_ustrbuf.h
3. eina_stringshare.h eina_ustringshare.h eina_binshare.h


SVN revision: 51128
2010-08-15 09:01:16 +00:00
Tom Hacohen 3686e9d295 Evas textblock: Remove an unused function.
SVN revision: 51127
2010-08-15 08:59:39 +00:00
Tom Hacohen 2c2a0cb928 Evas textblock: Free paragraphs as well as lines.
Fixes a small memory leak.

SVN revision: 51126
2010-08-15 08:17:21 +00:00
Joerg Sonnenberger 607e5d4b9b From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] [PATCH] efreet and icon loading

Hi all,
attached patch fixes two issues:

(1) If using a non-default prefix, share/pixmaps should be checked
before the hard-coded /usr/share/pixmaps fallback. This basically
restores symmetry with the other cases like share/icons.

(2) Do a fallback lookup if the theme is not valid or faked. This can
happen if only hicolor is installed and e17 decides to use Tango.
Before, e.g. gimp's icon wasn't picked up because the short cut was too
early.



SVN revision: 51124
2010-08-15 03:01:55 +00:00
Joerg Sonnenberger df0903779c From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] ecore's poll file manager

Hi all,
attached is a small bugfix for ecore. If the to-be-monitored path
doesn't exist, the poll monitor currently tries to remove an item from a
list which was never hooked up.



SVN revision: 51123
2010-08-15 02:59:32 +00:00
Cedric BAIL 2531cd8114 * ecore: fix cancel from another thread.
SVN revision: 51119
2010-08-14 16:15:09 +00:00
Mike Blumenkrantz ad00478247 fix threadsafe api
SVN revision: 51118
2010-08-14 16:10:19 +00:00
Cedric BAIL 3b269d6f04 * eina: don't direct people in the wrong direction.
SVN revision: 51117
2010-08-14 15:50:07 +00:00
Mike Blumenkrantz 77130795a9 fix compile
raster SPANK SPANK SPANK!!!


SVN revision: 51115
2010-08-14 14:36:40 +00:00
Mike McCormack 3bdbb34d64 From: Mike McCormack <mj.mccormack@samsung.com>
This patch implements the ecore main loop in terms of the GTK main loop, so
ecore is a layer on top of glib.

Compared the the current glib integration in ecore, this has the added
advantage of allowing use of EFL libraries in GTK.



SVN revision: 51113
2010-08-14 11:19:03 +00:00
Alexander Kerner f265715c32 From: Alexander Kerner <alexander.kerner@googlemail.com>
Attached is a small patch to fix eng_font_draw in software_8.



SVN revision: 51112
2010-08-14 11:17:35 +00:00
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