Commit Graph

104 Commits

Author SHA1 Message Date
Mike Blumenkrantz 9859daee07 bugfix: get entry width based on viewport size, not entry size
things like icon properties dialog now fit on a 4k monitor
2014-03-17 12:24:03 -04: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 d9291fffe1 send (un)focused signals to entry scrollframes
T745
2014-01-10 11:14:13 -05:00
Tom Hacohen e31472e8c3 Entry: Fix scroller position to show cursor.
Before this commit, this would not always be the case.
I added a "scroll to cursor" for every change in entry size.

This is a further fix to T169. It's not exactly what described there,
but it's a similar issue I found while fixing it.

Somehow of a stage 2 for commit 80844cbcd7.
This also adds changelog and news entries, as this issue is now fully fixed.
2013-11-25 16:34:42 +00:00
Tom Hacohen 80844cbcd7 Entry: Fix update of child size and location.
Before this commit, setting the text of an entry after the entry
has already been placed and sized, would cause the inside entry
(the one inside of the scroller) size to be the size of the viewport
instead of the real size. This would make some parts of the entry
unreachable.

This fixes T169.
2013-11-25 16:21:19 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Carsten Haitzler 54faad046f dont focus noedit entries! :)
SVN revision: 80645
2012-12-11 10:54:31 +00:00
Mike Blumenkrantz 0ceb3289f0 fix e_entry cnp to work better with non-container grab windows
SVN revision: 80094
2012-12-03 19:04:27 +00:00
Mike Blumenkrantz d48545db45 add function to disable entry menu
SVN revision: 80091
2012-12-03 18:31:14 +00:00
Mike Blumenkrantz f371980da8 entry leak--
SVN revision: 79835
2012-11-29 15:06:32 +00:00
Tom Hacohen 81efa66d66 E entry: Use stringshare instead of strdup.
The string is usually shared already and this saves us the allocation.

SVN revision: 79753
2012-11-27 18:14:03 +00:00
Tom Hacohen cf7f76c329 E entry: Fix password mode toggle.
It's just a straightforward fix. Some cleanup is needed there to make
everything nicer, but that's not important for the time being as it'll be
replaced with elm_entry "soon" anyway.

SVN revision: 79750
2012-11-27 15:50:53 +00:00
Carsten Haitzler cff3bfb61b oooh fix some infinite loops in entry .. and oh so much make color
specture.selector/sliders WORK again... properly.



SVN revision: 79557
2012-11-23 11:24:39 +00:00
Carsten Haitzler 4d880b56ec remove some infintie loops in entry where is resizes to the same size
and sets the same3 text again and again.



SVN revision: 79556
2012-11-23 04:41:47 +00:00
Daniel Juyung Seo f185eabf92 e e_entry.c: 1. Used EINA_TRUE/FALSE for Eina_Bool. 2. Removed unused variable 'have_preedit'
SVN revision: 79379
2012-11-16 11:46:03 +00:00
Sebastian Dransfeld 30350d0f76 e: edit == !noedit && !edit == noedit
SVN revision: 79373
2012-11-16 10:20:31 +00:00
Carsten Haitzler 1da5608d7b entry - read only mode (noedit) should be supported and use it from
file preview too...



SVN revision: 79368
2012-11-16 09:08:14 +00:00
Tom Hacohen 5d840bab5b E entry: force disable thumbscroll.
We need that disabled, as currently mouse grabbing breaks if that's not
set. That's what you get when you have scrolling and selection in the same
place. We can just use selection for scrolling or fix the issue.
The fix would probably require using the ON_SCROLL flag instead of
the ON_HOLD and actually handle it correctly.

SVN revision: 79359
2012-11-16 06:55:40 +00:00
Tom Hacohen b49befa400 E entry: use E_FREE as suggested by Sebastian Dransfeld.
SVN revision: 79090
2012-11-10 10:11:25 +00:00
Tom Hacohen ac38ad5121 E entry: Fixed issue with marup and text set/get.
This fixes #1715 or at least should.

SVN revision: 79061
2012-11-09 19:41:06 +00:00
Mike Blumenkrantz c3729552ee fix entry crash
SVN revision: 78830
2012-11-02 07:46:53 +00:00
Mike Blumenkrantz 0532cb78fd fix desktop file rename cnp operations
ticket #1703


SVN revision: 78789
2012-11-01 14:41:36 +00:00
Tom Hacohen b9e560b6a2 E entry: Disable thumb scrolling, it's just bad for our purpose.
SVN revision: 78684
2012-10-30 22:53:33 +00:00
Tom Hacohen a9bdc983b4 E entry: Move to edje_entry and remove e_editable.
This should reduce the number of issues in the long run and reduced the
amount of code we have to maintain."

SVN revision: 78663
2012-10-30 14:06:13 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Christopher Michael 450a03485c E: Cleanup entry widget compiler warnings if ecore is built without IMF.
SVN revision: 71437
2012-05-26 09:00:41 +00:00
Jihoon Kim d33e0931ee e17/entry: fix formatting
SVN revision: 71136
2012-05-16 01:14:20 +00:00
Jihoon Kim f68b32f93d e17/entry: support left/right/up/down key on keypad
SVN revision: 69859
2012-04-02 10:39:32 +00:00
Mike Blumenkrantz dada7d44ee warning--
SVN revision: 67486
2012-01-24 09:36:48 +00:00
Jihoon Kim 39fa544056 From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,

I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.

In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously  because those APIs add each event to ecore event queue.

To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.

For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.



SVN revision: 67290
2012-01-18 04:38:04 +00:00
Carsten Haitzler 0078d30bdc segv's waiting to happen wrong api calls on wrong object types - check
to protect.



SVN revision: 66707
2011-12-31 14:35:05 +00:00
Jihoon Kim d1a0f6f8a0 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] e17: notify immodule to know the cursor
location

In immodule, the cursor location is needed to move the candidate word window.
In this patch, calling ecore_imf_context_cursor_location_set in e_entry.c
lets immodule know the cursor location. This patch is similar to
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg338
89.html, but it is for e17 entry.

oh definitely! that helps.. it works well too! thanks! in svn



SVN revision: 62676
2011-08-22 05:18:03 +00:00
Carsten Haitzler 69f6ba9c0b fix crash vector in e17 entry
SVN revision: 62617
2011-08-20 04:27:41 +00:00
Christopher Michael 17765fdae2 E: Entry: Add UNUSED where missing. Remove unused variables.
SVN revision: 61619
2011-07-23 19:21:23 +00:00
Jihoon Kim d4cb9148af e: Display preedit in entry of E17
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 61389
2011-07-15 02:04:58 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Christopher Michael 02e57f12b5 Fixup calls to ecore_imf to return Eina_Bool.
SVN revision: 52835
2010-09-28 00:36:57 +00:00
Christopher Michael 0535084762 Add unused.
Remove whitespace.



SVN revision: 51325
2010-08-18 19:37:26 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Hannes Janetzek 28eac9678c fix warnings
SVN revision: 42476
2009-09-14 00:32:44 +00:00
Christopher Michael dd1031c82e More API Inconsistency fixes:
e_flowlayout_min_size/e_flowlayout_max_size_ changed to size_min/max
e_entry_min_size_* changed to e_entry_size_min_*
e_slider_min_size changed to e_slider_size_min_*




SVN revision: 42164
2009-09-01 16:47:09 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Gustavo Sverzut Barbieri 69da6216c5 Delete the correct callback.
Actually none of these delete were required, but since we're doing
them, do it right.



SVN revision: 35934
2008-09-10 18:58:18 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Sebastian Dransfeld 4ff8a43130 - embryo is not a needed pkg
- make ecore_imf optional
- add pkg-config requirements to enlightenment.pc
- remove battery check dependant on ecore-txt
- move Ecore_Txt.h from e.h to temperature module


SVN revision: 35470
2008-08-13 19:22:01 +00:00
andrunko 45425e9016 Proper handle Ecore_IMF commit event.
SVN revision: 34584
2008-05-15 21:08:30 +00:00