aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje (follow)
Commit message (Collapse)AuthorAgeFilesLines
* meson - dont install eina bench cmp and use install_modeCarsten Haitzler (Rasterman)2018-12-271-3/+2
|
* meosn - fix install of scripts and bins and their timestamps and modesCarsten Haitzler (Rasterman)2018-12-271-0/+4
| | | | | | | i was comparing the bindir results of aurtofoo vs meson and some things were missing/poking out at me. this makes them be in sync - install the ewl_wl+test obnaries, ensure to chmod +x+r etc. scritps AND install them
* meson: enable cross compilingMarcel Hollerbach2018-12-071-3/+8
| | | | | | | | | | | | the inital work for this commit was coming from `Mark van der Putten`. In order to not have more options for this, the idea came up to use mesons autodetection using PATH. If a cross file is specified, the binaries are used from the system, rather than from the intree. (Which means --cross-file has the dependency of efl on the buildsystem) Differential Revision: https://phab.enlightenment.org/D7415
* meson: abstract edje_cc exec linesMarcel Hollerbach2018-12-061-0/+4
| | | | | | the array is calling the shell etc. this makes cross building easier. Differential Revision: https://phab.enlightenment.org/D7413
* edje cc - warn - use correct free prorotype for has free funcCarsten Haitzler (Rasterman)2018-11-091-1/+7
|
* edje player - fix ridiculous use of srncatCarsten Haitzler (Rasterman)2018-11-091-3/+6
| | | | | | | | | | | | | | another case of blind strncat usage rthat seemingly did a: strcat(buf, str); -> strncat(buf, str, strlen(tr)); which is the most pointless thing to do ever. it's no better. it's worse as it makes it harder to identify issues. thanks these days compilers warn about this as a stupid thing to do... so i looked at it and fixed it properly. again - don't do this stuff above - it's pointless. patches that do this should be rejected. fix it properly or leave it as-is.
* edje_cc - warn - fix buf truncation by snprintf by extending buffersCarsten Haitzler (Rasterman)2018-11-091-3/+3
|
* edje_cc - warn - fix free cb to be of right prototypeCarsten Haitzler (Rasterman)2018-11-091-1/+7
| | | | wrap by correctly typed func.
* edje_cc_parse - use memcpy instead of strncpy as we are truncatingCarsten Haitzler (Rasterman)2018-11-091-1/+1
| | | | | we mean it here so it's right - use memcpy as its equivalent without warnings.
* edje_cc_parse - warn - make buffers bigger to avoid truncationCarsten Haitzler (Rasterman)2018-11-091-1/+1
|
* codegen: ensure we include the filename and not the pathMarcel Hollerbach2018-11-021-1/+2
| | | | | | | | | this mirrors the behaviour of eolian & eolian_cxx. Usally a generator just generates the files side by side, the directory then needs to be included anyways. thus adding the include with another subdirectory is unusal. Differential Revision: https://phab.enlightenment.org/D7235
* here comes mesonMarcel Hollerbach2018-10-022-0/+125
| | | | | | | | | | | | | | | | | | | | | | | a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
* edje_cc: change .mo file write location to be relative to the .edj fileMike Blumenkrantz2018-08-081-7/+16
| | | | | | | | | | previously this would attempt to write the .mo file to the same directory that the .po file was found in, which is invalid in cases such as distcheck where the source directory is not writable @fix Differential Revision: https://phab.enlightenment.org/D6636
* Revert "edje_cc: temporarily disable aborting compile when namespace ↵Mike Blumenkrantz2018-07-061-15/+4
| | | | | | | | | | | | | | | | | | | | validation fails" Summary: This reverts commit 0dc492087ed048f153bc45f488f1504034fdcd30. there are no longer any errors here so this should fail the build any time errors are introduced Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6525
* edje_cc: disable efreetd connectionMike Blumenkrantz2018-07-061-0/+1
| | | | | | | | | | edje_cc does not use any of this functionality, and it's problematic at build time since efreetd is not run in-tree and does not use in-tree libraries ref T6713 Differential Revision: https://phab.enlightenment.org/D6514
* edje_cc: add 'skip_namespace_validation' keywordMike Blumenkrantz2018-07-054-16/+52
| | | | | | | | | | | | | | | | | | | | this pairs with the newly-added -N option to denote groups in edc files which should not be checked for correct namespacing the option is useful for cases such as music_control.edc, where a group has been shipping for years with API signals like "btn,clicked" which cannot be changed since they are used in an external application and compatibility must be maintained the documentation for this option explicitly states that it must only be used inside an #ifdef SKIP_NAMESPACE_VALIDATION block, allowing this keyword to be easily removed at a later point ref T7072 @feature Differential Revision: https://phab.enlightenment.org/D6388
* Revert "edje: code refactoring for readibility."Hermet Park2018-06-214-37/+37
| | | | | | | | This reverts commit 7fb47fc064b8f429242b4d5cdf57071475087821. subsequential revert for previous one. 90a89d1ab2b5d23b29ad0f2680b77b5ba7f56b42.
* Revert "edje: fix a regression error by ↵Hermet Park2018-06-211-1/+1
| | | | | | | | | | | | 7fb47fc064b8f429242b4d5cdf57071475087821." This reverts commit 475c93fd7599badad0c073e5eb025b92481b53ec. long time after touch, forgot that eet data has key-data pairing structure. this change would break theme compatibility. Thanks bu5hm4n for pointing out this.
* edje_cc: temporarily disable aborting compile when namespace validation failsMike Blumenkrantz2018-06-151-4/+15
| | | | | | | | | | | | | | | | | | | | | | | Summary: there are far too many issues here for me to fix them all, the authors of these failures should be responsible for helping to clean this up revert this patch once all issues are resolved ref T6966 Depends on D6042 Reviewers: cedric, Hermet, stephenmhouston, devilhorns Reviewed By: stephenmhouston Subscribers: #committers Tags: #efl Maniphest Tasks: T6966 Differential Revision: https://phab.enlightenment.org/D6215
* edje_cc: add option for verifying namespace usageMike Blumenkrantz2018-06-153-0/+86
| | | | | | | | | | | | | | | | | | | | | | | Summary: when -N is passed, parts and program signals will be checked for traditional namespacing based on the group name, causing compile failure if inconsistency is detected @feature ref T6911 Reviewers: cedric, devilhorns Reviewed By: cedric Subscribers: #committers Tags: #efl Maniphest Tasks: T6911 Differential Revision: https://phab.enlightenment.org/D6036
* edje: fix a regression error by 7fb47fc064b8f429242b4d5cdf57071475087821.Hermet Park2018-06-071-1/+1
| | | | That shouldn't be touched, just confused by its name.
* edje: code refactoring for readibility.Hermet Park2018-06-074-35/+35
| | | | | collection.part is too ambigious, since group has parts as well. Normally we regard it as "name" (of group) instead of part.
* edje_cc: fixup edje_collections_lookup hash ids during collection pruningMike Blumenkrantz2018-06-071-4/+9
| | | | | | | | | | | | | | | | | | | | | Summary: unused groups are pruned during this stage of edje_cc, and it becomes necessary to update the values in this hash in order to maintain the key:value pairing between the Edje_Part_Collection_Directory_Entry and its corresponding Edje_Part_Collection so that lookups return consistent results after pruning has completed @fix Reviewers: cedric, Hermet Reviewed By: Hermet Subscribers: Hermet, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6041
* edje_cc: do not keep the filedescriptorMarcel Hollerbach2018-05-141-6/+9
| | | | | | | | | | | we have a limited number of filedescriptors available, a theme can consist out of a number of groups with scripts, keeping the fd for later use is going above the maximum number of open files, thus use the path of the file, not the fd to access the file. fix T6922 Differential Revision: https://phab.enlightenment.org/D6159
* edje_cc: Fix coverity issue of accessing invalid memory.SubhransuSekhar Mohanty2018-05-111-7/+1
|
* edje_cc: resolve possible dereferencing freed pointerWooHyun Jung2018-05-111-0/+1
|
* Revert "edje_cc: fix default color_class colors"Cedric Bail2018-05-021-15/+15
| | | | | | | | | | This reverts commit d83ebb69808abdd067aa88dfeb7cd5a8216a9d90. Had to revert this as it break backward compatibility with what theme expect to be the default value. We could reintroduce this with a version check if necessary. T6885
* edje edje_cc: fix memory leak.Hermet Park2018-04-201-0/+3
| | | | | | | This token has temporary alloc'd memory. We should free it before loosing its ptr address. @fix
* edje: Don't access a garbage pointer.Hermet Park2018-04-201-0/+1
| | | | | set null to avoid multiple access. At 221 line, it tries to free tmp again.
* edje: fix potential memory leak.Hermet Park2018-04-091-0/+7
| | | | | | | next_token() requires free() for it's returned value and a string attribute. Here token usage didn't take care of the memory freeing. @fix
* edje: fix potential memory leak.Hermet Park2018-04-091-1/+19
| | | | | | | next_token() requires free() for it's returned value and a string attribute Here logic didn't take care of the memory usage. @fix
* edje: add ability to reference images from other edje filesMike Blumenkrantz2018-02-285-10/+82
| | | | | | | | | | | | | | | | | | | this uses the just-added "id" property to allow referencing images by name from that theme. example: =FILE1= id: "myfile"; images.image: "someimage.png" COMP; =FILE2= requires: "myfile"; images.image: "someimage.png" EXTERNAL "myfile"; FILE2 will now load someimage.png from FILE1 at runtime if FILE1 is currently opened in edje, and FILE1 will be kept open until FILE2 is closed @feature
* edje_cc: add "id" toplevel propertyMike Blumenkrantz2018-02-281-0/+26
| | | | this can be used by edje files to identify themselves
* edje: reformat bin/ c filesMike Blumenkrantz2018-02-2818-6103/+6446
| | | | | a lot of this was unreadable due to mixed tabs/spaces or just random formatting
* edje: EDJE_IMAGE_SOURCE_TYPE_EXTERNAL -> EDJE_IMAGE_SOURCE_TYPE_USERMike Blumenkrantz2018-02-283-5/+5
| | | | no functional changes, just a confusing define rename
* Windows: remove symlink() usage in edje_decc and evil binariesVincent Torri2018-01-301-1/+3
|
* edje_cc: check HAVE_SYS_RESOURCE_H presence for rlimit usageMike Blumenkrantz2018-01-271-1/+8
| | | | fix T6645
* edje_cc: simplify thread tracking for exiting on signalMike Blumenkrantz2018-01-261-49/+33
|
* edje_cc: make -thread optionMike Blumenkrantz2018-01-263-107/+162
| | | | | | | | | | | this option was broken due to immediately triggering EMFILE errors during thread initialization and then attempting to exit while threads were still ongoing some work is still needed to make this an improvement over the current default of not using threads @fix
* Fix and simpligy windows behaviour.Andy Williams2017-12-311-0/+1
| | | | Author: Vincent Torri
* efl: drop deprecated Encoding key from desktop filesRoss Vandegrift2017-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | Summary: The Encoding key is no longer required, all desktop files are assumed to be UTF-8 encoded. See details at: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html Fix various typos and misspellings lintian, Debian's package checker, uses strings to check for common typos in compiled binaries. This change fixes the ones it identified in 1.20.6. Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5584 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* edje_cc: Not reset inherit_script during group inheritJeeyong Um2017-11-211-1/+2
| | | | | | | If group inherits after setting "inherit_script: 1;", inherit_script is overwritten by the value of parent group. However, inherit_script indicates user wants to inherit script in this context, it should not be initialized as false.
* edje_cc: Fix successive script inheritanceJeeyong Um2017-11-211-22/+7
|
* edje: add event for inform about circular dependencyVyacheslav Reutskiy2017-11-131-0/+22
| | | | | | | This commit add the event "circular,dependency" for edje object. Given event is called when edje found the circular dependency between parts in object. This event will be usefull and informative paired with Edje_Edit API.
* edje_cc: Extract function to build stack ending with wildcarddevs/jpeg/itemsJeeyong Um2017-11-101-22/+23
|
* edje_pick: Fix segfault due to wrong memory freeJeeyong Um2017-11-071-10/+10
|
* edje_cc_script: remove build warningSungtaek Hong2017-11-041-1/+1
| | | | | | | | | | Summary: initiate pointer var with NULL to remove build warning Reviewers: conr2d Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5423
* edje_recc: don't use negative exit code in a /bin/sh scriptDerek Foreman2017-11-031-1/+1
| | | | | | | | | | | Apparently this isn't well supported by dash, which will print an error and return a 2, where zsh and bash will return 255. Explicitly returning 255 seems least surprising. see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772322 #IHaveNoIdeaWhatThisScriptDoes
* edje_cc: Fix shadow warning (global scope)Jean-Philippe Andre2017-11-011-11/+11
|
* edje_cc: move offset_scale to correct place and fix docAndrii Kroitor2017-10-311-25/+27
|