Skip to content

Instantly share code, notes, and snippets.

View marcelhollerbach's full-sized avatar

Marcel Hollerbach marcelhollerbach

View GitHub Profile
@marcelhollerbach
marcelhollerbach / okra.txt
Created June 1, 2017 10:03
Luncher crash
#0 0x00007ffbe48e868d in pause () at /usr/lib/libpthread.so.0
#1 0x00000000005f2ac7 in e_alert_show () at src/bin/e_alert.c:43
#2 0x00000000005964ef in _e_crash () at src/bin/e_signals.c:96
#3 0x0000000000596428 in e_sigseg_act (x=11, info=0x7ffc0968aa30, data=0x7ffc0968a900) at src/bin/e_signals.c:106
#4 0x00007ffbe48e8fe0 in <signal handler called> () at /usr/lib/libpthread.so.0
#5 0x00007ffbc469a4f3 in _bar_exec_new_show (data=0x1fa5be0, e=0x80000002364d5416, obj=0x800000041e4d5453, event_data=0x0) at src/modules/luncher/bar.c:980
#6 0x00007ffbebf5170f in _eo_evas_object_cb (data=0x202f730, event=0x7ffc0968afa0) at lib/evas/canvas/evas_callbacks.c:184
#7 0x00007ffbe53ee399 in _event_callback_call (obj_id=0x800000041e4d5453, pd=0x1508980, desc=0x7ffbe584da40 <_EFL_GFX_EVENT_SHOW>, event_info=0x0, legacy_compare=1 '\001') at lib/eo/eo_base_class.c:1496
#8 0x00007ffbe53ebdd3 in _efl_object_event_callback_legacy_call (obj_id=0x800000041e4d5453, pd=0x1508980, desc=0x7ffbe584da40 <_EFL_GFX_EVENT_SHOW>,
#0 0x00007f664979768d in pause () at /usr/lib/libpthread.so.0
#1 0x00000000005f2ac7 in e_alert_show () at src/bin/e_alert.c:43
#2 0x00000000005964ef in _e_crash () at src/bin/e_signals.c:96
#3 0x00000000005965a8 in e_sigabrt_act (x=6, info=0x7ffc6f08d470, data=0x7ffc6f08d340) at src/bin/e_signals.c:142
#4 0x00007f6649797fe0 in <signal handler called> () at /usr/lib/libpthread.so.0
#5 0x00007f6648ceca10 in raise () at /usr/lib/libc.so.6
#6 0x00007f6648cee13a in abort () at /usr/lib/libc.so.6
#7 0x00007f664a0164ce in eina_log_print_unlocked (domain=56, level=EINA_LOG_LEVEL_CRITICAL, file=0x7f665105663c "lib/evas/canvas/evas_events.c", fnc=0x7f6651056b46 "_evas_event_feed_check", line=37, fmt=0x7f6651056b5d "Feeding new input e
vents from a post-event callback is risky!", args=0x7ffc6f08edd0) at lib/eina/eina_log.c:1456
#8 0x00007f664a015f38 in eina_log_print (domain=56, level=EINA_LOG_LEVEL_CRITICAL, file=0x7f665105663c "lib/evas/canvas/evas_events.c", fnc=0x7f6651056b46 "_evas_event_feed_check", line=
typedef enum {
ECORE_EVAS_SELECTION_TYPE_PRIMARY,
ECORE_EVAS_SELECTION_TYPE_SECONDARY,
ECORE_EVAS_SELECTION_TYPE_CLIPBOARD,
} Ecore_Evas_Selection_Type;
typedef enum {
/** For matching every possible target */
ECORE_EVAS_FORMAT_TARGETS = -1,
@marcelhollerbach
marcelhollerbach / sample.c
Created May 20, 2017 12:27
Eolian mixin example
#define EFL_BETA_API_SUPPORT
#define EFL_EO_API_SUPPORT
#include <Eo.h>
#include "sample.eo.h"
typedef struct {
} sample_Data;
EOLIAN static void
# Maintainer: Marcel Hollerbach mail@bu5hm4n.de
_pkgname=anna
pkgname=$_pkgname
pkgdesc="Spawny with a efl greeter"
pkgver=0.1
pkgrel=1
url="http://github.com/marcelhollerbach/anna"
arch=('i686' 'x86_64')
license=('BSD')
depends=('efl' 'protobuf-c')
Idea for generating 'something':
#1 create a grid, and fill in every position if the grid pos is
Living, Industry, Shopping. So it does make sense and looks good
#2 calculate how much traffic we could need in every single grid pos (neightboor ceels are connected)
#3 calculate a "big-street net" from point to point of each grid
A living area for example does not need a a direct big street access, only a big street in a distance of 1-2 cells (Think more about that)
#4 calculate a "medium" street net for each grid cell (according to cell type)
collections {
filters {
filter {
name: "blurbackground";
script {
padding_set(0)
blur ({100})
}
}
}
#include <Elementary.h>
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *o, *bx;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Main", "Hello, World!");
static void
_obj_info_gl_selected(void *data EINA_UNUSED, Evas_Object *pobj EINA_UNUSED,
void *event_info)
{
Efl_Dbg_Info *info = elm_object_item_data_get(event_info);
/* if the user clicks on a property which is a pointer, try to highlight it*/
if (eina_value_type_get(&info->value) == EINA_VALUE_TYPE_UINT64)
{
All tasks (all, dist, dist-clean, release) have dependencys.
Dependencys can be existing-files, other tasks.
There should be the possibility to "savecheck" the configuration, so all existing files are really existing. (Usefull to do before push)
Most buildtools are dependency driven, this is bad for the above case, looking for existing files is a problem, if they are just created at build time.