Carsten Haitzler
e84a969a69
fix string len problem
...
SVN revision: 35305
2008-08-02 01:33:39 +00:00
Davide Andreoli
e87f1f0aca
* work in progress for generate edc. thanks to dieb
...
SVN revision: 35261
2008-07-30 22:41:04 +00:00
Davide Andreoli
cc645d82fe
* create gradient using "use_rel = 1"
...
* remove some debug
* fix some returns
SVN revision: 35116
2008-07-15 01:03:24 +00:00
Davide Andreoli
04249c53e6
* withspaces and similar
...
SVN revision: 35097
2008-07-13 14:29:18 +00:00
Davide Andreoli
092f491d09
* remove spectra_id functions in favor of standard 'get/set-by-name' functions
...
SVN revision: 35096
2008-07-13 14:18:17 +00:00
Davide Andreoli
464c92eece
* fix compiler warnings
...
SVN revision: 35095
2008-07-13 13:55:43 +00:00
Davide Andreoli
a8a954e525
* Added spectra API
...
* Added gradient API
* Added fill API
* Some small doxy fix
SVN revision: 35075
2008-07-12 12:48:35 +00:00
Davide Andreoli
0dbaf98253
* Add a link to the edje_edit API
...
SVN revision: 35074
2008-07-12 12:11:38 +00:00
Davide Andreoli
c2f8f05b7b
fix typo in doxy
...
SVN revision: 34996
2008-07-02 20:13:31 +00:00
doursse
074765d3aa
open files in binary mode, to fix problems on Windows. Fix a constness
...
SVN revision: 34931
2008-06-28 09:11:48 +00:00
Gustavo Sverzut Barbieri
0db98a4d3f
We need to force signed chars when we need the signal.
...
The type "char" is not defined to have a sign or not, for performance
issue some platforms (ie: ARM) define it as unsigned. If we need to
rely on the sign, must say so.
SVN revision: 34924
2008-06-27 03:14:57 +00:00
Sebastian Dransfeld
4a54010498
Remove unused variable.
...
SVN revision: 34867
2008-06-19 12:47:04 +00:00
Sebastian Dransfeld
95693f1a1c
Add return values.
...
SVN revision: 34866
2008-06-19 12:46:04 +00:00
Sebastian Dransfeld
b55c00e17f
Fix compiler warnings.
...
SVN revision: 34865
2008-06-19 12:39:58 +00:00
Davide Andreoli
d0d0eee429
Initial work for writing edc source code
...
SVN revision: 34820
2008-06-14 01:13:16 +00:00
doursse
c5623c01b3
reorganize header files inclusion. Fix some problems when compiling on Windows
...
SVN revision: 34768
2008-06-07 10:06:14 +00:00
doursse
e02cf13308
ecore-evas is needed only for the binaries
...
SVN revision: 34764
2008-06-07 08:03:52 +00:00
doursse
0cdcab6a5c
forget to remove 2 calls
...
SVN revision: 34762
2008-06-06 18:52:19 +00:00
doursse
82fee3d58c
evilize edje. Link against ecore_file only when needed. PATH_MAX and not MAX_PATH. Minor other fixes.
...
SVN revision: 34761
2008-06-06 18:31:49 +00:00
doursse
653692fa28
fix autotools stuff for Windows
...
SVN revision: 34712
2008-05-31 06:15:41 +00:00
Carsten Haitzler
850cae173c
doing some work on a test script object and actually making it work.
...
SVN revision: 34703
2008-05-30 15:29:39 +00:00
Carsten Haitzler
1c7b215135
printf--
...
SVN revision: 34702
2008-05-30 14:27:56 +00:00
Carsten Haitzler
15cd1238db
start some serious work on script_only edje objects - for efficiency sake i'm
...
having an almost parallel codepath for script_only objects - they dont get to
use the older edje api calls for part defined objects. they will have a new
set of calls specifically for them. it's partly done - very little available
now, but will expand. lots of fixme's.
SVN revision: 34699
2008-05-30 11:20:49 +00:00
doursse
0fe68f24fc
* move the declaration of variables at the begnning of the blocks
...
* minor formatting
SVN revision: 34695
2008-05-30 08:00:25 +00:00
Carsten Haitzler
43821d36e4
* add efreet garbage data check
...
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now
SVN revision: 34689
2008-05-29 02:00:04 +00:00
Carsten Haitzler
0d624dcb94
lars get button mask call for edje embryo added
...
SVN revision: 34611
2008-05-19 04:38:40 +00:00
Carsten Haitzler
e92406d330
patch from rafael to hook in funcs to embryo
...
SVN revision: 34603
2008-05-19 02:50:38 +00:00
Carsten Haitzler
6982d7fb37
pass make distcheck and a snapshot asparagus release - been a while
...
SVN revision: 34600
2008-05-19 00:07:12 +00:00
Carsten Haitzler
14e2187305
get rid of 0 byte alloc
...
SVN revision: 34440
2008-05-03 05:33:26 +00:00
kaethorn
ace1e213d7
Merge with Debian files from PkgE.
...
SVN revision: 34393
2008-04-28 15:09:40 +00:00
Carsten Haitzler
dde62f1882
add another constraint-aware min calc
...
SVN revision: 34297
2008-04-17 10:22:57 +00:00
Carsten Haitzler
6dd6b76c0a
fix valgrind warning in match code
...
SVN revision: 34284
2008-04-17 01:13:48 +00:00
Carsten Haitzler
661971e309
remove old pc.in
...
SVN revision: 34262
2008-04-13 12:39:14 +00:00
Carsten Haitzler
0afa61a56a
santiago's embryo swallow patchs.
...
SVN revision: 34249
2008-04-11 23:36:35 +00:00
Carsten Haitzler
0e4c0eb8ec
cedric small speedups patches for edje back in - minus the ones that break
...
things. (0004).
SVN revision: 34234
2008-04-10 08:58:19 +00:00
Carsten Haitzler
4d54b4aaa6
adriano';s edje text fit patch
...
SVN revision: 34206
2008-04-06 02:08:21 +00:00
Caio Marcelo de Oliveira Filho
f674fc975b
Fix mouse_in/out flag checking.
...
If we have event_flags and they match any bit in ignore_flags, return.
SVN revision: 34185
2008-04-04 00:07:07 +00:00
Carsten Haitzler
ff6fb2e3bf
actually. these patches broke illume! aaak! revert.!
...
SVN revision: 34180
2008-04-03 19:27:53 +00:00
Carsten Haitzler
a11b5c4769
deps lists/ debugging too...
...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler
13809fe5bd
oops fix logic. done.
...
SVN revision: 34175
2008-04-03 18:22:22 +00:00
Carsten Haitzler
48deca9592
1. cedrics patches for speedups. they breka nothing.
...
2. fix mouse in/out and other event flags stuff again.
SVN revision: 34174
2008-04-03 18:18:36 +00:00
Caio Marcelo de Oliveira Filho
2e568d779f
edje-mode.el: add ignore_flags and a small fix.
...
SVN revision: 34171
2008-04-02 01:50:09 +00:00
Caio Marcelo de Oliveira Filho
ea56c61eba
Edje: adding support for ignore_flags.
...
Parts can choose to ignore Events with certain flags in event_flags. The default value is
to accept all events. The syntax for this is specifying in the part:
ignore_flags: ON_HOLD;
I've tried to update Edje_Edit bits also.
SVN revision: 34170
2008-04-01 21:33:17 +00:00
Caio Marcelo de Oliveira Filho
a43c7ca786
Edje: missing va_ends.
...
SVN revision: 34169
2008-04-01 21:30:54 +00:00
Caio Marcelo de Oliveira Filho
20df0987d1
Edje: support for parsing flag-style values (and combinantions of them) in edje_cc.
...
For example:
field: FLAG_A FLAG_B FLAG_C; // at least one flag is needed
And we can assign a bit for each FLAG_*, the result would be the OR between all of them.
Refactored a bit of parse_enum to re-use code there.
SVN revision: 34168
2008-04-01 21:28:28 +00:00
Carsten Haitzler
368f148fef
use hold event and emit hold,on and hold,off
...
SVN revision: 34161
2008-03-31 21:38:51 +00:00
Andres Blanc
e515418737
included missing parts of the reference
...
SVN revision: 34145
2008-03-29 16:13:57 +00:00
doursse
8e386e3f73
remove trailing spaces
...
SVN revision: 34101
2008-03-24 08:22:01 +00:00
doursse
ede49fdfb0
include correctly alloca.h and use ecore_file_mkpath instead of the local implementation
...
SVN revision: 34100
2008-03-24 08:09:06 +00:00
Andres Blanc
a7f4024a29
I wasted quite some time thanks for ignoring this detail.
...
SVN revision: 34029
2008-03-15 00:51:45 +00:00
Sebastian Dransfeld
56b68a7ba4
formatting
...
SVN revision: 34016
2008-03-13 19:08:14 +00:00
Sebastian Dransfeld
3340fba2fb
formatting
...
SVN revision: 34015
2008-03-13 19:01:53 +00:00
Sebastian Dransfeld
1ca9a3d4a5
Fix compiler warnings
...
SVN revision: 34013
2008-03-13 16:01:35 +00:00
Sebastian Dransfeld
00065fd407
Add const
...
SVN revision: 34011
2008-03-13 06:38:16 +00:00
Carsten Haitzler
f08234a968
improve build includes.
...
SVN revision: 33997
2008-03-12 16:32:35 +00:00
Sebastian Dransfeld
9c2e6dcd43
formatting
...
SVN revision: 33991
2008-03-12 09:48:04 +00:00
Davide Andreoli
f9e5ad5282
* fixed strings free
...
SVN revision: 33961
2008-03-08 23:11:32 +00:00
Davide Andreoli
fad0d39cdc
Add the 2 missing files
...
SVN revision: 33947
2008-03-06 19:48:11 +00:00
Carsten Haitzler
b65d63440f
add cedrics dict check patch
...
SVN revision: 33946
2008-03-06 17:52:59 +00:00
Gustavo Sverzut Barbieri
c623cbc753
Add missing escape of textblock style font.
...
SVN revision: 33907
2008-03-03 16:10:22 +00:00
Carsten Haitzler
68a7734f67
disable compression for now on sources - this breaks edje_decc.
...
we need to resolve the bug where u can't read compressed sources anymore... :/
SVN revision: 33895
2008-03-02 05:39:51 +00:00
Carsten Haitzler
8a3e188813
leak--
...
SVN revision: 33893
2008-03-02 02:47:36 +00:00
Carsten Haitzler
7564343804
fix segv - cant access file after its been freed...
...
SVN revision: 33892
2008-03-02 02:34:23 +00:00
Carsten Haitzler
e076a78519
cedric's eet and edje patches to use eet dictionaries for strings.
...
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Carsten Haitzler
c3ec60a6c9
stop allowing self-feeding forever loops by adding jobs forever.
...
SVN revision: 33871
2008-03-01 04:59:38 +00:00
Gustavo Sverzut Barbieri
08bfdacdee
Bugfix and refactor get of font based on text_class.
...
Edje tries to copy original style to font provided by text_class if
this have no style.
However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.
The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.
Refactory was done to make code simpler and also avoid having it
copied 3 times.
SVN revision: 33869
2008-02-29 21:43:55 +00:00
Gustavo Sverzut Barbieri
da7eabb809
Just update dragable parameters if part is dragable.
...
SVN revision: 33867
2008-02-29 03:39:31 +00:00
Gustavo Sverzut Barbieri
621d8f73af
Optimize interpolation.
...
Check if values actually differ before interpolating them, this will
avoid useless math for (x1 - (x1 - x2) * p) when x1 and x2 are equal.
Also don't interpolate values that doesn't make sense to the part,
like color2 and color3 for non-text.
TODO: Refactor edje part description into more object-oriented
fashion, with a struct with just the common parts followed by an union
of structs for special objects, these would contain specific bits for
each part type. This would save us a bit of memory and then we can
more easily refactor code isolating common and specific parts, making
code smaller and easier to handle.
SVN revision: 33861
2008-02-27 19:03:19 +00:00
Gustavo Sverzut Barbieri
b5d880093f
Avoid using anonymous for often used structs.
...
My last patch fixed the compile problem, but really, we should use the
same struct for things that look/work the same, like rectangle,
position, etc.
This new patch brings that change back and add some named structs
(also typedef'ed so it conforms to E naming schema).
This commit just changes the header and adds an example of
benefit. Later I'll provide a more intrusive patch that reorganize
structures to make even better use of this.
SVN revision: 33860
2008-02-27 16:03:23 +00:00
Gustavo Sverzut Barbieri
09148d57c4
Fix my introduced bug in cedric's patch.
...
SVN revision: 33859
2008-02-27 15:21:16 +00:00
Gustavo Sverzut Barbieri
0d9ff479d2
Avoid useless huge implicit memcpy.
...
The "simple" block:
p3 = p1;
was doing an implicity memcpy() responsible for about 1% of processing
time when no animation happens.
Patch by Cedric BAIL.
SVN revision: 33858
2008-02-27 14:27:10 +00:00
Gustavo Sverzut Barbieri
9abfa8f70a
Cleanup of last patches and revert my patching mistakes.
...
Last 2 patches were swapped, I applied them in the wrong order and
missed the rejections, my bad.
I fixed it and also did some cleanup, looks better now.
SVN revision: 33855
2008-02-26 20:12:00 +00:00
Gustavo Sverzut Barbieri
c48465c86a
Fix a memory leak on edje destruction.
...
Patch by Cedric BAIL.
SVN revision: 33854
2008-02-26 19:06:33 +00:00
Gustavo Sverzut Barbieri
30b26c0937
Cleanup for possible memory leak.
...
Patch by Cedric BAIL.
SVN revision: 33853
2008-02-26 18:41:44 +00:00
Gustavo Sverzut Barbieri
833e075b9a
Delay patterns destruction until patterns is not used anymore.
...
Patch by Cedric BAIL.
SVN revision: 33850
2008-02-26 17:56:51 +00:00
Christopher Michael
a77a6eb18c
Fix evas_hash_foreach functions for recent evas changes.
...
Fix some formatting issues.
SVN revision: 33809
2008-02-22 10:42:50 +00:00
Gustavo Sverzut Barbieri
435dfe2a2a
Reduce memory allocation for edje match.
...
Just allocate and build the match automate for callbacks and programs
only when required. On load for programs and when callbacks list has
been updated.
Patch by Cedric BAIL. (with minor fixes to use TABS where context was using)
SVN revision: 33804
2008-02-21 18:48:36 +00:00
Gustavo Sverzut Barbieri
e618b1d188
Cleanup edje calc and fixes textblock "visible" use.
...
Patch by Cedric BAIL, with minor formating/style fixes.
SVN revision: 33803
2008-02-21 18:35:27 +00:00
Horms
8c554f1977
edje: include autogen.sh in distribution tar ball
...
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.
SVN revision: 33782
2008-02-18 07:48:41 +00:00
Horms
5ac42d953d
Add build-dependancy on pkg-config
...
As aclocal may be called via autogen.sh during the Debian build process
add an explicit build dependancy on pkg-config which includes
/usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_MODULES macro.
SVN revision: 33781
2008-02-18 07:44:11 +00:00
Christopher Michael
6fd085f0aa
Fix formatting ugliness.
...
Add 'const' to evas_hash_foreach functions as per recent Evas changes.
SVN revision: 33748
2008-02-15 19:30:12 +00:00
Carsten Haitzler
92e084f9ca
asparagus! also pass distcheck and have common autofoo init that is
...
consistent for package, version etc.
SVN revision: 33602
2008-01-25 03:35:49 +00:00
kaethorn
b83098328e
remove duplicate line.
...
SVN revision: 33588
2008-01-24 20:55:30 +00:00
Carsten Haitzler
033737bdd9
edje data file patches in - not fill though.
...
SVN revision: 33543
2008-01-21 01:03:04 +00:00
Carsten Haitzler
540db93949
textblock max size option in
...
SVN revision: 33528
2008-01-19 01:00:14 +00:00
Sebastian Dransfeld
ebe93744cf
formatting
...
SVN revision: 33527
2008-01-19 00:24:53 +00:00
Gustavo Sverzut Barbieri
533be6581f
Escape font name before writing it to fixed buffer.
...
Font names can contain spaces, either in the file name and the
fontconfig, so do the escape and keep words linked.
Now it's possible to have things like:
font=Vera\\ Sans:style=Bold
and it will work. (note double \\ is required)
SVN revision: 33526
2008-01-18 20:51:03 +00:00
Carsten Haitzler
4fce4a3981
remvoe fnmatch checks
...
SVN revision: 33516
2008-01-18 06:38:46 +00:00
Carsten Haitzler
fff9c738a2
did some tests - this seems to be faster and seems to match correctly in some
...
test cases i brewed up. doesnt seem to break e so far and thats a fairly
comprehensive test.
SVN revision: 33515
2008-01-18 06:34:04 +00:00
doursse
33d11c8035
fix typo in symlink (win32)
...
SVN revision: 33469
2008-01-13 09:09:42 +00:00
Davide Andreoli
06ef0d738c
Update doxy style
...
SVN revision: 33033
2007-12-06 23:42:38 +00:00
Carsten Haitzler
0ceaf246a2
terminate strings properly?
...
SVN revision: 32900
2007-11-27 10:50:35 +00:00
doursse
5b257881d7
update win32 port : use correct temp dir value and correct open function according to the compiler
...
SVN revision: 32882
2007-11-25 16:22:58 +00:00
Sebastian Dransfeld
bc6caea1f9
Edje reference patch two (from dresb)
...
SVN revision: 32849
2007-11-23 16:43:03 +00:00
Sebastian Dransfeld
a71e255ede
Edje reference patch one (from dresb)
...
SVN revision: 32848
2007-11-23 16:40:38 +00:00
Gustavo Sverzut Barbieri
ee259f860f
Edje mode improvements
...
* Now can be compiled with "compile" function.
* Fixed insertion of part description internals alone.
* Add program and its internals, with key bindings.
SVN revision: 32540
2007-11-10 15:52:20 +00:00
Gustavo Sverzut Barbieri
f55774883c
Add edje-mode.el to EXTRA_DIST
...
SVN revision: 32539
2007-11-10 13:49:31 +00:00
Gustavo Sverzut Barbieri
c2ced8ed31
Edje Emacs mode.
...
It defines the syntax highlight and some functions to help editing,
like creating parts and more.
SVN revision: 32538
2007-11-10 13:48:28 +00:00
Sebastian Dransfeld
77604c36f3
add new keyword
...
SVN revision: 32537
2007-11-10 13:17:23 +00:00
Carsten Haitzler
c6df44802c
As requested -
...
debian--, gendoc++
SVN revision: 32476
2007-11-07 22:56:05 +00:00