Commit Graph

545 Commits

Author SHA1 Message Date
Mike Blumenkrantz fbde0824d1 Revert "Do not add /usr/share twice for XDG_DATA_DIRS"
This reverts commit e3eda1d690.

hardcoding directory paths is not a solution that I want to see used for this issue.
2015-01-29 12:43:20 -05:00
Mike Blumenkrantz 9f36dc1b43 Revert "Include /usr/local too in the no-duplication of XDG_DATA_DIRS"
This reverts commit ae3410a0ba.
2015-01-29 12:43:14 -05:00
Thanatermesis ae3410a0ba Include /usr/local too in the no-duplication of XDG_DATA_DIRS
@fix and improves the previous fix

(cherry picked from commit e0dcab584b)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:14 -04:00
Thanatermesis e3eda1d690 Do not add /usr/share twice for XDG_DATA_DIRS
This commit @fix a duplicated entry in XDG_DATA_DIRS which is also
added prematurely, if eina_prefix_get is already /usr (most of the
times) we dont want to add it here

(cherry picked from commit f42f5f1cfe)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:04 -04:00
Stefan Schmidt eccf163aa8 e_main: de-e_comp_get()ify 2015-01-23 13:43:07 +01:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Chris Michael b63b2d548e call e_powersave_init Before we call e_screensaver_init because the
init of e_screensaver sets up an event handler for the
powersave_update event (which would be 0 unless powersave is init
first).

Thanks to dt9 for the report ! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:14:36 -05:00
Mike Blumenkrantz de792341fb don't call elm_shutdown() for now
force iterating the main loop when it's expected to have stopped guarantees crashes for most of e
2014-11-22 08:33:48 -05:00
Mike Blumenkrantz a44b172607 minor tweaks to prevent harmless invalid reads during restarts with windows open 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Sebastian Dransfeld 764755eb9f e: Add preferred desktop environment for apps
In preferences we show which external applications can be used for
setting preferences. If several desktop environments are installed, this
list will have several duplicates, as there can be many different apps
for setting a preference.

With this setting we can filter out for one desktop_environment.

@feature
2014-09-18 10:51:42 +02:00
Mike Blumenkrantz ec1cd25cfe rename E19* defines/texts to just E so they don't need to keep being updated 2014-09-09 12:30:50 -04:00
Carsten Haitzler dec56e87da e - fix xdg runtime dir creation withotu deletion
this fixes T1366 - uses tmp dot file in xdg dir to mark it for
deletion to survive e restarts and crashes.
2014-07-07 14:46:35 +09:00
Sebastian Dransfeld 2247fab472 e-xdg: augment XDG_CONFIG_DIRS as well 2014-06-11 11:18:54 +02:00
Sebastian Dransfeld edf3f90ca3 e: set XDG_MENU_PREFIX so menus get merged 2014-06-11 11:08:26 +02:00
Carsten Haitzler 3bab4cbb05 enable ptrace of yama ptrace scope disabled on linux
this apparently re-enabled ptracing if the kernel says "nooo".
@fix
2014-05-12 17:37:04 +09:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -04:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 442f3904ed remove unused var 2014-02-06 12:55:49 -05:00
Mike Blumenkrantz a3fbcc339b Revert "Revert "Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses"""
This reverts commit 91b3f2e0e1.

revert wars part 4: the blizzard blitz!

the main point of freezing idlers here was not, in fact, to optimize, but to block an infinite loop which pegged the cpu until screensaver ended. this solution should be less issue-prone for the one person who had issues with the previous fix.
2014-02-05 13:22:42 -05:00
Mike Blumenkrantz ad8b4e6d4d track main loop edje freeze state 2014-02-03 11:58:02 -05:00
Mike Blumenkrantz 82dd3443ea always thaw edje when freezing main idlers
this prevents edje from being stuck in the frozen state upon wakeup
2014-01-28 20:45:43 -05:00
Mike Blumenkrantz 55bc44c9b8 feature: main idlers now freeze during screensaver to conserve power 2014-01-27 21:44:51 -05:00
Mike Blumenkrantz 7e0efcc508 remove e_main idler api
this was pretty old/legacy and looked like it would fall over pretty easily. there's no users and I see no use for it, so it goes bye bye

removals: e_main_idler_before* api
2014-01-27 16:15:07 -05:00
Mike Blumenkrantz ddc89ad46b reorder some startup stuff to not fail when ecore events haven't been initialized
eta until wayland-fb bug reports start rolling in: -5 minutes
2014-01-16 20:09:45 -05:00
Mike Blumenkrantz 12d7405a0f huge wl fixup (wayland clients actually working again)
* try to clear up build system for separating out ecore-x

* add #ifdefs for lots of ecore-x stuff

* break out some internal e wl functions for reuse in api

* store wl surface buffers as an inlist

* add protocol-specific client compositor data

** move lots of X client attributes here

* add pixmap type checks to a number of X-specific things, such as grabinput, to block them for non-X clients

* rearrange startup order to work with wayland

* move X screensaver code to e_comp_x

* flag modules still requiring X with -DNEED_X
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 98f1a9f036 feature: E_FIRST_FRAME env variable
requested by cedric for profiling, works just like similar elm variable
2014-01-14 20:28:56 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 28b157c385 bugfix: startup splash now updates the version number more reliably
e_init_show() sets its own strings now so they get set on existing objects instead of failing silently
2013-12-26 22:29:29 -05:00
Mike Blumenkrantz a00b8354b5 bugfix: infinite printing of SLEEP with release build
T690
2013-12-24 20:52:59 -05:00
Mike Blumenkrantz 428d2adb00 errr...new desklock variable is meant to be !checked to see if the user has ever successfully unlocked 2013-12-19 11:00:28 -05:00
Mike Blumenkrantz cc9c130c24 clean up desklock showing on startup, add env var for checking unlocked state
desklock's layer is below the start splash layer, so this can just be shown any time regardless of whether it's enabled. security++

previously the fact that e was restarting could break out of desklocked startup due to how the env variables were set. now there is a new variable which only gets set when the screen is locked which will force lock on startup even during restarts

T681
2013-12-19 10:55:56 -05:00
Sebastian Dransfeld e891ac7c16 Remove assignment to unused variable
p isn't used after this, so no need to assign it.

Fixes CID 1039757
2013-12-07 22:13:37 +01:00
Mike Blumenkrantz abff6f1427 conf2 and related subsystems were a fun and useful experiment, but this is not their time. removed.
see econf.git
2013-11-25 16:04:01 -05:00
Carsten Haitzler a1d1e40559 elm integration improvement - copy themes over, fix includes and null config
provide a config upgrade path to version 13 which nulls/frees out
theme config (save memory - but more housekeeping), and that also
copeis ofer all files in ~/.e/e/themes to ~/.elementary/themes so you
don't lose themes you personally have and deletes the old e theme dir
if this succeeds.

also remove all #includes of Elementary.h and Emotion.h from single c
files as they are requirements now and in e.h

also remove theme path vars and code as theme path is no longer used.
2013-11-01 15:53:05 +09:00
Carsten Haitzler 4b4a51d189 elm theme use - use elementary only for themes and remove e's own theme
now e only uses elementary's theme. this is to stop the bitrot and
forking of e's theme vs the unified elm theme that has everything for
e in it already. this obviously makes elm a requirement of e18 on, and
this also notes that emotion is always in efl these days, so its no
longer an option, and ecore-imf is no longer used as edje does the
entires now itself. in future it'll all be elm.

this is a major unification point for themes for elm and e. this will
need some testing, but everything seems to work day-to-day, but theme
selector is untested.

this also removes the theme selector for splash as that is now simply
unified with the same theme as everything else.
2013-10-31 23:36:22 +09:00
Carsten Haitzler 6eca480e76 make emotion as well as elm requirements, ecore-imf is not used anymore. 2013-10-31 17:12:32 +09:00
discomfitor 4697be012d move backlight shutdown after comp shutdown since we do backlight fading in comp 2013-09-20 17:17:49 +01:00
Carsten Haitzler 18bff67cc1 we are already at 62 shutdown entires. push up to 80 as 64 is almost full. 2013-09-12 13:59:27 +09:00
Sebastian Dransfeld 9fe06250d8 e: Use same XDG_RUNTIME_DIR template as efreet 2013-08-07 10:46:39 +02:00
Chris Michael 9e9651aad5 Setup XDG_RUNTIME_DIR before doing ecore_imf init.
NB: Ecore_IMF (when it uses the wayland module) needs to have
xdg_runtime_dir set. This change ensures that env variable is set
before we init ecore_imf.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-26 12:05:52 +01:00
Sebastian Dransfeld 7971c68634 e: Remove unneeded variable 2013-06-21 09:30:08 +02:00
Sebastian Dransfeld dd27589470 e: Create a temp XDG_RUNTIME_DIR if not set
Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700
2013-06-20 13:29:37 +02:00
Mike Blumenkrantz 5b3408bb85 s/E17/E18/ 2013-06-18 15:44:57 +01:00
Mike Blumenkrantz 3198e442ad move comp shutdown before border shutdown to fix some hash failures 2013-06-14 14:41:37 +01:00
Yossi Kantor 7d9b778b76 BUGFIX: Smart policy maximize on restart 2013-06-13 07:23:08 +01:00
Chris Michael 45b4d9f36f Move xinerama init until After randr has setup the screens.
NB: Old Man, THIS should fix your black screen problem ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 12:50:17 +01:00
Chris Michael 04b331ecb3 Move setting of XDG_RUNTIME_DIR to e_main
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 07:05:00 +01:00
Mike Blumenkrantz 107e32422e fix conf2/gettext init debacle
phab review issue
2013-05-21 14:02:04 +01:00
Mike Blumenkrantz f72b309bb6 call comp populate after borders have been created in startup to reduce number of comp wins created 2013-05-21 11:21:05 +01:00
Igor Murzov b48114152a Better gettext usage for conf2 module 2013-05-11 12:15:01 +04:00
Mike Blumenkrantz 5a90516141 move dnd init again so it doesn't break during comp init 2013-04-29 09:46:14 +01:00
Carsten Haitzler 59c4e0f81b fix race condtion in comp caused by delayed job doing the populate.
by making a job to delay population we play a race condition game with
initting of other bits of e. this means the comp may or may not have
been filled by the container layer winds before other internal events
and actions start making comp wins and setting layers. this means that
things like e_comp_win_find() for a con->layers[n].win may fail... as
this has yet to be added... and thus.. we crash in startup. it's a
race condition.

so this removed the delay job and makes population of the comp
explicit. it puts the population into the hnds of the e_main init
after a manager has been created and after a container is created, and
thus laer wins created, so it can walk the x window stack correctly,
but before anything else is done. this means that we will be properly
inited at this point without a race condition.
2013-04-26 16:31:29 +09:00
Mike Blumenkrantz d10c5b0cf7 giant comp rejiggering commit #LAST:
* merge init splash to comp canvas

* remove enlightenment_init exe
2013-04-18 08:30:07 +01:00
Carsten Haitzler f2b31aa7a3 if comp init fails - dont use dialogs to show it now its in core.. and
on failure.. exit instead of segving. :)
2013-04-17 09:12:03 +09:00
Chris Michael c74a796e02 Initialize keyboard before initializing comp module.
This is needed so that setxkbmap runs before we initialize the wayland
compositor So that wayland clients can use the proper keymap.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Cedric Bail cd28bc8145 e: add support for systemd user session. 2013-03-30 18:14:26 +09:00
Carsten Haitzler c66e21aa9a me. valgrind. happy fun times together. methinks we should hasve more
people do this.
2013-03-30 14:11:07 +09:00
Mike Blumenkrantz 70d68a30e0 giant comp rejiggering commit #4
* dnd canvas removed, dnd objects now drawn directly on compositor canvas

* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list

* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 7128c8fbe6 add e_toolbar init/shutdown to startup and shutdown 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 12ffdeb622 e's compositor now obeys _NET_WM_WINDOW_OPACITY as a normal atom in e_border
additionally:

* actions are now available for setting/changing window opacity

* window remembers can now remember window opacity

SVN revision: 84303
2013-02-22 09:33:13 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz 7f35677bc0 e_manager_new now creates compositors for new managers instead of creating them all at once
SVN revision: 83743
2013-02-07 13:19:36 +00:00
Mike Blumenkrantz e3953ba1db fix startup error scenario where module dialog could be opened before module startup and result in empty contents
SVN revision: 83680
2013-02-06 13:11:52 +00:00
Mike Blumenkrantz 30e9bd3f85 move e_configure_option_shutdown() to be the first function called on shutdown: bad things happen if this is not the case
SVN revision: 82694
2013-01-12 12:18:42 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 3394a2b461 fix comp config dialog settings apply (:/), fix comp config saving (:/), fix comp config dialog config loading (:/), change comp config domain to "e_comp" (your settings will be lost if you do not manually rename)
SVN revision: 82563
2013-01-10 13:03:36 +00:00
Mike Blumenkrantz da8302ac86 comp needs managers to exist on init. riiiiight
my favorite dish today: humble pie


SVN revision: 82540
2013-01-10 09:43:56 +00:00
Mike Blumenkrantz 8345d7d6d4 order matters in e_main: e_comp would never succeed at compositing anything border-related because it was inited before e_border, thus causing all its e_border event handlers to be nonexistent
SVN revision: 82520
2013-01-10 08:06:01 +00:00
Lucas De Marchi 8cacf8429d e: merge comp module into core
* Move compositor to core, but letting the configuration there
 * Rename all files and functions from e_mod_comp_* to e_comp_*
 * Move the config dialogs to a new module named conf_comp. It still
   uses a domain config, otherwise it would not pick the current
   user's configuration. Maybe it would be wise to later on move these
   options to e_config
 * Fixup the wizard mess linking the header in the build tree in order
   to be able to create the config. Since now it's in core, we don't
   need to play linking games in the build system

I'm not sure if the wayland part works. It was not even building
previously so I'll let for who cares about this to actually test and
report bugs.



SVN revision: 82454
2013-01-09 11:34:07 +00:00
Mike Blumenkrantz 9e207e6f92 conf2
SVN revision: 82078
2013-01-03 14:47:21 +00:00
Mike Blumenkrantz 3111aa6120 another pedantic free for the analyzers
SVN revision: 80838
2012-12-13 12:53:28 +00:00
Carsten Haitzler f0c9f5121c lots of buglet-fixing. this does:
1. make idle fade timer work at all (dodnt work before)
2. fixes backlight status on e restart
3. fixes setting bl level on start
4. improves the compositor fade in/out effect by ALSO fading backlight
in and out... oh so much smoother now
5. fixes label in ui to be seconds, not minutes.
6. in order to make this all work - it adds a special screensaver
event inside of e that the screensaver subsystem generates based on
the real x one.



SVN revision: 80538
2012-12-09 06:27:42 +00:00
Mike Blumenkrantz b3ae9ae78a always run deskenv init on startup, even during restart; gnome-settings-daemon is smart enough not to run if already running
ticket #1939


SVN revision: 80415
2012-12-07 07:54:35 +00:00
Mike Blumenkrantz 503d7305db Dear all,
As I've said before, I'm attached a patch for minor bugs in the e17 again.
 Please take a look at attached patch.

 01. missing E_FREE(wev) if zone is null
     File: src/bin/e_actions.c: 1467
     Function: ACT_FN_GO_EDGE macro function
     null check of zone and wev, it would be better to separate them.

 02. dead code
     File: src/bin/e_configure.c: 338
     Function: _e_configure_efreet_desktop_update

 03. array buf might be overwritten by "buf[i] = '\0'"
     File: src/bin/e_eap_editor.c: 412
     Function: _e_desktop_edit_user_local_desktop_filename_generate

 04. missing null check
     File: src/bin/e_fm.c
     Function: e_fm2_icon_get: 2196
     It would be better to check ic->info.file in e_fm2_icon_get
     before passing to _e_fm2_file_is_edje because it doesn't check
     null pointer.

 05. array 'path' might be overwritten by "path[i + 1] = XXX"
     File: src/bin/e_fm.c: 4299
     Function: _e_fm2_uri_parse

 06. missing null check
     File: src/bin/e_fm_device.c: 468
     Function: e_fm2_device_mount_find
     If the null pointer is passed to e_fm2_device_mount_find,
     then it attempt to compare string using strncmp without null
     check.
     e.g., e_fm2_path_set
           -> real_path = _e_fm2_dev_path_map: this function could return null.
           -> sd->realpath = real_path;
           -> e_fm2_device_mount_find(sd->realpath)

 07. missing free(fstrip)
     File: src/bin/e_import_config_dialog.c: 34
     Function: _import_edj_gen

 08. missing _module_free(cfm)
     File: src/bin/e_int_config_modules.c: 530
     Function: _load_modules

 09. missing free(class) in for loop
     File: src/bin/e_int_menus.c: 1187
     Function: _e_int_menus_clients_add_by_class

 10. missing free(roots)
     File: src/bin/e_main.c: 1646
     Function: _e_main_screens_init
     Actually only e_win_init function could return 0.
     But I've added free to other codes for the consistency.

 11. missing null check of 'es->cfg'
     File: src/bin/e_shelf.c: 2583
     Function: _e_shelf_bindings_add
     'es->cfg' might be null. please look at e_shelf_position_calc.

 12. no ect->category check before comparing string values
     File: src/bin/e_theme.c: 387
     Function: e_theme_config_remove
     I'm not sure, but inner if block checks ect->category before
     deleting a string.

 13. missing E_FREE(wcb) in while loop
     File: src/bin/e_widget_ilist.c: 146
     Function: _queue_timer

 14. dereferencing freed pointer 'entry'
     File: src/modules/quickaccess/e_mod_quickaccess.c: 583
     Function: _e_qa_event_border_remove_cb

 15. missing E_FREE(trov)
     File: src/modules/tiling/e_mod_tiling.c: 3106
     Function: _do_transition_overlay

 Thanks & Regards,
 Gwanglim


SVN revision: 80231
2012-12-05 11:13:09 +00:00
Mike Blumenkrantz f66c6c6f2c unbreak compile with 1.7 branch
SVN revision: 80226
2012-12-05 09:59:02 +00:00
Gwanglim Lee 499b88748b From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
        8. merge with EO - done. :(
        
        
            Any comments would be appreciated.
            


SVN revision: 80216
2012-12-05 06:51:16 +00:00
Mike Blumenkrantz 1eda0a3417 some text fixes from thomasg
SVN revision: 79910
2012-11-30 15:39:17 +00:00
Cedric BAIL 380386817b e: full rewrite of our WBOD.
NOTE: the new behaviour require a parent process,
here enlightenment_start, to watch over enlightenment.
It does use ptrace to monitor his child and track
what is going on. When a crash happen it ask gdb to
add the backtrace directly into .xsession-errors.

If you use systemd user session, you may want to offload
that work to systemd. You can do so, but don't forget to
pass -nopause to enlightenment when you start it.

WARNING: For all user, you will need to exit your
current session and start a fresh one for this new WBOD
to work at all. Just restarting Enlightenment will not
help you.


SVN revision: 78742
2012-11-01 06:23:49 +00:00
Carsten Haitzler 7bb9376863 disable sigusr1 for config dialog - thsi is actually a race cond that
never was hit before - but e's start uses a pause() to wait for init
splash to be ready and a sigusr1 is used to do the waking up.



SVN revision: 77557
2012-10-07 10:00:24 +00:00
Mike Blumenkrantz c135778f5f add optional emotion support for filepreview widget. this doesn't work on my machine, I think because I have a broken vlc library so the generic player doesn't work.
CEDRIC, THIS FEATURE NEEDS YOU!


SVN revision: 76959
2012-09-21 11:10:04 +00:00
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Carsten Haitzler 05ed922ca5 move env var (PATH, LD_LIBRARY_PATH) fiddling to enlightenment_start
and append if u know what u are doing.



SVN revision: 76385
2012-09-10 09:34:01 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 8fecf57e7e fix up mapping change hacks, not sure what I was thinking here
SVN revision: 74994
2012-08-08 06:35:42 +00:00
Mike Blumenkrantz 33e2593878 ensure keyboard remapping is always enabled on startup
SVN revision: 74923
2012-08-06 10:52:03 +00:00
Mike Blumenkrantz 7d4c5d556b should probably init eio at some point...
SVN revision: 74727
2012-08-01 11:34:06 +00:00
Mike Blumenkrantz 2850c28167 add more startup timing info for non-debug builds so people can see what the real startup time of e is
SVN revision: 74469
2012-07-27 06:43:14 +00:00
Mike Blumenkrantz aac8262b02 fix return value for e_main_ts()
SVN revision: 74431
2012-07-26 10:24:10 +00:00
Mike Blumenkrantz bb711a6526 e_main_ts() now returns the elapsed time since the last call
SVN revision: 74429
2012-07-26 09:10:51 +00:00
Mike Blumenkrantz de3dda2d03 back to printfs for e startup
SVN revision: 74425
2012-07-26 08:25:12 +00:00
Mike Blumenkrantz c2ad72cf6b add e_main_ts() to provide a facility for debugging time spent on certain activities in main loop
SVN revision: 74423
2012-07-26 08:21:52 +00:00
Gustavo Sverzut Barbieri d4a047f967 enlightenment welcomes elementary.
Now it's possible to do elm_win_add() from your e_modules and use all
elementary features instead of painful e_widgets.

We should consider this experimental, but after e17 is out we should
start to convert dialogs and such to elementary, eventually
deprecating e_widgets and the theme duplication.

NOTE: requires r74156 with elementary patch.

I'll send an email to the list with a simple patch to skel module to
demo this.



SVN revision: 74157
2012-07-19 04:39:25 +00:00
Cedric BAIL eccf13058a e: add scripting feature to lock/unlock require some tests.
SVN revision: 73979
2012-07-17 13:33:21 +00:00
Mike Blumenkrantz 722b65cebf don't crash when env var not set on startup
SVN revision: 73907
2012-07-16 06:54:48 +00:00
Carsten Haitzler b1141b5d53 append, not prepend e's prefix bin/lib instead of prepend.
SVN revision: 73847
2012-07-14 10:04:52 +00:00
Carsten Haitzler 1a7b0b4412 and dont prepend to path if already there.
SVN revision: 73431
2012-07-07 01:44:48 +00:00
Carsten Haitzler 6188192e4e 1. no more strip/unstrip of path/ld_library_paht - i think we no
longer need or want it.
2. prepend e's bin dir to PATH and lib dir to LD_LIBRARY_PATH for
better "it just works" usability. :)



SVN revision: 73430
2012-07-07 01:41:28 +00:00
Carsten Haitzler c13343daee forc /usr/share and /usr/local/share into xdg data dirs too if not set.
SVN revision: 73079
2012-06-30 06:57:49 +00:00
Carsten Haitzler 6387c80851 prepend to XDG_DATA_DIRs so we get apps in e's prefix. :)
SVN revision: 73036
2012-06-29 13:00:30 +00:00
Chidambar Zinnoury 4b02035868 e: missing line return on a message.
SVN revision: 72830
2012-06-25 20:19:18 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 9f58d105a9 formatting
SVN revision: 72474
2012-06-19 12:20:33 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Carsten Haitzler 7202bacc30 inc init stack size
SVN revision: 70863
2012-05-08 05:12:17 +00:00
Carsten Haitzler 253efca0e2 and if for whatever reason e was locked when it restarts... lock again
instantly on restart :)



SVN revision: 70559
2012-04-30 12:59:03 +00:00
Carsten Haitzler 5a00507e2b xkb config put into core. xkb layout is set on startup now (last one
used). removed setting up and deletion of keybindings - now its in
normal keybindings config territory. set them up yourself. much more
solid now. happy.



SVN revision: 70552
2012-04-30 09:52:05 +00:00
Christopher Michael 0ff9e4bc58 E: Fix timestamp label.
SVN revision: 68364
2012-02-23 19:52:19 +00:00
Carsten Haitzler e46322a104 oooooh e can check for its own updates now. :) kind of generic to be
able to do more too.



SVN revision: 66621
2011-12-29 10:45:49 +00:00
Leif Middelschulte 5777d4bffe Put e_randr init after e_config init.
SVN revision: 66218
2011-12-14 17:37:27 +00:00
Carsten Haitzler cef3afa355 support mtrack... my new little memory tracker so i can finally live
track down leaks and other badnesses.



SVN revision: 65335
2011-11-17 10:19:50 +00:00
Hannes Janetzek 1656a81310 e17: add xsettings. add option to icon config to use same theme for applications
SVN revision: 63591
2011-09-24 22:05:15 +00:00
Carsten Haitzler 75f941401c to fix missing efreet stuff... move efreet init to after intl init!
SVN revision: 63100
2011-09-03 02:14:19 +00:00
Hannes Janetzek a29cf19398 e17: add icon cache for speeding up mainly svg icon load on slow devices. and make everything smooth :)
- need to be build with USE_ICON_CACHE defined 


SVN revision: 62842
2011-08-26 00:44:45 +00:00
Carsten Haitzler 0dd3cb2acd remove startic 4k buffer from stack (down to 32bytes) thats alweays
there through all of e's runtime.



SVN revision: 62187
2011-08-07 23:40:15 +00:00
Christopher Michael 9e529fccdd E: Grrr, fix previous commit to actually compile.
SVN revision: 61762
2011-07-26 14:04:14 +00:00
Christopher Michael 42d65203ca E: Fix init of e_randr so that E does not fail if randr is not
available.

Thanks for the report cedric ;)



SVN revision: 61761
2011-07-26 14:00:54 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Carsten Haitzler 52d8eedc93 add options to run/support other desktop env's as well as load std x
stuff.



SVN revision: 61364
2011-07-14 08:18:55 +00:00
Carsten Haitzler c2c11a5282 change err message to help ppl in future.
SVN revision: 61100
2011-07-07 02:19:18 +00:00
Carsten Haitzler 5374913f0c init eina before e prefix.
SVN revision: 60981
2011-07-04 09:43:46 +00:00
Carsten Haitzler 26a35cdf01 backlight config tab, module, slider and core in. somehow doesnt work
with hal atm even tho i think i sent the right dbus req. hmmm. get
response.. of 0 for getting bl. for xrandr it works.



SVN revision: 60242
2011-06-12 15:05:22 +00:00
Carsten Haitzler d705653ead e17 gets itself the ability to set environment variables (for itself..
and anything thats a child that it launches) with... a GUI.. for all
the people who go "so.. how can i set an environment variable"... ie
peopl who dont know how to customis bashrc's or write xinitrc's and
use them etc.. which these days is a LOT of people... :(

note - it's advanced for people with advanced needs, thus its not the
most friendly dialog.. but it works. :)



SVN revision: 59369
2011-05-13 11:39:04 +00:00
Carsten Haitzler 9e3aa2fe7f e17 -> use eina prefix stuff.
SVN revision: 58853
2011-04-24 08:06:18 +00:00
Sebastian Dransfeld 905098b0e2 e: No need to snprintf a static buffer
SVN revision: 57578
2011-03-08 11:41:53 +00:00
Andreas Volz 38766e9942 enable E to configure a another user path then ~/.e for special use cases
SVN revision: 57539
2011-03-06 10:31:44 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +00:00
Carsten Haitzler c356b53543 note sigusr2 is for fps thing.
SVN revision: 56337
2011-01-28 02:24:04 +00:00
Miculcy Brian 31a2c96319 did broke e restart, now should work again... :)
SVN revision: 55768
2010-12-28 22:17:51 +00:00
Miculcy Brian b4f46bc259 make --help work correctly again
SVN revision: 55764
2010-12-27 20:59:14 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Gustavo Sverzut Barbieri c5642870c3 do not abuse _init(), provide _update() method instead.
SVN revision: 54794
2010-11-22 15:21:24 +00:00
Carsten Haitzler bcd4dd7b7a init efreet after intl so desktop locale is right.
SVN revision: 53173
2010-10-07 23:14:13 +00:00
Eduardo de Barros Lima 6fe16b9b74 E: No need to #define _GNU_SOURCE
Use proper #include <config.h> instead


SVN revision: 53167
2010-10-07 21:16:30 +00:00
Lucas De Marchi b7cbb20980 Use ecore_time_unix_get() when absolute value is needed
SVN revision: 52827
2010-09-27 22:38:40 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Carsten Haitzler 62862fa56f dont use evas_imaging anymore... and... do svg test the right way.
SVN revision: 51708
2010-08-29 02:25:57 +00:00
Cedric BAIL 4c42c4f167 * e: X server without Xrandr do exist.
SVN revision: 51412
2010-08-19 16:34:40 +00:00
Leif Middelschulte 935774e161 From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 532cd80e3b Expose the current E icon theme to env so that elm apps can 'getenv'
that value (E_ICON_THEME) and match icons w/ E.



SVN revision: 50797
2010-08-04 02:00:59 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler 25cb393e47 call sys action for exit on io error - cleaner.
SVN revision: 48966
2010-05-18 07:50:56 +00:00
Christopher Michael 903caca63b Add start of ACPI code. Does not actually parse yet tho.
Add e_acpi_init to startup (it safely returns if acpid is not running).
Fix some formatting in e_main.



SVN revision: 48910
2010-05-16 05:26:29 +00:00
Hannes Janetzek e38b5bd6de test if svg loader works, if so add svg to efreet theme supported types
SVN revision: 48896
2010-05-15 17:56:50 +00:00
Sebastian Dransfeld 870e2c1cf4 e: revert svg icon acceptance
SVN revision: 48824
2010-05-13 20:26:56 +00:00
Sebastian Dransfeld 4850e4dc2c e: add const
SVN revision: 48822
2010-05-13 20:24:26 +00:00
Christopher Michael 08cc0c6e51 Replace exit() with e_main_shutdown so libs get shutdown correctly.
e_module_disable already calls e_config_save_queue().
Fix formatting.



SVN revision: 48782
2010-05-12 17:44:21 +00:00
Christopher Michael 4ae4080bac Use e_main_shutdown instead of exit so that eina_shutdown (and others)
get called when exiting.



SVN revision: 48781
2010-05-12 17:36:01 +00:00