Commit Graph

222 Commits

Author SHA1 Message Date
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Carsten Haitzler cdb864ed8e remove all traces of selecting engine in e17 - wont actuallly ever be
needed beyond compositor. :)



SVN revision: 66513
2011-12-26 06:24:59 +00:00
Hannes Janetzek a34c3869d5 e17: fix dnd to desktop
SVN revision: 58665
2011-04-14 13:46:39 +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
Sebastian Dransfeld 0bae6927e5 After drop, we are no longer entered
SVN revision: 54382
2010-11-09 21:14:19 +00:00
Sebastian Dransfeld 139507ef51 event coords shoudl be reference coords
The receivers work in reference coords, so normalizing on the drop
handler is meaningless.

SVN revision: 54381
2010-11-09 21:13:56 +00:00
Sebastian Dransfeld af68b736a2 Don't override the drop handlers area
SVN revision: 54327
2010-11-08 14:05:19 +00:00
Sebastian Dransfeld 0e4e3b9e22 o_frame is the complete area for gadcon
SVN revision: 54324
2010-11-08 12:46:37 +00:00
Sebastian Dransfeld c5e189ecbd Remove pointless cache
SVN revision: 54321
2010-11-08 09:04:59 +00:00
Sebastian Dransfeld 70059bc37e Make sure we have a _xdnd object
If someone sends us a drop even though we didn't accept it, this will
segv.

SVN revision: 54194
2010-11-05 18:46:13 +00:00
Sebastian Dransfeld b02fbd8dd1 __UNUSED__ last!
SVN revision: 54192
2010-11-05 18:40:05 +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
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
Carsten Haitzler 4b1a77f8a0 DONT strip file://! efm etc. expects it.. as its a uri! dnd broke as of this
change completely... bad englebass! bad! spank! :)



SVN revision: 48379
2010-04-28 03:30:31 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld f62b54b960 Strip file:// from uri
SVN revision: 44991
2010-01-08 20:26:55 +00:00
Christopher Michael 068ac54414 Remove a printf.
SVN revision: 44503
2009-12-16 03:08:54 +00:00
Christopher Michael ea55ee51a0 No need to release grabinput twice. This was already done a few lines above.
SVN revision: 44479
2009-12-16 00:43:29 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Sebastian Dransfeld 8a2f2981ed Fix Ticket #306
After we send the drop to the target it can take a while before it is
acknowledged. So release grab and hide input window so we can continue
working.

SVN revision: 44223
2009-12-06 18:03:35 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Christopher Michael 15bfce009e Use E_FREE for _xdnd, created with E_NEW.
SVN revision: 40836
2009-05-26 16:02:49 +00:00
Christopher Michael 7c78ec900e Formatting. Add missing void in function declaration.
SVN revision: 40835
2009-05-26 14:44:19 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Gustavo Sverzut Barbieri b34c8995b9 proper cleanup of drop_handlers.
SVN revision: 39565
2009-03-19 00:19:12 +00:00
Gustavo Sverzut Barbieri 00e98a4851 cleanup memory usage, add stringshare, fix bug.
* h->active_type was referring to xdnd->type, that could be freed
   already. Now it's a reference to that string.

 * strcmp() are now direct pointer comparison since strings are shared.

 * no more extra "types" allocated member, make it a variable array at
   the end of the structure.



SVN revision: 39564
2009-03-19 00:14:57 +00:00
Gustavo Sverzut Barbieri 375f695e8f constness
SVN revision: 39562
2009-03-18 23:39:03 +00:00
Gustavo Sverzut Barbieri 9429c53cf1 move loops to eina macros.
SVN revision: 39561
2009-03-18 23:34:29 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Hannes Janetzek 1f986f4b28 use argb window for drag object when composite is enabled
SVN revision: 39365
2009-03-04 13:04:35 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Sebastian Dransfeld 98d487c8df Clean up drag on border del.
SVN revision: 37245
2008-10-27 14:14:42 +00:00
Sebastian Dransfeld ab62c5ccf1 Fix if formatting.
SVN revision: 37207
2008-10-27 07:34:22 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Carsten Haitzler fbd7fa6a17 remove debugging i added to fix dnd.
SVN revision: 36104
2008-09-19 23:59:29 +00:00
Carsten Haitzler 2d9dd3ea37 fix dnd for desktop - if you have multiple zones! remove printf's too. lots
of noisiness in e.



SVN revision: 36103
2008-09-19 23:58:07 +00:00
ptomaine 3ed5aa5e05 Fix drag'n'drop on desktop.
SVN revision: 36043
2008-09-17 11:16:01 +00:00
ptomaine 2c4fae916f * Default theme: fix preview when dragging from list view.
* Add DND modifiers: Control for copy, Shift for move, Alt for ask. Default action is move. Config for these comes later.
* Add EDJE signals for theme to act on DND action change.
* Default theme: Show current DND action using overlay icons. Icons done by Tom 'Toma-' Haste, thank you very much.


SVN revision: 35772
2008-09-01 09:51:30 +00:00
Sebastian Dransfeld 03fecbfe7a remove unused variables
SVN revision: 35479
2008-08-14 06:15:35 +00:00
Nicholas Hughart e177bb663f Patches from ptomaine.
* Fix for URI escpaing.
 * Add the ability for EFM to recognize different drop actions from other FMs.  The reverse soon to come :)
 * Add option to disable HAL device icons on the desktop.
 * Performing an operation on multiple files will now be done in a single slave process instead of many.

 More to come before and after GSOC :)  If you see him in the channel, give him a high five because he's finally helped pull EFM out of the crapper :P


SVN revision: 35432
2008-08-11 02:13:22 +00:00
Sebastian Dransfeld ae855ee47e Fix dnd. Hopefully works in all situations now. Seems like we should
consider separating internal and external dnd code.


SVN revision: 34901
2008-06-24 20:13:35 +00:00
Sebastian Dransfeld c40f8dd6e5 formatting
SVN revision: 34831
2008-06-15 12:30:26 +00:00
Sebastian Dransfeld f0f65afaeb We don't need to search for window at pointer with xdnd, xdnd handles this
already.


SVN revision: 34830
2008-06-15 12:28:16 +00:00
Sebastian Dransfeld fcbcbfcc50 Fix typo.
SVN revision: 34829
2008-06-15 12:19:40 +00:00
Sebastian Dransfeld 65fe9d6616 Remove printf
SVN revision: 34828
2008-06-15 08:44:32 +00:00
Sebastian Dransfeld 8ad0f691b7 Use right base window for drop.
SVN revision: 34827
2008-06-15 08:41:41 +00:00
Sebastian Dransfeld 98299b971b On drop from external program, use the event window to find the drop target.
SVN revision: 34817
2008-06-13 21:35:39 +00:00
Sebastian Dransfeld ff992cfb50 No need to continue looping after finding active.
SVN revision: 34814
2008-06-13 10:57:06 +00:00
Sebastian Dransfeld ed204e3f4e No need to alloc
SVN revision: 34811
2008-06-13 10:21:43 +00:00
Sebastian Dransfeld 705f459e8c Check whether the gadcon is on a shelf before doing shelf operation.
(Thanks to Dave Andreoli).


SVN revision: 34810
2008-06-13 09:14:20 +00:00
Sebastian Dransfeld f308caea74 Check if the gadcon has a shelf set.
SVN revision: 34107
2008-03-24 12:48:33 +00:00
Carsten Haitzler 497281afaa fix sys battery reader to support lowercase bats too...
some other bugs and fixes


SVN revision: 33849
2008-02-26 09:47:51 +00:00
Carsten Haitzler f8fa4e0156 fix xdnd again.
SVN revision: 32774
2007-11-19 11:38:43 +00:00
Carsten Haitzler 046f1b7628 prtintfs disabled in dnd - was hunting the dnd performance bug. fixed.
SVN revision: 32695
2007-11-15 04:48:53 +00:00
Carsten Haitzler d9c1da31df check window as well during drag upates.
nb - xdnd in e is hell slow! :(


SVN revision: 32671
2007-11-13 23:30:07 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Carsten Haitzler 8128302bd5 lok's xdnd work
SVN revision: 31378
2007-08-18 10:37:16 +00:00
Carsten Haitzler 935bed067e icons on the desktop... a work in progress. you will need ~/Desktop to exist
with stuff in it. i suggest copying some of the favorites files over
(home.desktop etc.)


SVN revision: 29975
2007-05-13 09:12:30 +00:00
Sebastian Dransfeld 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld aa3d55f744 Rename struct member.
SVN revision: 27752
2007-01-03 06:17:45 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld 79280bb9ec Function to move the drag before the drag begins.
SVN revision: 27644
2006-12-29 16:53:36 +00:00
metrics 09f79e7556 Fix drag and drop.
SVN revision: 27086
2006-11-13 13:07:49 +00:00
metrics 5cc25e147a Start of fix for drag and drop to autoscrolling ibar/ibox.
SVN revision: 27068
2006-11-12 11:32:44 +00:00
Carsten Haitzler 5409f4f0cd fix dnd for "below everything"
SVN revision: 26653
2006-10-16 10:40:10 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
sebastid d53257dd3a Dnd window is very like a popup, maybe redo?
SVN revision: 24541
2006-08-10 18:02:33 +00:00
sebastid fe296600bb Xdnd files from fm to ibar works again.
SVN revision: 24540
2006-08-10 17:48:17 +00:00
sebastid d899722d58 Don't flip desks if the zone no longer is current.
SVN revision: 24533
2006-08-10 14:36:59 +00:00
sebastid 5dc2de04ea FIXME++
SVN revision: 24530
2006-08-10 11:10:11 +00:00
sebastid 8f7cd587fc Stop flip timer on drag end.
SVN revision: 24529
2006-08-10 11:04:13 +00:00
Stafford Mitchell Horne 45cce921c8 Added more advanced edge flipping configurations. This will reset the edge flip
configuration so some people may need to reconfigure it int Desktop Settings.


SVN revision: 24522
2006-08-10 05:01:07 +00:00
sebastid e2e2ee6630 Fix dnd shutdown.
SVN revision: 24514
2006-08-09 18:08:55 +00:00
sebastid 27e05aa5ad ecore_x_.*_ungrab -> e_grabinput_release
SVN revision: 24513
2006-08-09 17:45:43 +00:00
sebastid aa958ec9e7 Use e_grabinput_get
SVN revision: 24512
2006-08-09 17:42:31 +00:00
sebastid a915d00dc8 Use e_grabinput_get()
SVN revision: 24511
2006-08-09 17:40:41 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 27d0ae8db3 dnd safety
SVN revision: 18746
2005-12-01 06:15:24 +00:00
sebastid c08bdf97c6 Working on xdnd from E.
SVN revision: 17319
2005-10-08 13:10:20 +00:00
sebastid e85dd8ade4 Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.


SVN revision: 17276
2005-10-07 18:36:54 +00:00
tsauerbeck 45d1bd7b69 initialized variables are good
SVN revision: 17242
2005-10-06 18:36:53 +00:00
sebastid 93a3c07ea8 It's possible to add several types for one drop handler.
SVN revision: 17204
2005-10-05 17:56:35 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00
Carsten Haitzler a6ec307a80 minimise cpu hape use if shape hasnt changed
SVN revision: 15542
2005-06-27 10:08:53 +00:00
sebastid c2b632eaae Update to new ecore_file.
Remove unused function.


SVN revision: 15403
2005-06-18 00:13:04 +00:00
sebastid ee1d47c39d XDnD to ibar works now!
Cleaned up some warnings in e_winlist.c


SVN revision: 15347
2005-06-16 01:55:19 +00:00
sebastid b1041e45f7 Start xdnd integration.
shutdown dnd subsytem after modules.
Cleanup drop handlers on module shutdown.


SVN revision: 15242
2005-06-10 21:26:50 +00:00
sebastid 2bbedbf606 The icon is now correctly positioned relative to the mouse.
SVN revision: 14785
2005-05-15 05:20:18 +00:00
sebastid 4697bedac1 Dnd update, shape works now.
SVN revision: 14714
2005-05-11 21:33:55 +00:00
sebastid aa1d7d26c3 Let the user decide the object for a drag.
SVN revision: 14702
2005-05-11 06:30:57 +00:00
sebastid 6fd2d5fe41 Dnd is relative to the background evas/modules, so feed a new drag
with container, not zone.


SVN revision: 14701
2005-05-10 22:05:02 +00:00
sebastid eb907d88ac Dnd update. Copy setup from popup.
SVN revision: 14699
2005-05-10 19:35:12 +00:00
sebastid 1914cac59c Update dnd event structs to match E style.
SVN revision: 14697
2005-05-10 18:15:16 +00:00
sebastid 497733fc95 Init entered to 0 on every drag start.
SVN revision: 14599
2005-05-04 17:06:25 +00:00
sebastid 1022489211 Cleanup.
SVN revision: 14598
2005-05-04 12:16:16 +00:00
sebastid 0e1a615b84 Dragging icons on the ibar should work. If an icon is dropped outside the
ibar it is removed (but only from the .order file).


SVN revision: 14597
2005-05-04 11:04:08 +00:00
sebastid 954a7a11f6 Icon dragging in the ibar.
SVN revision: 14579
2005-05-03 17:27:42 +00:00
sebastid 2d9bdc762d Add move callback
SVN revision: 14533
2005-05-01 18:34:56 +00:00
sebastid 43b881b6ea Name changes.
Only parse the type of a drop handler at drag start.


SVN revision: 14532
2005-05-01 18:28:20 +00:00
sebastid aa09ce4166 Prepare for move callback.
SVN revision: 14530
2005-05-01 15:55:01 +00:00
sebastid 37480244b1 Drag is relative to container, not zone
SVN revision: 14528
2005-05-01 15:30:51 +00:00
sebastid 30594fa645 Framework for accepting Xdnd drop on the background.
SVN revision: 14494
2005-04-29 15:04:45 +00:00
sebastid 33a0a7905d Cleanup
SVN revision: 14404
2005-04-27 08:42:36 +00:00
sebastid 6780fe0a54 Remove layer setting
SVN revision: 14402
2005-04-27 08:27:38 +00:00
sebastid cfb61da41b Use right parent window
SVN revision: 14398
2005-04-27 07:30:37 +00:00
sebastid 106618ca0a Hurra! Try dragging the icon from a border to the pager! (With the default
theme). A big thank you to raster who helped me through all this. The first
person who complains will be cursed.


SVN revision: 14377
2005-04-26 09:36:18 +00:00
sebastid bfb6d91905 Dragging icon from border to pager now works! But since the menu
doesn't work when dragging is enabled, dragging is disabled.
For those who want dragging just remove the #if


SVN revision: 14363
2005-04-25 20:56:52 +00:00
sebastid 42aae70082 DND work.
SVN revision: 14357
2005-04-25 18:02:26 +00:00
sebastid 11cec998a6 Remove duplicate code.
SVN revision: 14329
2005-04-24 21:11:44 +00:00
sebastid 15996823aa Cleanup
SVN revision: 14324
2005-04-24 16:04:20 +00:00
sebastid c43e391779 Some cleanup and beginning of internal dnd in E. You can drag the icon from
a window to the pager and get a nice message :)


SVN revision: 14314
2005-04-23 13:13:57 +00:00