Commit Graph

391 Commits

Author SHA1 Message Date
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