path: root/src/bin/edje (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-27meson - dont install eina bench cmp and use install_modeCarsten Haitzler (Rasterman)1-3/+2
2018-12-27meosn - fix install of scripts and bins and their timestamps and modesCarsten Haitzler (Rasterman)1-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
2018-12-07meson: enable cross compilingMarcel Hollerbach1-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
2018-12-06meson: abstract edje_cc exec linesMarcel Hollerbach1-0/+4
the array is calling the shell etc. this makes cross building easier. Differential Revision: https://phab.enlightenment.org/D7413
2018-12-06meson: abstract edje_cc exec linesMarcel Hollerbach1-0/+4
the array is calling the shell etc. this makes cross building easier. Differential Revision: https://phab.enlightenment.org/D7413
2018-11-09edje cc - warn - use correct free prorotype for has free funcCarsten Haitzler (Rasterman)1-1/+7
2018-11-09edje player - fix ridiculous use of srncatCarsten Haitzler (Rasterman)1-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.
2018-11-09edje_cc - warn - fix buf truncation by snprintf by extending buffersCarsten Haitzler (Rasterman)1-3/+3
2018-11-09edje_cc - warn - fix free cb to be of right prototypeCarsten Haitzler (Rasterman)1-1/+7
wrap by correctly typed func.
2018-11-09edje_cc_parse - use memcpy instead of strncpy as we are truncatingCarsten Haitzler (Rasterman)1-1/+1
we mean it here so it's right - use memcpy as its equivalent without warnings.
2018-11-09edje_cc_parse - warn - make buffers bigger to avoid truncationCarsten Haitzler (Rasterman)1-1/+1
2018-11-02codegen: ensure we include the filename and not the pathMarcel Hollerbach1-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
2018-10-02here comes mesonMarcel Hollerbach2-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
2018-08-08edje_cc: change .mo file write location to be relative to the .edj fileMike Blumenkrantz1-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
2018-07-06Revert "edje_cc: temporarily disable aborting compile when namespace ↵Mike Blumenkrantz1-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
2018-07-06edje_cc: disable efreetd connectionMike Blumenkrantz1-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
2018-07-05edje_cc: add 'skip_namespace_validation' keywordMike Blumenkrantz4-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
2018-06-21Revert "edje: code refactoring for readibility."Hermet Park4-37/+37
This reverts commit 7fb47fc064b8f429242b4d5cdf57071475087821. subsequential revert for previous one. 90a89d1ab2b5d23b29ad0f2680b77b5ba7f56b42.
2018-06-21Revert "edje: fix a regression error by ↵Hermet Park1-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.
2018-06-15edje_cc: temporarily disable aborting compile when namespace validation failsMike Blumenkrantz1-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
2018-06-15edje_cc: add option for verifying namespace usageMike Blumenkrantz3-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
2018-06-07edje: fix a regression error by 7fb47fc064b8f429242b4d5cdf57071475087821.Hermet Park1-1/+1
That shouldn't be touched, just confused by its name.
2018-06-07edje: code refactoring for readibility.Hermet Park4-35/+35
collection.part is too ambigious, since group has parts as well. Normally we regard it as "name" (of group) instead of part.
2018-06-07edje_cc: fixup edje_collections_lookup hash ids during collection pruningMike Blumenkrantz1-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
2018-05-14edje_cc: do not keep the filedescriptorMarcel Hollerbach1-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
2018-05-11edje_cc: Fix coverity issue of accessing invalid memory.SubhransuSekhar Mohanty1-7/+1
2018-05-11edje_cc: resolve possible dereferencing freed pointerWooHyun Jung1-0/+1
2018-05-02Revert "edje_cc: fix default color_class colors"Cedric Bail1-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
2018-04-20edje edje_cc: fix memory leak.Hermet Park1-0/+3
This token has temporary alloc'd memory. We should free it before loosing its ptr address. @fix
2018-04-20edje: Don't access a garbage pointer.Hermet Park1-0/+1
set null to avoid multiple access. At 221 line, it tries to free tmp again.
2018-04-09edje: fix potential memory leak.Hermet Park1-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
2018-04-09edje: fix potential memory leak.Hermet Park1-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
2018-02-28edje: add ability to reference images from other edje filesMike Blumenkrantz5-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
2018-02-28edje_cc: add "id" toplevel propertyMike Blumenkrantz1-0/+26
this can be used by edje files to identify themselves
2018-02-28edje: reformat bin/ c filesMike Blumenkrantz18-6103/+6446
a lot of this was unreadable due to mixed tabs/spaces or just random formatting
no functional changes, just a confusing define rename
2018-01-30Windows: remove symlink() usage in edje_decc and evil binariesVincent Torri1-1/+3
2018-01-27edje_cc: check HAVE_SYS_RESOURCE_H presence for rlimit usageMike Blumenkrantz1-1/+8
fix T6645
2018-01-26edje_cc: simplify thread tracking for exiting on signalMike Blumenkrantz1-49/+33
2018-01-26edje_cc: make -thread optionMike Blumenkrantz3-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
2017-12-31Fix and simpligy windows behaviour.Andy Williams1-0/+1
Author: Vincent Torri
2017-12-13efl: drop deprecated Encoding key from desktop filesRoss Vandegrift1-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>
2017-11-21edje_cc: Not reset inherit_script during group inheritJeeyong Um1-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.
2017-11-21edje_cc: Fix successive script inheritanceJeeyong Um1-22/+7
2017-11-13edje: add event for inform about circular dependencyVyacheslav Reutskiy1-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.
2017-11-10edje_cc: Extract function to build stack ending with wildcarddevs/jpeg/itemsJeeyong Um1-22/+23
2017-11-07edje_pick: Fix segfault due to wrong memory freeJeeyong Um1-10/+10
2017-11-04edje_cc_script: remove build warningSungtaek Hong1-1/+1
Summary: initiate pointer var with NULL to remove build warning Reviewers: conr2d Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5423
2017-11-03edje_recc: don't use negative exit code in a /bin/sh scriptDerek Foreman1-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
2017-11-01edje_cc: Fix shadow warning (global scope)Jean-Philippe Andre1-11/+11