Commit Graph

59 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 693a3c3ac7 edje log: fix some progname leftovers.
SVN revision: 74702
2012-07-31 22:45:44 +00:00
Gustavo Sverzut Barbieri f1e077844e fix edje error reporting for once and for all.
edje error was a mess. First someone (maybe myself) added eina log,
then people changed it to be a mix with printf()... then they replaced
eina_log with printf() + colors so it would be less verbose.

It's fixed now! Using eina log infrastructure.

If all that is wanted is specific messages for edje_cc domain, do it
with a specific log print function (eina_log_print_cb_set()). I made
it produce messages in the format:

    <levelcolor><progname>: <levelprefix><message>

Where:
 - levelcolor is defined by eina_log (I hacked the win32 version,
   since no public api to resolve level to color).
 - levelprefix is "Error. " or "Warning. " to cope with traditional
   output.

If it does not look as you wanted, let me know before stuffing some
printf() again.

Bonus point: reduced 2 global variables (progname and verbose),
removed lots of code.



SVN revision: 74701
2012-07-31 22:42:03 +00:00
PRINCE KUMAR DUBEY e3c44bee13 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Edje] Fix for seg fault during edje
decompilation

Fix decompile of sound samples to use sound source file, not name
Fix decompile of sound samples not double-free
Fix alsa configure option to be alsa, not flac.



SVN revision: 72117
2012-06-14 09:45:48 +00:00
Carsten Haitzler efca59d04f optimize edje_cc - now betwene 3.5 x and 4x as fast. new options
(-fastcomp and -fastdecomp) -fastcomp makes for faster decompressing
AND faster compressing of edj files, -fastdecomp is a bit slower on
compression but also as fast as -fastcomp in decompression. note that
edje files built with these optiosn will not work on older edje
installations, thus they are options.



SVN revision: 71112
2012-05-15 12:29:22 +00:00
Vincent Torri f9b759a654 Edje: revert ugly commit, as Evil takes care of the problem, now
SVN revision: 68118
2012-02-18 18:12:19 +00:00
Vincent Torri 62f4f8f2f8 Edje: ugly commit to make edje compiling on Windows
I was obliged to do that because almost all the headers are
included in edje_private.h... That way to include headers is
fine on unix, but when doing also compilation on Windows,
it's just a nightmare


SVN revision: 68111
2012-02-18 14:48:31 +00:00
Mike Blumenkrantz 4a1c04491e fix annoying log spam
SVN revision: 66907
2012-01-06 00:59:35 +00:00
Carsten Haitzler 1782ada8ee add warning on decc
SVN revision: 64807
2011-11-06 09:27:28 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Youness Alaoui df91f38ffb Edje: Use ecore_file_symlink rather than symlink
SVN revision: 63256
2011-09-07 06:58:48 +00:00
Tom Hacohen 43a9bc036b Edje: Fixed a couple of compilation warnings.
SVN revision: 62566
2011-08-18 11:41:04 +00:00
Carsten Haitzler b7cf738b7f edje_decc only use edje_cc.
SVN revision: 57891
2011-03-19 07:20:33 +00:00
Mike Blumenkrantz 20a92cd4f7 avoid trying to fwrite to an unopened file
SVN revision: 56140
2011-01-15 19:53:11 +00:00
Gustavo Sverzut Barbieri 7ac13f931f better log.
* lower case domain names;

 * binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)

 * log messages do not take multiple lines, it's annoying. The colors
   should call your attention already.

 * the ever annoying "did you forgot fixed: 1 1;" message that used to
   consume 3 lines is now bit more descriptive and uses a single line.



SVN revision: 53178
2010-10-08 00:24:22 +00:00
Mike Blumenkrantz 2c1c6f633d add big FIXME for fixme
SVN revision: 52978
2010-10-02 08:22:48 +00:00
Mike Blumenkrantz 52ad489422 this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily fix the problem until someone who knows what they're doing comes along
SVN revision: 52977
2010-10-02 07:42:01 +00:00
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 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
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
Mike Blumenkrantz 5c670876c0 verify that fopen succeeded
SVN revision: 50709
2010-07-31 05:24:47 +00:00
Mike Blumenkrantz 056cfca56f const
SVN revision: 50706
2010-07-31 05:10:44 +00:00
Cedric BAIL 4e30cb2411 * edje: move structure from Eina_List to array now that Eet support
them.


SVN revision: 49936
2010-06-29 13:48:03 +00:00
Bruno Dilly 5a34288bfb Add '-h' argument to edje_decc and improve usage message.
SVN revision: 49221
2010-05-27 02:39:20 +00:00
Gustavo Sverzut Barbieri cc5e332525 remove warnings from edje binaries.
SVN revision: 46647
2010-02-28 16:14:50 +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
Cedric BAIL 018a9dad66 * edje: Use Eina_Log.
Patch from Mathieu Taillefumier.


SVN revision: 44655
2009-12-22 13:46:00 +00:00
Carsten Haitzler 4d42a6d2db warnings--
SVN revision: 44306
2009-12-09 05:46:02 +00:00
Gustavo Sverzut Barbieri 6ab03e1d93 edje_decc: option to output to current directory.
SVN revision: 44133
2009-12-02 21:06:11 +00:00
Gustavo Sverzut Barbieri 6396f3fb00 edje_decc: -no-build-sh
Don't output build.sh



SVN revision: 44132
2009-12-02 21:00:57 +00:00
Vincent Torri 0d8b00fdeb * move standard header files to source files
* remove gendoc


SVN revision: 37158
2008-10-26 17:18:19 +00:00
Cedric BAIL fa66dbf40a Remove Evas list from Edje and use Eina instead.
SVN revision: 36961
2008-10-22 11:34:42 +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
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 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 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
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
doursse 33d11c8035 fix typo in symlink (win32)
SVN revision: 33469
2008-01-13 09:09:42 +00:00
doursse 266887d1e5 implement a symlink function for Windows
SVN revision: 31658
2007-09-08 18:36:22 +00:00
doursse 2e7692e45e make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces
SVN revision: 31517
2007-08-26 12:54:51 +00:00
Carsten Haitzler 07032e8edf handle USER images properly
SVN revision: 31253
2007-08-12 02:48:13 +00:00
Carsten Haitzler e10fb8599e solve the edje_decc file thing
SVN revision: 28525
2007-03-02 07:24:32 +00:00
Carsten Haitzler 0f757ee21a edje_decc works properly with default theme (as long as u rememeber to pass
-DE17_PROFILE=SLOW_PC" so #defines get fixed


SVN revision: 22847
2006-05-23 03:23:31 +00:00
tsauerbeck 9f701ace3f support empty includes
SVN revision: 20438
2006-02-13 18:20:26 +00:00
Carsten Haitzler 1f5e929fd1 handle more returns with more info
SVN revision: 19987
2006-01-23 15:13:44 +00:00
Carsten Haitzler 1d9245b3f6 edje no longer needs imlib2.
SVN revision: 18425
2005-11-11 06:49:57 +00:00
tsauerbeck ad5e015627 the default extension for Edje EET files is 'edj' now
SVN revision: 13855
2005-03-22 19:29:06 +00:00
tsauerbeck 1e5f844d17 use proper long-option names
SVN revision: 13759
2005-03-16 19:44:53 +00:00
tsauerbeck 4ee218c3cc don't hardcode the root filename for decompilation
SVN revision: 13758
2005-03-16 19:40:25 +00:00
tsauerbeck 3b5686906b use proper english ;)
SVN revision: 13756
2005-03-16 18:52:34 +00:00
tsauerbeck bc8470ccd9 tell the user not to trust the build scripts that are generated generated by edje_decc
SVN revision: 13755
2005-03-16 18:46:47 +00:00