Commit Graph

347 Commits

Author SHA1 Message Date
Christopher Michael fc8c5cac0d Add illume-indicator module to configure.ac
Some formatting in e_gadcon/e_shelf.



SVN revision: 43966
2009-11-25 01:02:11 +00:00
Christopher Michael 09edadd2a5 Use MENU_POP_DIRECTION_AUTO instead of DIRECTION_DOWN.
SVN revision: 43960
2009-11-24 21:17:18 +00:00
Christopher Michael b6ff4d6da1 Fix compiler warnings.
SVN revision: 43310
2009-10-27 17:33:56 +00:00
Hannes Janetzek 7cb9d3a362 EINA_FUCK_REVERSE_FOREACH != for (l = some_pointer_in_list_from_where_want_to_start; l; l = l->prev)
anyway nice that i didnt had to rewrite gadcon layout to fix this issue,
but at least starting the rewrite made me realize the above mentioned 
difference. moving and resizing of gcc in non-shrinked mode works 
now nicely again.


SVN revision: 42637
2009-09-23 06:06:13 +00:00
Hannes Janetzek 484b32f3f0 gadcon: gadcon clients move now _with_ the mouse in shrinked mode
SVN revision: 42543
2009-09-17 09:03:13 +00:00
Hannes Janetzek 36bf931eda gadcon: get right mouse position for efm gadcon..
SVN revision: 42540
2009-09-17 05:41:23 +00:00
Hannes Janetzek 5cee246020 gadcon:
- fix dnd of gadcon clients between gadcons
- apply fix from victor for gadcon client movements
- make layout algorithm orientation agnostic


SVN revision: 42539
2009-09-17 05:18:28 +00:00
Hannes Janetzek 8b6002a5cf populate custom gadcons on when added
- now gadman shows gadgets when it is unloaded and loaded again 


SVN revision: 42284
2009-09-05 17:02:09 +00:00
victor 324e84908c From: victor <victor.scorpion@gmail.com>
Hi guys.

Here is my solution for #113 ticket request. This allows to transfer a
gadget to different locations. In short,

- any module can register arbitrary number of locations by invoking
e_gadcon_location_register().
- module is responsible to provide 2 functions, one for removing
particular gadget and one to add particular gadget class.
- module responsible to equip its gadcon(s) with reference to registered
location. If a gadcon contains non-NULL location reference, each gadget
contained by this gadcon can have submenu on its context menu. Template
function for constructing such submenu is provided
e_gadcon_client_add_location_menu. Gadgets can be moved from and to this
location by invoking menu items. Gadcons with NULL location reference
can accept transferred gadgets by module logic but can't send contained
gadgets to another module.
- module responsible to unregister location when gadcon is no more
available.
- menu items for context submenu is sorted by E_GADCON_SITE_XXX assigned
to that. Module can assign and change an icon for context menu item
corresponding to its location(s).
- Currently only shelves and gadman (desktop) used in gadget transfer
operations. I believe it is no trouble to ivolve any other
gadcon-capable module into the process. If you want to have that, please
just let me know.

Here the patch in attachmet. It even works, at least sometimes and at
least for me. Hope you'll find it useful.



SVN revision: 42121
2009-08-31 11:23:03 +00:00
Cedric BAIL 6051d5f3a6 * e_gadcon.c: Fix Gadcon unpopulate. Thanks to Sachiel.
SVN revision: 41950
2009-08-24 09:17:54 +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 c37b22a39f Fix ticket #343 (autoscroll and resizable not being set after restart).
Formatting.
Whitespace Removal.
Variable cleanup.
Add missing 'static' declaration on private function.
Move EAPI functions to be together in the source before local functions.



SVN revision: 41246
2009-07-04 01:44:34 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Gustavo Sverzut Barbieri 413729a142 get zone from gadcon.
The old code that query the zone based on x,y was causing me
segfaults. When battery module was in a hidden shelf, the position was
outside any zone and then segmentation fault.

As far as I understand, gcc->gadcon->zone should always exist and
always be correct, but I don't have xinerama setup now to confirm
that.

If you know this is wrong, let me know!



SVN revision: 41147
2009-06-21 21:18:44 +00:00
Gustavo Sverzut Barbieri 804f59e6e5 fix problem with e_gadcon_provider_register() being called from e_modapi_init().
if e_modapi_init() called e_gadcon_provider_register() the module
gc_init() would be called immediately, becore e_modapi_init() finished
and thus mod->data was unset (it's set by E when that function
returns).

most modules did not show this problem since they keep lots of globals
around and use them, but not mixer module. Mixer module did check for
global mixer_mod to be set and also mixer_mod->data, thus exposed this
problem, with "mixer is not able to show on desktop/gadget" but did in
shelves, since it would refuse to load immediately but would be loaded
later at e_shelf_config_new()->e_gadcon_populate().

Now gadcons are populated from an idler, avoiding all these problems
and probably will impact user's perceived load time since it will do
less work before getting to main loop and being able to process
events.


SVN revision: 40714
2009-05-17 23:43:02 +00:00
Viktor Kojouharov 30b11d23c8 add a urgent show function on the gadcon level and use that
(p.s. it's a good idea to recompile any extra module that you might use)


SVN revision: 39686
2009-03-24 16:08:37 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Hannes Janetzek 887264eed4 added e_gadcon_locked_set: with this gadgets can lock the gadcon from
vanishing, like with e_shelf_locked_set. gadcon providers set their own lock 
function with e_gadcon_util_lock_func_set, which is called by 
e_gadcon_locked_set.


SVN revision: 38759
2009-01-24 14:09:37 +00:00
Carsten Haitzler a65708abbd clean up wiz
SVN revision: 38694
2009-01-22 04:42:16 +00:00
Gustavo Sverzut Barbieri 1bfaf61168 Re-break gadcon so everything works correctly.
according to raster e_gadcon_canvas_zone_geometry_get() was supposed
to return zone-relative coordinates, but it was implemented
incorrectly and everything now depends on absolute coordinates, so
let's keep it absolute.



SVN revision: 38589
2009-01-15 01:02:32 +00:00
Gustavo Sverzut Barbieri f3c5819ff3 gadcon: fix bugs reported by llvm clang static analyser.
Some cases like not having o_base and o_frame are impossible, but I
added the cheap "else return;" just to keep it quiet. But some cases
were really bugs and were fixed.



SVN revision: 38556
2009-01-12 18:31:49 +00:00
Gustavo Sverzut Barbieri 05402668aa e_menu: recursively delete children menus.
e_menu had this behaviour that submenus were not deleted
automatically, relying on the parent menu to hook to post_deactivate
and then delete them.

This was good because maybe you don't want to delete these children,
you might want to reuse them sometime.

But it ended that nobody was using this feature, and worse: most use
cases were failing to delete these children, causing memory leak.

This commit changes the default behaviour and thus remove all the
existing code that was replicating such work. If one want the old
behavior, just call e_menu_item_submenu_set(mi, NULL) and it will be
unbounded from the parent.

If you experience any problems with that, try adding some printf()
before _e_menu_free() and _e_menu_item_free() and print some relevant
information like m->category and m->header.title or mi->label in order
to figure out the problematic menu.



SVN revision: 38528
2009-01-10 07:02:32 +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
Davide Andreoli 1a5b14aa48 * Now gadman place the gadget when E say so, and not only on startup.
SVN revision: 37594
2008-11-12 01:14:18 +00:00
Davide Andreoli fa648a9e48 * make E aware of the existance of gadman as a gadcon. This solve some module load/unload issues
SVN revision: 37575
2008-11-10 15:47:25 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +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
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Chidambar Zinnoury 6de31a6163 id_del was never called for gadcon clients, so call it after shutdown. Report and help for testing done by stefzekiller <stefzekiller@gmail.com>.
Moreover, remove some new compiler warning.


SVN revision: 36661
2008-10-14 16:22:52 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +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 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 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
Christopher Michael 7676686823 Fix some formatting while I am here tracking down why every module (when
used with new gadman module) has an extra separator in the menu.


SVN revision: 34614
2008-05-19 09:57:48 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Carsten Haitzler 586110892d since no icon is dragged - disable dnd gadgets off a gadcon for now.
SVN revision: 34554
2008-05-13 05:31:20 +00:00
Carsten Haitzler 56865b731c instant edit is on a delay timer of 1 sec
SVN revision: 34479
2008-05-06 10:20:53 +00:00
Carsten Haitzler 9bd622f018 fix 3 valgrind issues i found.
SVN revision: 33955
2008-03-07 19:13:54 +00:00
Carsten Haitzler cdded0bf38 instant edit! werd! :)
SVN revision: 33936
2008-03-05 12:39:55 +00:00
Carsten Haitzler 6fbadc1d08 dont re-order gagdtes when a user has told us what to do with them!
SVN revision: 33919
2008-03-04 13:33:18 +00:00
Carsten Haitzler 65438bc3ab printf--
SVN revision: 33918
2008-03-04 12:20:50 +00:00
Carsten Haitzler 91ede9eacc and in case an object is deleted clear out the gadcon as well
SVN revision: 33915
2008-03-04 11:34:31 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Christopher Michael 28a576fbe9 Set proper icon for Inset.
SVN revision: 33265
2007-12-27 21:05:35 +00:00
Sebastian Dransfeld 1923026bb8 Disable gadcon locking for gadcon client menu for now. Need to find the
right solution.


SVN revision: 32934
2007-12-02 16:01:02 +00:00
Christopher Michael c7bbdb6b68 Make sure that the gcc->menu is set.
SVN revision: 32879
2007-11-25 08:27:13 +00:00
Christopher Michael f815a503eb More thorough check on menu_post for shelf.
SVN revision: 32874
2007-11-25 05:36:54 +00:00
Christopher Michael 0509cb1a44 More gadcon->shelf checks before calling any shelf-specific functions.
SVN revision: 32868
2007-11-25 04:15:50 +00:00
Christopher Michael 0f0a57d127 More shelf-specific checks before calling shelf-specific functions.
SVN revision: 32864
2007-11-25 03:25:26 +00:00
Christopher Michael 326b96eb5f *sigh* Gadget containers can be other things besides Shelfs. Check for
existance of shelf before calling shelf-specific functions.


SVN revision: 32863
2007-11-25 03:18:31 +00:00
Christopher Michael e24160a744 Only call shelf_lock_set if the gadcon is part of a shelf & gadcon->shelf
exists. . This fixes segfaults with trying to edit/move items in the toolbar.


SVN revision: 32845
2007-11-23 11:49:27 +00:00
Sebastian Dransfeld 2124f06c27 lock shelf on gadcon edit and menu
SVN revision: 32841
2007-11-23 09:38:30 +00:00
Sebastian Dransfeld 4ca1a61c07 Declare and put static methods where they belong.
SVN revision: 32840
2007-11-23 09:32:02 +00:00
Christopher Michael 36c6082b05 Fix toolbar layer.
Modify e_gadcon so that the "Stop resizing this item" menu appears for
toolbar. No need to get w & h from the canvas to pop the menu, only need x & y.


SVN revision: 32730
2007-11-16 03:07:55 +00:00
Christopher Michael cef1e53756 Efm modules don't support Plain/Inset, so no need for the menu entry there.
SVN revision: 32593
2007-11-12 01:59:50 +00:00
Christopher Michael a6b5ad55bd Keep Begin/Stop of move/resize gadgets in sync.
This fixes a bugger where the shelf menu & gadcon client menu were not
updating properly when editing, ie: the shelf menu would still read Stop
Editing even tho no other gcc's where in edit mode.


SVN revision: 32579
2007-11-11 17:44:29 +00:00
Christopher Michael bf03226559 Add some trapping to gadcon for doing drags. This is needed because toolbar
gadcon does not have zone->container.


SVN revision: 32522
2007-11-09 20:34:55 +00:00
Christopher Michael 9a4d68f63a Initial check-in of upcoming toolbar. Ignore this code for now as it's still
a work in progress (ie: do not use right now).


SVN revision: 32229
2007-10-31 10:09:51 +00:00
Carsten Haitzler 43a5794c88 buttom patch from lok and seb's shelf bug fix.
SVN revision: 31974
2007-10-05 06:05:16 +00:00
Sebastian Dransfeld a9948c5272 Better check if a gadcon supports new features.
SVN revision: 31729
2007-09-16 00:24:42 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Christopher Michael f4725035d1 Check that we actually have gadcon_layout_data before trying to access it.
This fixes bug #196.


SVN revision: 31674
2007-09-10 20:07:14 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Sebastian Dransfeld 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld a286d71061 Remove stale code.
SVN revision: 29158
2007-03-25 22:20:45 +00:00
Viktor Kojouharov aaebfe05c2 a new function to return the correct geometry and position of the gcc regardless of the shelf layer
SVN revision: 28548
2007-03-03 22:42:37 +00:00
Sebastian Dransfeld 231a5fc1a3 Should be prepend.
SVN revision: 27850
2007-01-07 21:06:03 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld c51bb204f7 If a config does not exist for a gadcon client on save, create it.
SVN revision: 27764
2007-01-03 17:33:40 +00:00
Sebastian Dransfeld 077df81327 dnd gadcon clients. Order for shrinked shelves does not work right.
SVN revision: 27759
2007-01-03 16:41:07 +00:00
Sebastian Dransfeld fb6c00b64d Rename callbacks for gadcon client.
Add callback for move/resize of the gadcon.


SVN revision: 27754
2007-01-03 06:30:43 +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
rephorm aac131f834 delete gc->clients->data from _before_ the removal
SVN revision: 27715
2007-01-02 03:25:01 +00:00
Sebastian Dransfeld f3882bd459 Set the requested gadcon client pos equal to the drop pos.
SVN revision: 27713
2007-01-01 21:44:23 +00:00
Sebastian Dransfeld 6af75194eb Use drag resist config value.
Remove gadcon client from gadcon when unpopulating. If someone else has a
ref on a gadcon client this loop will run for ever.


SVN revision: 27712
2007-01-01 21:27:35 +00:00
Sebastian Dransfeld a948c87538 Conditional resize.
SVN revision: 27704
2006-12-31 15:18:27 +00:00
Sebastian Dransfeld 2844b9d77c Disable drop handler.
SVN revision: 27701
2006-12-31 14:18:15 +00:00
Sebastian Dransfeld 6381bd0d4d Larger drag resist.
SVN revision: 27700
2006-12-31 14:07:01 +00:00
Sebastian Dransfeld 26ccc7a2a4 No need to continue looping after the id is rejected.
SVN revision: 27695
2006-12-31 12:23:16 +00:00
Sebastian Dransfeld abb527f7e5 Better check for unique id.
SVN revision: 27693
2006-12-31 10:07:12 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld e2ad139030 Clean gadgets because of current changes.
It is possible to drop gadcon clients on shelves.


SVN revision: 27679
2006-12-30 22:31:28 +00:00
Sebastian Dransfeld ff30cfcfe3 Functions to create new config and del config.
SVN revision: 27676
2006-12-30 21:00:19 +00:00
Sebastian Dransfeld 3f41c2b290 Drag gadcons off the shelf in edit mode to remove them.
SVN revision: 27675
2006-12-30 18:12:53 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Sebastian Dransfeld db5451759f Disable drag.
SVN revision: 27646
2006-12-29 16:58:56 +00:00
Sebastian Dransfeld 439b87ffa6 Start of drag code for gadcon.
SVN revision: 27645
2006-12-29 16:54:21 +00:00
Christopher Michael 8954bb145b Some formatting love for the ohh so friendly e_gadcon :)
Icons in the shelf menu for Config Contents and Shelf Config.


SVN revision: 27534
2006-12-20 22:40:01 +00:00
Christopher Michael 71434d0911 Fix IBar/IBox "resize to single icon" bug.
Good eye Metrics :)


SVN revision: 27274
2006-11-29 11:24:54 +00:00
metrics 7f9999dbf8 More fixes of the autoscroll/drag and drop behaviour for gadgets in
shelves. Added callback to allow the current drop position to be
dynamically updated as the gadget scrolling is animated.


SVN revision: 27114
2006-11-15 06:24:30 +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
sebastid 37d0006594 paranthesis are nice.
SVN revision: 26005
2006-09-21 20:05:44 +00:00
sebastid 4e81527304 Cleanup.
- Remove unused variables.
- Add const where needed.
- Add return values.


SVN revision: 26002
2006-09-21 19:53:38 +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
moom ff7fff2dad * [Ibar/Ibox] Make "o_empty" object expand so we can right-click
everywhere in the ibar/ibox to add new icons when it's empty. (TODO--)


SVN revision: 25562
2006-09-06 21:40:17 +00:00
sndev bf9d1bba52 - no more "slow" moving on gadcon item dragging.
SVN revision: 25315
2006-09-02 00:12:16 +00:00
Christopher Michael 6b749086ef Make sure bi is set before trying to use it or else Seggy. Thanks iSteve :)
SVN revision: 25276
2006-09-01 10:40:54 +00:00
Christopher Michael 74e1827485 Implement per-gadget move/resize also.
SVN revision: 25271
2006-09-01 08:49:46 +00:00
sndev d38f03aea7 Ehhhh. So stuff in one go.
* Mouse Binding Dialog
  - dialog refactoring
  - no need to select modifiers, etc. Just click add button and do an action with a mouse.
  - new icons. Many thanks to Luchezar 'ManowarrioR' Petkov for great work on this icons.
  - extra mouse buttons and wheels are supported.
  - etc, just try and see.

* Shelf
  - No re-population when "plain/inset" mode set.
  - Changing the orientation of the shelf horiz->vert does not screws up it look.
  - something else

* Gadcon
  - No overlaping items in initial shelf.
  - Moving of items in gadcon is not problematic any more. Will not get any mess
    and overlaps in gadcon on moving.
  - Item sizing. If u size an item to the left it will be sized only to the left.
  - If gadcon clients take much more space than gadcon can display, they are resized
    starting from the biggest item(s).
  - Shrinked mode actions, moving/sizing, is not problematic. Everything works
    exactly in the same fasion as in non-shrinked mode.
  - etc.


SVN revision: 25235
2006-08-31 04:16:43 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
rephorm 5ec2d99fb6 some more theme work
SVN revision: 25051
2006-08-23 01:13:04 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid 0faf746d4c formatting
SVN revision: 24503
2006-08-09 11:07:44 +00:00
essiene 26abf12032 * $XXX [xxxxxxxxxx] default view (plain or inset) of a gadget should be able to be
specified by the gadcon client so when it is added it can also supply an initial style mode.

This first commit, sets up the infrastructure. See the collab mail describing how this works. The next patch shall simply update the core modules to use this. Then comes the modules in e_modules


SVN revision: 24491
2006-08-09 06:08:36 +00:00
sebastid 3d1f519d17 Add return value
SVN revision: 24268
2006-07-28 11:31:50 +00:00
Christopher Michael 9acfbd1810 *spank spank* null checks.
-Add null checks before using an Evas_Object, avoiding potential segfault(s).

-Check returns from evas_object_data_get() as it has potential to return
NULL, and previously if it did, E would segfault.


SVN revision: 24074
2006-07-20 15:39:27 +00:00
Christopher Michael 6e46f259a4 Destroy gadgets menus when we unpopulate. Removes bug from todo concerning
menu for gadgets.


SVN revision: 23766
2006-07-08 18:17:53 +00:00
Carsten Haitzler 01ffb0e77b fix stop editing menu
SVN revision: 23445
2006-06-15 07:41:51 +00:00
Carsten Haitzler 7ea19245d7 todo-- :)
SVN revision: 23444
2006-06-15 07:24:10 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
Carsten Haitzler 59a12c9d5d remove really evil/bad code int he desklock config dialog. don't go digging
and recreating internal widget data - you need a feature - add it to the
widget, or use existing ones. password mode disabled because it's just a bad
buggy hack. see comments.


SVN revision: 23041
2006-06-01 04:09:33 +00:00
sebastid c2d2b54e25 Remove unused variables
SVN revision: 23031
2006-05-31 18:44:18 +00:00
sebastid 2faf4a5ab6 Add some const modifiers to quiet warnings.
Remove unused variables.


SVN revision: 23021
2006-05-31 16:07:22 +00:00
Carsten Haitzler 6dcf19c786 and > 4 shelves fixed (ie no gadcon config by default)
SVN revision: 22737
2006-05-19 13:21:01 +00:00
Carsten Haitzler 0f5945349d gadcon config generates new id's for new gadcon clients... properly.
SVN revision: 22736
2006-05-19 12:56:47 +00:00
Carsten Haitzler 851d41c010 gadcons now can have their contents enabled/disabled depending on what is
providing it.


SVN revision: 22478
2006-05-07 09:49:37 +00:00
Carsten Haitzler 90a1c59b5c governors menu works properly/predictably again
SVN revision: 22468
2006-05-05 23:31:12 +00:00
Carsten Haitzler 0279810e42 ou can choose shelf styles now - finally. added 2 more styles (gold and
invisible). themes can provide as many styles as u like.


SVN revision: 22391
2006-04-29 03:51:27 +00:00
Carsten Haitzler afe18a2157 now config comes off a menu as does editing of items
SVN revision: 22318
2006-04-23 13:20:57 +00:00
Carsten Haitzler ea0876f7c8 start of some shelf config - START only... deal with it. debugging printfs
galore.


SVN revision: 22308
2006-04-23 06:56:22 +00:00
Carsten Haitzler 8254a08d85 hmm- try avoid a segv
SVN revision: 22266
2006-04-20 14:59:53 +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
Carsten Haitzler 227d31fbf5 we were getting duplicate events for popups. fixed now! :)
SVN revision: 21893
2006-04-06 07:26:11 +00:00
Carsten Haitzler 51c1084431 more shelf work - getting there.
SVN revision: 21847
2006-04-05 14:00:32 +00:00
Carsten Haitzler cc6b6a326c add frame object selection ability - broke move of the framed "ibar" test.
need to fix framed gadcon clients to account for frame size.


SVN revision: 21807
2006-04-04 15:42:25 +00:00
Carsten Haitzler 7f422515a1 different shelf look - imho much nicer now.
work on some mroe shelf stuff - like autofit. i need to add a lot more hooks
for things and info.


SVN revision: 21802
2006-04-04 09:54:50 +00:00
Carsten Haitzler 218b8215bc some more work on shelves/gadcon
SVN revision: 21778
2006-04-03 14:01:00 +00:00
Carsten Haitzler 3a778335dd add size request callback
SVN revision: 21729
2006-04-02 11:35:35 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Carsten Haitzler 477a40e79b working on shelves
... and a bit on gadcon.


SVN revision: 20456
2006-02-14 13:09:01 +00:00
Carsten Haitzler 15199f1413 shutdown disabled for now.
SVN revision: 20384
2006-02-10 13:42:56 +00:00
Carsten Haitzler daccad473b more gadcon work... oooh getting close.
SVN revision: 20383
2006-02-10 12:21:22 +00:00
Carsten Haitzler e23367f722 for now - people will miss their "start" module - as it has now been ursurped
for gadcon testing :) mind u - it's a HELL of a lot smaller now :)


SVN revision: 20381
2006-02-10 09:26:12 +00:00
Carsten Haitzler 15c398e635 more gadcon work! - getting there. slowly. the pieces are coming together...
SVN revision: 20379
2006-02-10 08:14:57 +00:00
Carsten Haitzler 2f7cfd5fbc more work on gadcon - u can drag items around and they reshuffle kind of ok -
not perfectly tho.


SVN revision: 20347
2006-02-08 15:06:25 +00:00
Carsten Haitzler 91b1a4ca52 a bit more gadcon work
SVN revision: 20308
2006-02-06 10:44:54 +00:00
Carsten Haitzler 57786e3b36 more gadcon work
SVN revision: 20287
2006-02-05 09:29:47 +00:00
Carsten Haitzler 93cec27126 working on gadcon - it has a special smart object layout of its own that is
designed to optimally help lay out gadgets in a 1 d list along an interval
and do the right thing shoudl that interval change size etc.


SVN revision: 20285
2006-02-05 08:17:40 +00:00
Carsten Haitzler 9ba71cbd62 going to work on gadcon - an intended replacement for gadman. just starting
things up - comments welcome, but this needs to fix up layout of gadgets for
moduels (gadman will exist for a while - mayeb forever, but i will migrate
most internal modules to gadcon eventually)


SVN revision: 20196
2006-02-02 09:42:19 +00:00