Commit Graph

524 Commits

Author SHA1 Message Date
Vincent Torri f270fdb629 arg, missing config.h and too many EXTRA_DIST
SVN revision: 37160
2008-10-26 17:23:54 +00:00
Vincent Torri 9ba3147a09 * remove edje_main.h - useless now
* forget locale.h in edje_edit


SVN revision: 37159
2008-10-26 17:21:11 +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
Vincent Torri 9d71cc15c7 autotools cleanups
* configure.ac re-organisation
 * don't compile edje binaries on windows ce
 * add doc rule to build documentation (hence gendo is removed,
   Doxyfile is moved to doc/ and edje.c.in is renamed doc/edje.dox.in)
   Next commit will fix completely the documentation
 * fix edje.pc.in


SVN revision: 37137
2008-10-26 11:55:57 +00:00
Carsten Haitzler f4b0bbe7b8 fix doc.
SVN revision: 37038
2008-10-24 00:43:24 +00:00
Carsten Haitzler 48f89d316a support repch - replacement char for passowrd mode. theme defines it now.
SVN revision: 37013
2008-10-23 05:38:06 +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
Carsten Haitzler 7428272b25 and support anchors now. fix up other nigglies. very solid now.
SVN revision: 36741
2008-10-17 06:40:46 +00:00
Andres Blanc 16fac846a9 edcref: a note about group overriding using names.
SVN revision: 36736
2008-10-17 01:05:02 +00:00
Andres Blanc 3d34d2782e small correction of the edc reference. (I really need to ad some sort of
index to this).


SVN revision: 36735
2008-10-17 00:41:14 +00:00
Cedric BAIL b489e1936b Switch evas_stringshare to eina_stringshare.
SVN revision: 36672
2008-10-15 14:11:11 +00:00
Cedric BAIL ab60bdaf87 Make edje depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36623
2008-10-13 15:59:37 +00:00
Carsten Haitzler ce0d40cae7 editable textblocks... a start (definitely not there yet)
SVN revision: 36611
2008-10-13 09:19:04 +00:00
Davide Andreoli 270e803fb6 * More work on edc export... quite finished now :)
* Add gradient angle support to edje_edit
 * Some small doxy 

SVN revision: 36500
2008-10-07 14:11:11 +00:00
Davide Andreoli 57e19854bf * When you use \'confine\' on a draggie you must set a min size for the part!!
I have lost some time spotting this

SVN revision: 36388
2008-10-01 22:23:36 +00:00
Carsten Haitzler 96ad3331d8 allow groups if declared later to override (Replace) their prior declarations.
this basically allows u to #include some .edc then selectively override some
things in it u want changed.



SVN revision: 36204
2008-09-24 08:16:42 +00:00
Davide Andreoli 0a6fd34e84 * add doxy for programs in EDCREF
SVN revision: 36191
2008-09-23 19:25:01 +00:00
Carsten Haitzler 23e2c9e035 support an edje scaling factor. parts can selectively say "yes.. scale me!"
:)... this allows e etc. to adapt to massivelyt different dpi screens with
slickness that even svg can't get to... why? you scale just what NEEDS
scaling (text, button sizes, and other limiting elements). other bits like
borders, padding etc. can remain pixel-perfect and thus the look is amazing.
pixel-perfect drawing with scalable adapting.



SVN revision: 35895
2008-09-09 14:13:34 +00:00
Caio Marcelo de Oliveira Filho 0d378996c8 edje_cc_out.c: Create an error_and_abort() function and use it.
SVN revision: 35596
2008-08-21 03:58:11 +00:00
Caio Marcelo de Oliveira Filho 5d229801fd edje_cc_out.c: Splitting data_write_scripts() in smaller pieces.
Now we have one function for creating the script file and another for
compiling it.  Also tried to avoid lots of nesting by checking for
error conditions early and returning (or aborting).  Avoided messing
with the code logic.

SVN revision: 35595
2008-08-21 03:57:56 +00:00
Caio Marcelo de Oliveira Filho e2d17e6ddf edje_cc_out.c: Removing unused function declaration and definition.
SVN revision: 35594
2008-08-21 03:57:39 +00:00
Caio Marcelo de Oliveira Filho f2a0a0f216 edje_cc_out.c: Split data_write() in a bunch of smaller functions.
Just moved the code pieces from data_write(), which was huge, to
static functions.  Also made minor cleanups, initializing variables
during declaration.

SVN revision: 35593
2008-08-21 03:57:20 +00:00
Carsten Haitzler fd5ae24875 and compression was off four edje_sources in .dj files. back on!
SVN revision: 35547
2008-08-18 15:09:27 +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
Sebastian Dransfeld 4a54010498 Remove unused variable.
SVN revision: 34867
2008-06-19 12:47:04 +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 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 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
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
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
Carsten Haitzler f08234a968 improve build includes.
SVN revision: 33997
2008-03-12 16:32:35 +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 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 033737bdd9 edje data file patches in - not fill though.
SVN revision: 33543
2008-01-21 01:03:04 +00:00
doursse 33d11c8035 fix typo in symlink (win32)
SVN revision: 33469
2008-01-13 09:09:42 +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
doursse f936cbea25 * add mail in AC_INIT
* remove Makefile.in when cleaning
 * INCLUDES -> AM_CPPFLAGS
 * minor cleaning


SVN revision: 32342
2007-11-04 09:53:29 +00:00
doursse d6dd187899 configure improvements:
* add libtool versioning from the package version (from raster's
   management of package version)
 * replace AM_PROG_LIBTOOL(deprecated) by AC_PROG_LIBTOOL
 * remove AM_ENABLE_SHARED as shared lib is built by default
 * add AC_LIBTOOL_WIN32_DLL for libraries ported to Windows (tm)
 * remove the libtool checks of c++ and fortran compilers
 * remove PACKAGE_*_DIR from configure.in and define them in
   Makefile.am as bindir and al. are expanded in them.

please report any problem that these changes can add


SVN revision: 31999
2007-10-07 08:02:53 +00:00
Gustavo Sverzut Barbieri 89472b5bfc Fix edje_cc/edje_decc linkage in --as-needed mode
Requested by Pavlov Konstantin.


SVN revision: 31826
2007-09-26 18:22:34 +00:00
Sebastian Dransfeld 5b85440817 Don't segfault on empty file.
SVN revision: 31721
2007-09-15 08:46:34 +00:00
doursse 266887d1e5 implement a symlink function for Windows
SVN revision: 31658
2007-09-08 18:36:22 +00:00
doursse 97645159f8 Ecore_X and Ecore_Fb are not used
SVN revision: 31554
2007-08-27 11:52:04 +00:00
doursse 31618541b7 _O_BINARY exists only on windows
SVN revision: 31553
2007-08-27 11:28:30 +00:00
doursse 8a6ac30215 fix edje_cc on windows, remove some trailing spaces
SVN revision: 31549
2007-08-27 09:32:17 +00:00
doursse acdefc2be4 revert that change
SVN revision: 31519
2007-08-26 12:59:24 +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
Gustavo Sverzut Barbieri eda1f13b33 Support for selectable pointer_mode.
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler 902b6c40bb formattign and allocs...
SVN revision: 30925
2007-07-21 05:06:39 +00:00
Gustavo Sverzut Barbieri 233ecdf481 Fix escaping by remembering state, allows "\\" to be used as text.
Thanks to rephorm for hints, dj2 and mekius for review.


SVN revision: 30769
2007-07-11 20:47:28 +00:00
Gustavo Sverzut Barbieri 0e45d25776 Avoid doing math inside strings (quoted text), so I'm now enable to have part.description.text.text starting with "(".
Patch originally by rephorm.
Tested and minor changes by barbieri.


SVN revision: 30768
2007-07-11 15:33:03 +00:00
Peter Wehrfritz 4a9f47a386 sorry I forgot to commit this part of the patch
SVN revision: 30635
2007-07-07 11:07:42 +00:00
rephorm 982ad090be add cedric bail's fill.type patch.
you can now include "type: TILE;" in the fill block to tile an image part at the size of its image data


SVN revision: 30624
2007-07-06 22:36:40 +00:00
Carsten Haitzler 0d99270bc9 less stack for the parser - scratchbox hates the big stack usage :)
SVN revision: 30364
2007-06-17 06:51:42 +00:00
rephorm d4a055585b Add GROUP Parts to edje.
These can be used to automatically swallow in another group from the same file.

Parts within child groups can be referred to by a ':' separated 'full path' of
part names. Any API functions that take a part name will now accept a full path
also.

Signals emitted by child objects will be repeated up to the parents with the
source changed to be the path relative to the receiving object.  E.g in the
example below, a mouse moving over the lower light green rectangle would result
in the parent object recieving a "mouse,move" signal with source "bot:inner".

**** NEW RESTRICTION ****  part names should no longer include a ':' character.
This is not yet enforced by edje_cc, but will cause the part to be inaccessible
from the API.

Example EDC:

collections {
  group {
    name: "parent";
    parts {
      part {
        name: "top";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel2.relative: 1 0.5;
        }
      }
      part {
        name: "bot";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel1.relative: 0 0.5;
        }
      }
    }
  }
  group {
    name: "child";
    parts {
      part {
        name: "base";
        type: RECT;
        description {
          state: "default" 0.0;
          color: 160 208 8 255;
        }
      }
      part {
        name: "inner";
        type: RECT;
        description {
          state: "default" 0.0;
          rel1.offset: 10 10;
          rel2.offset: -11 -11;
          color: 210 228 76 255;
        }
      }
    }
  }
}


SVN revision: 30087
2007-05-27 05:28:07 +00:00
tilman c38e060fb2 hooked up the 'alternate font metrics stuff' in edje_cc.
SVN revision: 29280
2007-03-31 10:53:22 +00:00
tilman 731a6622f9 fixed some const char*/char* confusion.
SVN revision: 29279
2007-03-31 10:33:24 +00:00
tilman e0ed9aef1a use pkg-config to detect ecore
SVN revision: 28854
2007-03-21 15:36:26 +00:00
tilman d39dbeefa2 switched edje over to pkg-config. almost. ecore is still detected by ecore-config, cause that one's gonna be pain.
SVN revision: 28842
2007-03-21 02:52:41 +00:00
Carsten Haitzler e10fb8599e solve the edje_decc file thing
SVN revision: 28525
2007-03-02 07:24:32 +00:00
Carsten Haitzler 1cfed3e3c0 and actually allow "USER" images (ie don't encode them into the .edj - use an
external path to them)


SVN revision: 27156
2006-11-17 14:47:30 +00:00
Carsten Haitzler 935c00fdb1 remove even more
SVN revision: 26833
2006-10-28 09:28:10 +00:00
Carsten Haitzler f25731b240 remove...
SVN revision: 26832
2006-10-28 09:22:49 +00:00
Carsten Haitzler 9e61a142a6 removing...
SVN revision: 26831
2006-10-28 09:19:56 +00:00
rephorm 980a64d58a add group aliases.
use as follows:

group {
  name: "primary_name";
  alias: "another_name";
  alias: "one_more_name";
}

then you can refer to the group by any of these names.


SVN revision: 26546
2006-10-12 05:35:14 +00:00
Carsten Haitzler 54184c2c37 add max text size for text objects - object wont get bigger than its text
contents. useful for some things.


SVN revision: 26439
2006-10-09 06:01:13 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
rephorm 82a42879bb allow rel1.relative: 0 0; notation
set defaults


SVN revision: 24976
2006-08-21 03:14:09 +00:00
rephorm 46b3c5f1a0 add linear gradient specific fill options
used (inside a part description) as follows:

Horizontal from left to right filling entire part:

  gradient {
    spectrum: "black_to_white";
    rel1 {
      relative: 0 0.5;
      offset: 0 0;
    }
    rel2 {
      relative: 1 0.5;
      offset: -1 0;
    }
  }

Diagonal from top left to bottom right:


  gradient {
    spectrum: "black_to_white";
    rel1 {
      relative: 0 0;
      offset: 0 0;
    }
    rel2 {
      relative: 1 1;
      offset: -1 -1;
    }
  }

If either rel1 or rel2 is present in the gradient block of a linear gradient, these will override any angle/origin/size specified in the fill block ('spread' is still honored).


SVN revision: 24975
2006-08-21 03:00:01 +00:00
Carsten Haitzler fb4772a769 fix escape handling in quotes! :)
SVN revision: 24641
2006-08-13 10:37:04 +00:00
sebastid 57a4117e2d Remove unused variable.
SVN revision: 24598
2006-08-12 14:40:59 +00:00
sebastid 6163e51220 Fix warnings
SVN revision: 24415
2006-08-06 01:45:45 +00:00
sebastid 5dc6a1479f filename is const
SVN revision: 24414
2006-08-06 01:35:56 +00:00
rephorm 6f000216b2 don't check spectra if we don't have any... (fix segv)
SVN revision: 24392
2006-08-04 18:40:31 +00:00
rephorm bcd6f83784 add some validation to spectra
SVN revision: 24385
2006-08-04 08:55:05 +00:00
rephorm 8cda88c2e6 Add initial support for edje gradients. See data/src/gradient.edc for an example.
SVN revision: 24361
2006-08-02 10:52:44 +00:00
Carsten Haitzler 49bd390565 some prefix fixes for env vars
SVN revision: 24104
2006-07-21 15:55:54 +00:00
Carsten Haitzler 30cad4260b fix bin/lib prefix - pass as -D
SVN revision: 23874
2006-07-13 16:35:46 +00:00
Carsten Haitzler a06238ce46 edje prefix fixes - oops - was broken
build fixes for exec prefix settings


SVN revision: 23845
2006-07-11 09:43:26 +00:00
Carsten Haitzler f41aec9158 edje is now also prefix aware.
SVN revision: 23821
2006-07-10 18:55:23 +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
Christopher Michael 44e09d9e74 Fix typo spotted by odium :)
SVN revision: 21189
2006-03-11 15:34:46 +00:00
tsauerbeck 9f701ace3f support empty includes
SVN revision: 20438
2006-02-13 18:20:26 +00:00
rephorm adb75e5097 Require that groups have a name.
SVN revision: 20094
2006-01-29 06:05:16 +00:00
Carsten Haitzler 1f5e929fd1 handle more returns with more info
SVN revision: 19987
2006-01-23 15:13:44 +00:00
Christopher Michael 50d3d7649f Fix typo
SVN revision: 19901
2006-01-19 12:12:46 +00:00
rephorm 0b56671b3e color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19707
2006-01-11 03:19:45 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn 7d614c0570 Use the second updated patch for the cpp problem. Originally submitted by Romu
on #edevelop.


SVN revision: 19224
2005-12-22 04:20:42 +00:00
Carsten Haitzler 62799c9e70 different cpp invokation attempt
SVN revision: 19196
2005-12-21 04:29:16 +00:00
Carsten Haitzler 6fbd81ed4c handle no name part.
SVN revision: 18995
2005-12-13 15:11:21 +00:00
Carsten Haitzler 1d9245b3f6 edje no longer needs imlib2.
SVN revision: 18425
2005-11-11 06:49:57 +00:00
Carsten Haitzler 36db7b296f add elipsis direct control
SVN revision: 18326
2005-11-06 03:32:01 +00:00
technikolor a908b18cfc Don\'t assume cpp and gcc are always in /usr/bin... absolute paths removed
SVN revision: 18130
2005-10-30 07:42:48 +00:00
Carsten Haitzler bfaabe266e asparagus - again. lots fo leak fixes and other fixes have been happening, so
i think an asparagus is a good idea - sorry package config people. :)


SVN revision: 17340
2005-10-09 04:22:19 +00:00
Carsten Haitzler ce7d10f13b allow for xr engine for testing/display of edjes
SVN revision: 17338
2005-10-09 03:07:58 +00:00
Carsten Haitzler 3d95663afe allow correct values for fill offset - too rtestrictive
SVN revision: 16781
2005-09-20 08:33:35 +00:00
Carsten Haitzler 2c69e593a8 hmm - make min size calculation mroe accurate and handle corner cases...
SVN revision: 16760
2005-09-19 06:51:49 +00:00
Carsten Haitzler 0c99214fb0 allow more tags for textblock obj's
SVN revision: 16744
2005-09-18 05:37:06 +00:00
Carsten Haitzler 3ac48d63ae and edje started supporting.... TEXTBLOCK2!!!!!
see e_logo.edc for an example. :)


SVN revision: 16698
2005-09-12 09:43:49 +00:00
sebastid 42f2fbb8b6 Add string.h for strcmp()
SVN revision: 16579
2005-09-05 16:26:58 +00:00
sebastid e3ad2acd61 Add missing headers, and define MIN
SVN revision: 16552
2005-09-05 10:46:04 +00:00
sebastid 4195c6b63c We need the embryo includedir to build the binaries.
SVN revision: 16499
2005-09-03 22:15:07 +00:00
sebastid d17fd0bed3 Use AC_PATH_GENERIC, it's a nice macro!
SVN revision: 16491
2005-09-03 18:52:10 +00:00
Carsten Haitzler 074dfd7638 max size respecting yo
SVN revision: 16265
2005-08-22 05:32:22 +00:00
Carsten Haitzler 757bfe0070 oops -- &&
SVN revision: 16080
2005-08-09 07:18:10 +00:00
Carsten Haitzler 8885e181b0 dont segv on prog with no name (illegal anyway)
SVN revision: 16079
2005-08-09 07:16:48 +00:00
Mike Frysinger 499341aa3f EXTRA_SCRIPTS cant be substituted, so revert that change
SVN revision: 16011
2005-08-03 00:39:59 +00:00
Mike Frysinger 7d48cfada7 fix multiple definition of EXTRA_DIST
SVN revision: 16009
2005-08-03 00:35:12 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
Carsten Haitzler 24e1406536 pavel's patch. :)
SVN revision: 15905
2005-07-26 13:59:03 +00:00
tsauerbeck 9565d47963 evil hack to find include statements not at the beginning of the line, too
SVN revision: 15117
2005-06-04 09:17:14 +00:00
tsauerbeck 63b3408040 don't die if embryo_cc brabbles about warnings in the embryo code
SVN revision: 14503
2005-04-29 18:46:41 +00:00
tsauerbeck 957c89d4a2 quit on 'q'
SVN revision: 14318
2005-04-24 09:13:26 +00:00
tsauerbeck f06dec0f74 sanitize border scaling middle something logic. if the property needs to set to 'true' to be disabled, we better name it that way. this breaks eet compatibility, but since the previous commit is still young, i don't increment the version ids
SVN revision: 14048
2005-03-31 17:26:31 +00:00
Carsten Haitzler 62b9246441 support unfilled centers...
SVN revision: 14038
2005-03-31 11:40:05 +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 cdbe6efc98 warning fixes
SVN revision: 13818
2005-03-20 21:56:40 +00:00
Carsten Haitzler 7d7ac615c8 -fb too
SVN revision: 13772
2005-03-18 01:08:32 +00:00
Carsten Haitzler 206a27cce5 help update
SVN revision: 13771
2005-03-18 01:06:37 +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
tsauerbeck 057ae3dfa5 Decompiler improvements: Edjes now contain a 'compiler' entry, which is set to the executable that's used to compile an Edje. edje_decc does some sanity checking on this string, to prevent exploitation.
SVN revision: 13754
2005-03-16 18:39:39 +00:00
tsauerbeck 768533d73f output EET file can now be specified by -o, too. use that mode in build.sh
SVN revision: 13753
2005-03-16 17:51:52 +00:00
tsauerbeck ef57cf80b3 moved the include directory
SVN revision: 13496
2005-02-24 15:34:43 +00:00
tsauerbeck cf1af057cc fix exit status in case of an error
SVN revision: 13415
2005-02-17 19:49:54 +00:00
azundris c423c82614 * don't depend on edb, we're not using it
SVN revision: 13079
2005-01-24 13:02:41 +00:00
Carsten Haitzler 314d82cc04 fil! not filename! :)
SVN revision: 12882
2005-01-11 02:54:07 +00:00
Carsten Haitzler c7c6f53e78 oops arg order... fix.
SVN revision: 12862
2005-01-10 06:15:00 +00:00
Carsten Haitzler 45bc169845 finx dir of input file, strip off file to find dir component and -I that when
running cpp..


SVN revision: 12861
2005-01-10 05:51:14 +00:00
Carsten Haitzler 5a31d2e725 an edje thumbnailer executable... :) requires up to date ecore and evas
having a buffer engine...

have fun :)


SVN revision: 12841
2005-01-09 09:50:16 +00:00
tsauerbeck 6edb7557c3 removed support for the (so far deprecated) description.border keyword
SVN revision: 12593
2004-12-26 22:36:45 +00:00
tsauerbeck deafa61660 switched to floating-point math. yell if you think this causes trouble.
SVN revision: 12550
2004-12-22 14:41:12 +00:00
tsauerbeck cd2c975628 edje_cc now knows about parens, which means that "(x + y + z)" is treated as *one* token.
this made it possible to fix edje_cc's math code a bit.
NOTE: only fixed point arithmetic works again, floating point stuff doesn't!
See the FIXME for ideas on how to handle this.


SVN revision: 12477
2004-12-15 17:58:10 +00:00
Dan Sinclair 245dcb02e7 - don't segv if we can't open the file. this would die if you had a file with
the same name as the directory edje_decc was trying to create.


SVN revision: 12433
2004-12-10 16:03:42 +00:00
Carsten Haitzler bec1a34a8e testing the edje message queue.. revealed.... problems... and.. now....
FIXES! :)


SVN revision: 12419
2004-12-09 05:49:34 +00:00
Carsten Haitzler d209663410 be nice!
SVN revision: 12186
2004-11-12 04:18:51 +00:00
Carsten Haitzler 7a097c0ab9 fixie fixie long time.
SVN revision: 12153
2004-11-09 09:31:08 +00:00
tsauerbeck 42a26cb3db cleaned up autotools setup some more
SVN revision: 12080
2004-10-30 11:47:23 +00:00
tsauerbeck c39e5a3db9 uuh, i must have forgotten to commit this earlier
SVN revision: 12064
2004-10-29 17:45:07 +00:00
tsauerbeck ee1c58f983 'custom' is an invalid description name
SVN revision: 12056
2004-10-29 14:11:54 +00:00
tsauerbeck 9f77b5176c mingw fixes
SVN revision: 12055
2004-10-29 14:04:23 +00:00
tsauerbeck ee67ee94ec don't include mman.h
SVN revision: 12054
2004-10-29 14:01:24 +00:00
tsauerbeck 74f19082f8 programs may not specify 'target' before 'action'
SVN revision: 12040
2004-10-27 16:17:12 +00:00
tsauerbeck bd8be0233c only get the directory of the current file once
SVN revision: 12027
2004-10-25 19:14:07 +00:00
tsauerbeck e8925fc4fd fixed edc source inclusion in edje_source edd.
SVN revision: 12026
2004-10-25 19:09:39 +00:00
tsauerbeck 523ca5adb7 don't overwrite source file data with the terminating NUL
SVN revision: 12025
2004-10-25 17:47:16 +00:00
Carsten Haitzler b6d25d31f4 edje_cc supports -Ddefine=val style stuff - via cpp and like cpp
SVN revision: 12015
2004-10-24 13:47:55 +00:00
tsauerbeck a83169e012 fixed some more edje_cc error messages
SVN revision: 12009
2004-10-24 09:48:29 +00:00
xcomputerman a1c90bfe7d When outputting parse errors, give the correct line number - how did this whole offset thing happen anyway?
SVN revision: 12004
2004-10-24 06:43:45 +00:00
tsauerbeck 80cb5cd954 edje_cc is getting even more picky. arguments may not be separated by commas any more. simplified code a bit.
SVN revision: 11996
2004-10-24 01:10:04 +00:00
tsauerbeck 834b91be7c fixed arg count checking for program.action
SVN revision: 11986
2004-10-23 20:36:02 +00:00
tsauerbeck d1b4acb489 edje_cc now checks the number of arguments for each statement
SVN revision: 11983
2004-10-23 20:12:21 +00:00
tsauerbeck 2d1c69e129 include collection id in error messages
SVN revision: 11980
2004-10-23 17:58:14 +00:00
tsauerbeck e2feb2dd97 cleaned up edje_cc's sanity checking for parts and programs. image parts need to have valid image attributes now.
SVN revision: 11979
2004-10-23 17:33:27 +00:00
tsauerbeck ea400bc3ff open files properly
SVN revision: 11959
2004-10-22 13:57:49 +00:00
Carsten Haitzler 565add21a7 gawd that was bad!!!!
SVN revision: 11958
2004-10-22 07:42:37 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 32808f5124 no ldflags
SVN revision: 11946
2004-10-21 08:05:19 +00:00
Carsten Haitzler 84f7e7fcd7 extar dist too for edje_recc
SVN revision: 11942
2004-10-21 07:37:35 +00:00
Carsten Haitzler b0cc194408 only do that once...
SVN revision: 11940
2004-10-21 06:43:18 +00:00
Carsten Haitzler 6dda7e8908 build cleaning
SVN revision: 11939
2004-10-21 06:33:22 +00:00
tsauerbeck 4873a7d260 imlib2 is optional for edje_cc now. simplified autofoo
SVN revision: 11927
2004-10-20 18:42:36 +00:00
tsauerbeck 7fac198907 mingw portability, step 1
SVN revision: 11925
2004-10-20 16:48:58 +00:00
Carsten Haitzler 5d60e667df dup tween list properly :) and dup lookups on text stuff
SVN revision: 11922
2004-10-20 14:26:06 +00:00
tsauerbeck e54386d8a4 fixed a memleak
SVN revision: 11914
2004-10-19 17:39:35 +00:00
tsauerbeck 6b6d72b8a6 catch missing targets in STATE_SET programs, for example
SVN revision: 11913
2004-10-19 17:31:18 +00:00
tsauerbeck 070dd505e6 image{} and fill{} attributes are only allowed for IMAGE parts. text{} attributes are only allowed for TEXT parts
SVN revision: 11912
2004-10-19 17:21:13 +00:00
tsauerbeck 8e0f33b80c deprecated description.border, use description.image.border instead, since border only applies to image parts.
SVN revision: 11911
2004-10-19 17:01:05 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
tsauerbeck f375a9fe2c New feature: part descriptions can inherit attributes from other descriptions of the same part. All attributes are inherited, except description name and value, of course.
Syntax: inherit, "desc_name" desc_value;


SVN revision: 11908
2004-10-19 16:37:20 +00:00
tsauerbeck 0a01bac149 tweaked font sizes
SVN revision: 11907
2004-10-19 16:28:29 +00:00
tsauerbeck 0750d18533 check that the input file exists. make sure that the input file doesn't equal the output file
SVN revision: 11891
2004-10-16 11:34:09 +00:00
tsauerbeck b52dafb5ed make sure source file data is terminated properly
SVN revision: 11890
2004-10-15 22:05:54 +00:00
tsauerbeck 432cc2a13d warnings
SVN revision: 11866
2004-10-13 19:04:45 +00:00
tsauerbeck 5a4030f762 boolean values can now be specified in the following ways: 0, false, off resp 1, true, on (case insensitive)
SVN revision: 11864
2004-10-13 18:07:56 +00:00
Carsten Haitzler 44984e65a3 allow text source and text style sources to be specified.. this lets multiple
text parts "shadow" a controlling/parent text part. this allows multiple
window titles for example even tho the app only sets 1 title part. this
allows for interesting text effects with mutliepl text parts animating
differently... or you cna use invivlbe text parts ad "proxies" for
calculating sizes of stuff... :)


SVN revision: 11851
2004-10-13 03:43:42 +00:00
tsauerbeck 54705c6816 adapted to embryo_cc changes
SVN revision: 11845
2004-10-12 16:58:18 +00:00
tsauerbeck 226bc8ccf3 String concatenation ("foo""bar" -> "foobar") now works when used in arguments to PART/PROGRAM/IMAGE lookups, e.g. PART:"foo""bar" will look up the part id of "foobar".
SVN revision: 11836
2004-10-11 20:48:32 +00:00
tsauerbeck 541c116fc6 part names need to be unique in a collection, too
SVN revision: 11826
2004-10-10 15:18:07 +00:00
Carsten Haitzler 2820c696d4 more compile options.. allow image sot be FORCIBLY rescaled so u can include
like 1/2 or 1/4 res images to make a smaller .eet :)


SVN revision: 11825
2004-10-10 11:58:43 +00:00
tsauerbeck 5b18584b96 don't print constant data
SVN revision: 11823
2004-10-10 10:00:51 +00:00
tsauerbeck da59ff6c92 added edje_decc to cvsignore
SVN revision: 11822
2004-10-10 08:22:54 +00:00
Carsten Haitzler f40fa3993e and dont use buf! :)
SVN revision: 11821
2004-10-10 04:29:21 +00:00
Carsten Haitzler e60a541c5a actually... error on any source file not being able to be found, decoded or
written out. images AND fonts. :)


SVN revision: 11820
2004-10-10 04:25:42 +00:00
tsauerbeck 4c702d01dc when a font cannot be loaded (because -fd was omitted, for example), just print a warning instead of an error message. i.e., fonts are treated the same way images are.
SVN revision: 11799
2004-10-09 16:23:29 +00:00
tsauerbeck 207a5af796 fixed an endless loop caused by unexpected preprocessor commands. tweaked the code a bit so its more readable, hopefully.
SVN revision: 11790
2004-10-08 17:03:04 +00:00
Carsten Haitzler cd39a020b2 1. note all the /* dup */ entries in edje_cc_handlers.c - we now are lenient
and allow image, font, images{} fonts {} programs{} program{} and scropt{}
sections in many mroe places...


SVN revision: 11764
2004-10-06 05:25:03 +00:00
Carsten Haitzler 3c5dcbbffe font size updates... again
SVN revision: 11760
2004-10-06 00:18:51 +00:00
Carsten Haitzler 80b3550c38 font size change
SVN revision: 11759
2004-10-06 00:14:24 +00:00
Carsten Haitzler a31a8fa76c use Ecore_Evas info on engine availability :)
SVN revision: 11708
2004-09-23 21:45:50 +00:00
Carsten Haitzler bf564f9174 no no. do it this way! :)
SVN revision: 11622
2004-09-13 03:23:29 +00:00
rephorm 301a6db92c actually delete ...edje_tmp at the start (add a -r since its a dir)
SVN revision: 11564
2004-09-08 01:49:37 +00:00
Carsten Haitzler 497c68450d fix fonts in OTHEr states than default! :)
SVN revision: 11545
2004-09-07 14:48:41 +00:00
Carsten Haitzler f56ba99d4d if promoting compression we need to guess a new compression quality... :)
SVN revision: 11497
2004-09-02 02:43:16 +00:00
Carsten Haitzler e49d2e97b1 help fixed
SVN revision: 11495
2004-09-02 01:10:38 +00:00
Carsten Haitzler 153781888e this should make a lot of themers happy.
edje_cc (and edje_recc) now support:

-no-lossy                Do NOT allow images to be lossy
-no-comp                 Do NOT allow images to be lossless compression
-no-raw                  Do NOT allow images to be zero compression
-min-quality VAL         Do NOT allow lossy images with quality > VAL (0-100)
-max-quality VAL         Do NOT allow lossy images with quality < VAL (0-100)

this lest you forcibly make a theme .eet that is full quality with NO
compression of images, or just lossless compression (recommended for
distribution as an "original" .eet) and then make lossy only ones with min
and max quality levels.... so u can make small small small themes by just
giving up quality :)


SVN revision: 11489
2004-09-01 05:41:26 +00:00
rephorm f3712ce909 include edje_recc in EXTRA_DIST
now it passes make distcheck again


SVN revision: 11473
2004-08-31 23:06:09 +00:00
rephorm e135951db6 Ok. Completing the commit from last night. Sorry about that (and thanks for cleaning up after me raster). Nothing functional changed between raster's last commit and this, just making things more consistent.
Also, moved a few calloc's to  mem_alloc and strdups to mem_strdup.


SVN revision: 11455
2004-08-31 04:00:14 +00:00
Carsten Haitzler 170da7eb5d handy edje_recc t recompile an edje .eet from now on :)
SVN revision: 11454
2004-08-31 03:53:41 +00:00
Carsten Haitzler 2f972d6555 rephorm missed another place fonts were being set, and forgot to include the
compiler side to list the fonts... :)


SVN revision: 11441
2004-08-30 08:07:00 +00:00
Carsten Haitzler cb27d46c1c potential secuirty violations covered up.
SVN revision: 11434
2004-08-29 12:28:53 +00:00
Carsten Haitzler 291065ac29 isspace.. and oops infinite loopies
SVN revision: 11433
2004-08-29 12:05:50 +00:00
Carsten Haitzler 5b7136d3f8 edje decompiling works now! you can decompile an edje .eet back into source
files (.edc's, fonts and images) and it will even make a handy build/sh to
rebuild the .edc into the original .eet again! :)

NB: only works on .et's created with this edje_cc or newer as i needed to
incpude some extra debug info :)


SVN revision: 11431
2004-08-29 11:03:19 +00:00
tsauerbeck 52a6615758 fixed a potential NULL pointer deref
SVN revision: 11429
2004-08-29 09:40:02 +00:00
atmosphere ad64bc77c2 more fixups for systems without ecore_evas_gl
SVN revision: 11408
2004-08-28 02:22:29 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler f4208aa56c aaaaaaaaaaaah message queue related fix.
SVN revision: 11207
2004-08-12 18:55:45 +00:00
rbdpngn 86d90b79fe Rename edje.h in the src/bin so it doesn't conflict with Edje.h on
case-insensitive filesystems.


SVN revision: 10870
2004-07-16 23:33:41 +00:00
Carsten Haitzler 9355b9cf8c 1. add SWALLOW object to be more explicit...
SVN revision: 10820
2004-07-14 07:57:35 +00:00
Carsten Haitzler d5c73557c9 more container notes/skellies and allow aspect prefernce of BOTH (both axes
control so the aspect wiill exceed wanted size and go over the boundaries...)


SVN revision: 10789
2004-07-12 06:14:59 +00:00
Carsten Haitzler 07bfcb5754 get relative mouse pos relative to the edje... and add a -fill opt to edje
SVN revision: 10732
2004-07-08 04:29:28 +00:00
Carsten Haitzler 5ff4a5b272 fully supported message queues now. that was a chunk of work!
SVN revision: 10663
2004-07-02 10:17:25 +00:00
Carsten Haitzler 5b506efe2c 1. fix a leak. i was naughty. spank spank
2. message queue is in - i am currently not surer if i shoudl go with this
varags api internally ot move to a more manual "build a list" thing... but the
message queue does work - i've moved signals to use it.


SVN revision: 10653
2004-07-01 03:46:05 +00:00
Carsten Haitzler 68e31d4bc7 just when you thoguht all was stable in edje land... i added a tag and field!
never fear. its backwards compatible. this lets you choose how aspect is
calculated and confined :)


SVN revision: 10340
2004-05-24 07:58:37 +00:00
Carsten Haitzler 6643d99647 aaaaaaah #'s form cpp in embryo verbatim snippets - strip them.
SVN revision: 9951
2004-04-28 03:31:06 +00:00
Carsten Haitzler 36862709f6 abort edje_cc compile if embryo is not happy
SVN revision: 9892
2004-04-25 04:24:56 +00:00
Carsten Haitzler ec680ae695 embryo_cc line numebrs match up with edje .edc ones now - much better foir
debugging


SVN revision: 9891
2004-04-25 04:20:58 +00:00
rbdpngn c742fbdd6a Hackish, but it fixes the problem with stupid cpp's.
SVN revision: 9804
2004-04-20 03:14:46 +00:00
rephorm 107315ec99 ok. that definitely ain't the right way to do those. back it out...
SVN revision: 9803
2004-04-20 02:07:11 +00:00
Carsten Haitzler 3e09b08e74 survive make distcheck...
SVN revision: 9747
2004-04-16 02:06:39 +00:00
rbdpngn 3c73786007 Alloca check for the compiler.
SVN revision: 9566
2004-04-02 04:20:57 +00:00
Carsten Haitzler d9d7b969dd cleaner...
SVN revision: 9550
2004-04-01 09:53:11 +00:00
Carsten Haitzler 39bb581573 string replacement with ID's in edje_cc for verbatim code snippets... see
example


SVN revision: 9548
2004-04-01 09:30:45 +00:00
Carsten Haitzler 7bd60e9cb0 busy adding some MEAT to edje's embryo script support. just added
"persistent" variables - ie tied to each instance of an edje object and you
can save/load via get_int() set_int() get_float() set_float(), get_str(),
get_strlen() and set_str(). the values are fetched/stored wherever you do
these calls. you need a public variable declaration to indicate you want to
use a global var, and use this variable handle as the variable index - edje
will init it for you.

e_logo.edc has some examples...
:)

this solves being able to keep state like if a check button is enabled or
disabled etc. etc. etc.
then i guess its onto the rest of the calls...


SVN revision: 9526
2004-03-30 10:30:35 +00:00
Carsten Haitzler 3821f74e99 and.... edje_cc can take small code snippets in script{} areas and compile
them, include them int eh edje.eet and edje can run them. all i have to do
now is actually give the small scripts an api worht talking about


SVN revision: 9514
2004-03-28 05:26:17 +00:00
Carsten Haitzler 59a6f2c4b0 embryo support... started. :)
SVN revision: 9487
2004-03-26 09:10:05 +00:00
Carsten Haitzler 3c9d0ec692 yuri's math code for the parser!
SVN revision: 9322
2004-03-11 03:21:06 +00:00
Carsten Haitzler 92b6f79c2e fixed a leak... patches from trill... need to go thru my mail....
SVN revision: 9281
2004-03-08 02:43:48 +00:00
tsauerbeck b2d118fbce don't segfault on a missing default description
SVN revision: 9242
2004-03-06 10:21:15 +00:00
Carsten Haitzler 5979a8f8db fixie doccie
SVN revision: 9039
2004-02-20 08:16:25 +00:00
boris fe8afbffba Re-order params
SVN revision: 9023
2004-02-18 11:35:08 +00:00
Carsten Haitzler cac7272808 cross-compile cleanly!
SVN revision: 9003
2004-02-17 07:13:12 +00:00