Commit Graph

610 Commits

Author SHA1 Message Date
Carsten Haitzler 2f82204b7b revert cedrics patch for font stuff - it breaks textblocks
SVN revision: 23681
2006-07-03 06:15:05 +00:00
Carsten Haitzler 334eb3a389 cedrics font hash lookup speedup :)
SVN revision: 23644
2006-07-02 06:18:18 +00:00
Carsten Haitzler 5a3be0fd8c zigs patch for edje adding more embryo script power to set state vals
SVN revision: 23616
2006-06-28 18:31:56 +00:00
Christopher Michael 10308c1133 Patch from drexil to fix a leak in edje_data.c
SVN revision: 23184
2006-06-05 13:11:08 +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
Carsten Haitzler 155dbbbae8 dont set drag val if user already dragging
SVN revision: 22395
2006-04-29 14:15:16 +00:00
Stafford Mitchell Horne 7ba307776d Edje textblock cleanups fixes
* Fix edje font order (source, size, font) . This is needed so that evas
   when parsing the style will only try to load the font once it sees the
   font name. otherwise, if we load before we know where the source is and
   fontconfig will takeover and load up all of its fallbacks.
 * Remove inheritance. This is covered by evas. This means the text_class
   will only modify style parameters which are already defined in the style.


SVN revision: 21533
2006-03-28 16:36:04 +00:00
Stafford Mitchell Horne 39c1195176 Add ability for text blocks to use text classes
* Classes are defined at the tag level
 * Tags whithout classes inherit the parent class
 * text class defined by putting text_class=<class name> in tag style


SVN revision: 21518
2006-03-28 07:45:54 +00:00
stffrdhrn 46a61a67b7 Edje bug fixes:
* Add some comments
 * Fixup some const char */stringshare related compile warnings
 * Fix text classes


SVN revision: 21392
2006-03-19 04:22:35 +00:00
Christopher Michael 44e09d9e74 Fix typo spotted by odium :)
SVN revision: 21189
2006-03-11 15:34:46 +00:00
tsauerbeck 0b74d51971 custom state: i think we should inherit the parent's text style, too
SVN revision: 20775
2006-02-25 09:57:55 +00:00
tsauerbeck 697f0a1600 the custom state code was still using strdup, but it needs to use the stringshare api
SVN revision: 20774
2006-02-25 09:56:09 +00:00
codewarrior 31b64ba77a after hours of work, discusisons with rephorm, and raster, I found this!
(13:05) <raster> BAD formie

(=


SVN revision: 20571
2006-02-19 11:14:49 +00:00
tsauerbeck 9f701ace3f support empty includes
SVN revision: 20438
2006-02-13 18:20:26 +00:00
rephorm 89d591573a one more place that NULLS out the shared color class on delete.
SVN revision: 20099
2006-01-29 17:04:41 +00:00
rephorm 803562a836 don't free color class stuff in text_on_del, it gets done in color_class_on_del...
also, it seems as though default descriptions at least are shared between objects of the same group, so when this set the color_class to NULL, all other objects lost their colors.


SVN revision: 20098
2006-01-29 16:50:30 +00:00
rephorm adb75e5097 Require that groups have a name.
SVN revision: 20094
2006-01-29 06:05:16 +00:00
Carsten Haitzler 8fbcb18c64 handle more returns with more info
SVN revision: 19988
2006-01-23 15:13:45 +00:00
Carsten Haitzler 1f5e929fd1 handle more returns with more info
SVN revision: 19987
2006-01-23 15:13:44 +00:00
rbdpngn ea9bfd7103 Stringshare free fix from David Stevenson.
SVN revision: 19954
2006-01-21 22:38:01 +00:00
Christopher Michael 50d3d7649f Fix typo
SVN revision: 19901
2006-01-19 12:12:46 +00:00
rephorm af09f73295 damn wacked out indent style :)
SVN revision: 19884
2006-01-18 01:01:05 +00:00
rephorm dc2a82223e mark edjes as dirty when their color class is deleted
SVN revision: 19882
2006-01-18 00:43:55 +00:00
rephorm 24b55bb6c2 Add edje_color_class_del(), edje_object_color_class_del() and edje_color_class_list().
Use stringshare for cc names.


SVN revision: 19862
2006-01-17 02:41:26 +00:00
rephorm a58af07dd7 Add edje_color_class_del(), edje_object_color_class_del() and edje_color_class_list().
Use stringshare for cc names.


SVN revision: 19861
2006-01-17 02:41:25 +00:00
sebastid e29d193d3e Unused func.
SVN revision: 19788
2006-01-14 15:30:00 +00:00
rephorm 702c78bb82 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: 19708
2006-01-11 03:19: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 53b57f67a6 visibility -> off
SVN revision: 19682
2006-01-10 07:34:48 +00:00
sebastid 002bc72042 Fix EAPI warnings.
SVN revision: 19595
2006-01-07 08:54:30 +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 ce35591227 dave's catch of null strings
SVN revision: 19086
2005-12-17 09:58:19 +00:00
Carsten Haitzler 6fbd81ed4c handle no name part.
SVN revision: 18995
2005-12-13 15:11:21 +00:00
Carsten Haitzler 929cc2d47d null ptr checks
SVN revision: 18846
2005-12-05 10:08:30 +00:00
Carsten Haitzler f9865e04da oops - using free() instead of stringshare_del(). fixed.
SVN revision: 18736
2005-12-01 01:01:04 +00:00
Carsten Haitzler bd0c83af10 make more use of stringshare and eet alloc methods
SVN revision: 18732
2005-11-30 15:36:34 +00:00
Carsten Haitzler 430b2a1901 use stringshare! :)
SVN revision: 18728
2005-11-30 09:56:15 +00:00
Carsten Haitzler 1c2dc52ae0 something is broken with text classes - disable for now.
SVN revision: 18723
2005-11-30 08:37:37 +00:00
Carsten Haitzler a976ce3d4e fix edje embryo scripts.
SVN revision: 18694
2005-11-29 07:27:57 +00:00
Carsten Haitzler e5856869df no need to alloc path and part strings if its cached and thus shared
anyway... so detect and re-cycle :)


SVN revision: 18677
2005-11-28 09:54:06 +00:00
Carsten Haitzler 0b90bc4c04 more fixes :)
SVN revision: 18651
2005-11-26 13:58:43 +00:00
Carsten Haitzler 2925b49159 noneed for offset since its inside the object now
SVN revision: 18649
2005-11-26 13:33:09 +00:00
rbdpngn ba901efc05 Use the style features available in evas text objects to avoid creating more
evas objects. This saves up to 25 text objects per text part for soft shadows.


SVN revision: 18645
2005-11-26 08:14:34 +00:00
Carsten Haitzler 7278f1d18b text badness fix
SVN revision: 18631
2005-11-24 08:10:22 +00:00
Carsten Haitzler 25ee716746 push/pop vm on the fly - saves a chunk of ram.
SVN revision: 18625
2005-11-24 03:23:01 +00:00
Carsten Haitzler 91eb081dd7 dont dup empty strings :)
SVN revision: 18621
2005-11-23 14:47:36 +00:00
Carsten Haitzler 3a6be732b9 clean up some null string stuff
SVN revision: 18620
2005-11-23 14:00:39 +00:00
Carsten Haitzler 22547970e9 more NULL string handling
SVN revision: 18619
2005-11-23 13:02:09 +00:00
Carsten Haitzler 725d212f48 handle NULL strings better - need to handle mroe NULLS though
SVN revision: 18617
2005-11-23 12:56:06 +00:00
Carsten Haitzler 41f9c95d96 no point disallowing sets.
SVN revision: 18515
2005-11-17 08:14:05 +00:00
Carsten Haitzler 1d9245b3f6 edje no longer needs imlib2.
SVN revision: 18425
2005-11-11 06:49:57 +00:00
Carsten Haitzler 081335eda4 we dont need no steenkin move signals
SVN revision: 18377
2005-11-08 10:06:59 +00:00
Carsten Haitzler 36db7b296f add elipsis direct control
SVN revision: 18326
2005-11-06 03:32:01 +00:00
sebastid 0cad0c7b33 Don't use strlen to check if a string is empty.
SVN revision: 18269
2005-11-04 07:56:13 +00:00
Carsten Haitzler bcab625b79 fix det leeek
SVN revision: 18209
2005-11-02 08:13:56 +00:00
Carsten Haitzler b10d8cce4a dragables are back (broken them accidentally)
SVN revision: 18189
2005-11-01 09:53:16 +00:00
Carsten Haitzler a080215a72 remove excess calcs.
add faster missed job reaper timer


SVN revision: 18183
2005-11-01 04:10:01 +00:00
Carsten Haitzler 3b20105112 minor leak--
SVN revision: 18142
2005-10-30 09:06:45 +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 83f010591d no more old textblock - gone. completely. tb2 renamed (as threatened) to
textblock. updated edje and e17.


SVN revision: 18054
2005-10-28 02:56:27 +00:00
Carsten Haitzler 208de4897a the first wave of evas smart object modes. commit hell #1. :) other things
still need updating in cvs - but i am sure others can do that :)


SVN revision: 18001
2005-10-27 02:44:36 +00:00
stffrdhrn c45a3f58b5 - If its not really edj, or if its corrupt dont crash
- Collect the error message now. should we just check for NULL when setting?


SVN revision: 17777
2005-10-23 00:15:45 +00:00
rbdpngn ccc8f7236f Set load errors in more cases.
SVN revision: 17617
2005-10-16 20:36:20 +00:00
Carsten Haitzler 8c01f55114 add embryo api to get the state of a part (handy eh?) :)
SVN revision: 17345
2005-10-09 09:49:53 +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
tsauerbeck 029624efdf warning fixes
SVN revision: 17271
2005-10-07 11:26:15 +00:00
tsauerbeck 2d8e793026 warn about cancelling non-existing timers, too
SVN revision: 17270
2005-10-07 11:24:07 +00:00
Carsten Haitzler a834628ff1 embryo debug stuff from till
SVN revision: 17259
2005-10-07 03:55:28 +00:00
Carsten Haitzler 503de08b68 code3 clean - move code to special files and maybe fix a bug?
SVN revision: 17187
2005-10-05 08:38:04 +00:00
tsauerbeck 13312e0779 set walking_actions to 1 while we're walking the actions list. this fixes an embryo induced segfault, horray.
SVN revision: 17167
2005-10-04 18:01:09 +00:00
tsauerbeck 556408a57e warnings suck
SVN revision: 17166
2005-10-04 17:57:20 +00:00
tsauerbeck 963f0729c1 don't access freed memory
SVN revision: 17164
2005-10-04 17:54:36 +00:00
Carsten Haitzler 48f4db7762 be more paranoid... ?
SVN revision: 17094
2005-10-01 04:15:15 +00:00
Carsten Haitzler 0c9911f9f4 ok - be mroe paranoid!
SVN revision: 17084
2005-09-30 04:40:31 +00:00
Carsten Haitzler 0fc27f512b i dunno - be more paranoid and shit!
SVN revision: 17026
2005-09-28 07:13:16 +00:00
Carsten Haitzler a4fc9aa9ba fix typos in edje docs patch from martin :)
SVN revision: 16821
2005-09-21 03:11:31 +00:00
Carsten Haitzler 4cc2291251 god man that was a bad typo!
SVN revision: 16784
2005-09-20 09:20:57 +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 d9933843b6 handle textblock fixed with and variable height as a result formatting with
min size calcs


SVN revision: 16780
2005-09-20 05:49:22 +00:00
Carsten Haitzler 8de24f02e4 comment--
SVN revision: 16761
2005-09-19 06:53:37 +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 ab19b67038 blame: TILMAN:
1.73         (tsauerbe 29-Oct-04): #ifndef ABS
1.74         (tsauerbe 29-Oct-04): #define ABS(x) (x < 0 ? -x : x)

no ()'x around x - thus the part finder couldnt calculate distance of valued
parts properly! :) now it finds the right numbered part :)


SVN revision: 16758
2005-09-19 03:13:23 +00:00
Carsten Haitzler 5a39de973b fix min size calc
SVN revision: 16745
2005-09-18 06:01:35 +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 4f71e046bf printf--
SVN revision: 16742
2005-09-18 05:24:57 +00:00
Carsten Haitzler 9fd23d550d handle embedded fotns for textblocks
SVN revision: 16741
2005-09-18 04:56: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
sebastid 8e0218f914 Don't include $(includedir) in searchpath, find headers in this source
and in the provided package CFLAGS.


SVN revision: 16470
2005-09-02 20:15:28 +00:00
Carsten Haitzler 8b2d57a76c temporary smart stacking workaround until we fix it properly with internal
sub-object lists


SVN revision: 16367
2005-08-26 06:53:37 +00:00
sebastid 16b65b2d89 Remove .
SVN revision: 16338
2005-08-25 13:16:21 +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 3c16cf0327 ug callback that deletes the object that is bing walked for callbacks...
ouch.. fix.


SVN revision: 15932
2005-07-28 13:39:23 +00:00
tsauerbeck ecdb983827 cleanup. formatting and stuff
SVN revision: 15908
2005-07-26 19:27:02 +00:00
Carsten Haitzler 24e1406536 pavel's patch. :)
SVN revision: 15905
2005-07-26 13:59:03 +00:00
Carsten Haitzler 6c9cca935c just in case....
SVN revision: 15541
2005-06-27 10:04:59 +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
Carsten Haitzler 9398e011ff fix up fnmatch weirdness
SVN revision: 15043
2005-05-31 23:02:29 +00:00
Carsten Haitzler 526a8099fa fix potential bugs in msg queu processing
SVN revision: 14933
2005-05-25 08:07:34 +00:00
tsauerbeck bae19f7bea the evas_hash_foreach callback is supposed to return a value ;)
SVN revision: 14930
2005-05-24 17:02:00 +00:00
Carsten Haitzler 43716e4698 let programmers know they are NORTY!
SVN revision: 14929
2005-05-24 05:42:36 +00:00
Carsten Haitzler 901dc350fd fix segv
SVN revision: 14927
2005-05-24 04:25:38 +00:00
tsauerbeck cfd247aac1 made edje_file_collection_list() check its argument before trying to do anything with it
SVN revision: 14923
2005-05-23 17:48:53 +00:00
tsauerbeck bd62aadc6e fix a silly bug that caused a memleak (i think)
SVN revision: 14922
2005-05-23 17:29:43 +00:00
Carsten Haitzler 396a16f47c commented out debug
SVN revision: 14921
2005-05-23 07:06:20 +00:00
Carsten Haitzler 3d0bd377dc spew out errors
SVN revision: 14621
2005-05-06 08:59:23 +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 2facd89808 removed unused function
SVN revision: 14407
2005-04-27 13:53:42 +00:00
Carsten Haitzler 1e8b4c5f34 fix some leaks
SVN revision: 14400
2005-04-27 08:11:58 +00:00
tsauerbeck 957c89d4a2 quit on 'q'
SVN revision: 14318
2005-04-24 09:13:26 +00:00
Carsten Haitzler c3d08acb8b file and collection cache - this should remove a lot of file io... :)
SVN revision: 14081
2005-04-03 11:43:00 +00:00
tsauerbeck 6425209481 optimization. to check whether a string is empty (len == 0), we don't need to run strlen, checking whether the first char is the terminating NUL is enough
SVN revision: 14049
2005-03-31 17:39:31 +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 9f1af178f3 tweak. if edje_fontset_append_set() is passed NULL, free the global variable and set it to NULL instead of not doing anything
SVN revision: 13964
2005-03-28 14:26:29 +00:00
tsauerbeck c095b1e9fd fixed a potential segfault
SVN revision: 13963
2005-03-28 14:14:15 +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 a4449501a3 fixed a memory leak that was introduced with the recent decompiler changes
SVN revision: 13827
2005-03-21 12:12:51 +00:00
tsauerbeck 7858393939 no need to assign size at that point again, it's done in the loop
SVN revision: 13820
2005-03-20 22:22:23 +00:00
tsauerbeck 0a39ed2865 fixed text fitting on both the x and the y axis
SVN revision: 13819
2005-03-20 22:16:24 +00:00
tsauerbeck cdbe6efc98 warning fixes
SVN revision: 13818
2005-03-20 21:56:40 +00:00
Carsten Haitzler 6938a5eb5f suport fontset appends
SVN revision: 13808
2005-03-20 16:49:10 +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
rephorm 62895b1d8f use color classes when tweening.
SVN revision: 13641
2005-03-07 00:22:58 +00:00
tsauerbeck ef57cf80b3 moved the include directory
SVN revision: 13496
2005-02-24 15:34:43 +00:00
sebastid 072f4fe057 viminfo
SVN revision: 13492
2005-02-24 10:25:40 +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 9e5eed53b1 working on fixing job loss...
SVN revision: 12962
2005-01-14 04:50:29 +00:00
Carsten Haitzler e7ff787ea6 a workaround for myseterious job loss...
SVN revision: 12954
2005-01-13 15:42:56 +00:00
Dan Sinclair 64fd36e92f - clean up the _edje_color_class_hash and _edje_text_class_hash on
edje_shutdown


SVN revision: 12943
2005-01-13 06:29:52 +00:00
Dan Sinclair 166867f286 - this needs to be initialized
SVN revision: 12941
2005-01-13 06:00:37 +00:00