have done here beyond just "copy the code" is:
1. fix up some code that was useless (didnt need to be done).
2. reformat all the code to be closer to efl/e style guidelines
3. add flags to the gadget popup menu to change keyboard
4. fix lots of warnings
5. fix some correctness in c - () vs (void)
6. added q66 to AUTHORS
7. made it use _() intl macro, not D_() (needed)
8. put xkbswitch module stuff in theme (need some prettying/work)
9. added some XXX: comments on things to do
right now xkbswithc is actually very powerful (thanks q66) but its not
that user-friendly. it lets you add a short-list of "keyboard layouts"
you nee/duse. the gagdet lets you quick-switch between them. this
actually works. it has nice little flaggy things to try help you out.
what we probably need to do is:
1. fix a buffer overflow waiting to happen in the kbdswitch changing.
XXX'd
2. add a wizard page asking for kbd layout
3. double-check that "last used kbdlayout" is actually turned on
4. move xkbd config to core e config (not separate in module)
5. pretty up the gagdet (add a shadow around the flag, some
placeholder if no flag is selected etc.)
6. go over the xkb parser - it looks fragile from a read
:)
SVN revision: 70531
one more todo item being knocked off. but there.
also no proper icon for it yet. mostly code from the old taskbar with
lots of little things fixed.
SVN revision: 64518
Apparently, when doing min size calculation we take hidden parts into
account, which caused the calculation to be wrong in this case.
Setting the hidden textblock to fixed solved the issue.
SVN revision: 59788
now... and uses map... like clock... and i added 2 more mini dialos
for min and max freq if u have multiple cores at differetn frequencies
:) red one now has a white tip for easier visbility and shows average
of all cores.
SVN revision: 55054
actually one can call it colorization, as you can make the unfocused
windows colored and semi-transparent.
Settings > Colors > Modules: Composite Focus-out Color.
SVN revision: 54560
[19:55] <pespin> Hi, can someone with commit rights apply this diff to enlightenment_remote please? http://pastebin.ca/1965991
[19:56] <pespin> it adds posibility to launch EFM from there
SVN revision: 53575
- double click on item runs action, right click runs action and keep evry open
- same with selectors
- mouse down and move 150px browses that item. and back. TODO needs an indicator
- mouse wheel selects next/prev on plugin bar or selectors
SVN revision: 48949
Introducing the styles:
* fast: does not have focus-in/out effect, similar to "slow", but runs in
0.1 second, so quite fast.
* focus-out-colored: the focus-out has a color applied to it, the
color is gray by now, but can be changed with conf_colors (last
item), one can go crazy and make the focused out yellow or make
them semi-transparent;
The "comp" configure dialog now the focus in/out effects as well, to
make user know what is happening a boring label is overlaid in the
preview.
SVN revision: 48491
- allow multiple selection of and action on items, use ',' ctrl+ , ctrl- for marking items
- only those selected items will be used that match the type of action.
- TODO: filter which actions should not be used with multiple candidates
- files: added dir monitor and trash action
SVN revision: 48312
edje obj swallowing windows, selection mechanism to have myltiple styles (2
examples), signals for focus, urgent, comp stuff now in core theme.... dump
and flush supported now (sends messages).
SVN revision: 47950
Initial module written by Gustavo F. Padovan, I changed it quite a lot
to change some issues... but still many pending, see TODO at the start
of e_mod_main.c
SVN revision: 47160
The goal of this dialog is to be simpler to use and fit a small
screen, however provide more useful features to the user.
This was done by having one single multi-select ilist with color
previews on the left (just text now, but supports solid colors as
well) and a full-featured preview on the editor box.
The list supports multi-select, so one can enable, disable or set
colors on multiple items at the same time, avoiding the old
enable/disable radios that did not make much sense. The frame label
should be updated based on the items one select (if they have the same
colors or are "mixed", if they are all unset).
The list also uses the new feature to show an "end" icon to notify the
item is customized or not.
TODO: review supported/known color classes, it is as simple as
changing the description array.
SVN revision: 46928
There is still lots of room for improvements, we should add more color
classes so users could choose more colors (conf_colors to be changed
soon).
NOTE: color_class value will be multiply (ie: tint) the existing part
value. This applies for both IMAGES (as expected) and TEXT (I
did not expect it). IOW: do not define the color in the part,
just in the color class section.
NOTE-2: if you do not define a color class in your theme, the
conf_colors dialog will have no clue on what is the default
color.
SVN revision: 46927
This dialog was reworked to have one single list instead of two. This
makes the internals way simpler and also fits small screens.
Extra benefit is that we don't need to reload the list, so it's
flicker-free and you don't loose context. Of course it will save some
cpu cycles not having to do these list fills over and over again.
the ilist had to be changed to include an "end" object, in the default
theme it is at the right. It will use a part named
e/widget/ilist/toggle_end to present the selected state. (The
favorites/heart icon was choosen because it is red and thus easily
visible in both black and white background -- selected/unselected).
SVN revision: 46813
We provide just a default, but distros should use their own version
with system specific groups and hibernate/suspend actions (pm-utils or
so)
SVN revision: 45596
* passphrase dialog now has a minimum set size.
* gadget service name just shows if gadget is larger than 32px, this
avoids useless 1-2 letters + ellipsis on small gadgets.
* it's not clear from connman, but seems that error is just
meaningful if they are in state == failure, they just don't append
the error and do not notify it went away :-(
* NotConnected is the name, not the message. Now disconnect on
already disconnected is fine (called when one request passphrase
again)
* fix typo "Disconnect s/to/from/g network service"
* add some notes on where to handle cellular services.
SVN revision: 44854
* interacts with offline mode (menu > settings > mode > offline)
* asks password if service requrires a password or failed to connect.
* on server exit stringshares go wrong and it crashes. It is very
weird that this does not happen with e_dbus_connman_test and
valgrind reports no error there. It is easy to reproduce, but hard
to track as things are asynchronously and stringshare will report
the error on the last _del(), that might the correct one and the
spurious happened before.
* part of the usability issues are due connman server (connmand), it
should have an "authentication failed" error (instead of generic
"Failed: input/output error" and it should stop entering
"InProgress" when it is not (often happens when one enters invalid
password, gets an Failed i/o error, then system keeps into
InProgress). Toggling offline mode might help reset the status.
SVN revision: 44847
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary
SVN revision: 42864
- theme: allow smaller popup size, cleanups
- free items from history. needs some more testing
to let the history not grow too large
SVN revision: 42119
- add cursor left/right folder navigation back to list view + arrows for the theme
- remove old list view theme
- use ctrl+3 / ctrl++ for changing zoom level in thumb view
SVN revision: 42070
- optimized view to update when required
- dirbrowse send asnyc upadte only when current list has changed
- ++ evry_action priorities, needs config option though
- moved _app_action to evry_util_app_exec
SVN revision: 42051
- keep state of view for zoom and mode when browsing
- only update non async sources when switching selectors while update timer is active
- fix 'open with' action
SVN revision: 42047
- removed old list view. both is in thumb view now. toggle them with ctrl+2
- removed o_icon and o_bg memebers from Evry_Item, those didnt belong there..
- moved some stuff into evry_util.c
SVN revision: 42031
- new thumb view: use + for zoom
- moved plugins to subdirs
- theme tweaks
- fix fuzzy match once again
- hash border and app items
SVN revision: 41961
version config - literally keep the last 9 config revisions (10 including the
current) and if config gets corrupted...it auto-falls back to the last good
one.
SVN revision: 41252
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
1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume
before eject, if it necessary.
2. Added timeouts of mounting/unmounting/ejecting media, and
it's moved to slave e_fm_main.c. Each timeout will generate
*_MOUNT_ERROR, *_UNMOUNT_ERROR and *_EJECT_ERROR message.
3. Added auto mount on insert media and auto showing efm2 window
on mount volume options to filemanager config.
4. Added mounted/unmounted glyphs to efm2 icons and track state
code. Now each removable device have "M" glyph on icon if mounted
and "U" when unmounted.
5. Added mount/unmount/eject commands to icon dropdown menu.
6. Russian translation of mew messages.
7. Other bugfixes and improvements for co-operation.
Now, efm2 contains all code to mount/umnount/eject removable media and
all code to provide corresponding user interface.
It can working independently from 'places' or co-operate with it.
By: Sergey Semernin
SVN revision: 40928
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.
the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.
I cannot test this now, please say if it does not work.
SVN revision: 40616
large buttons like those in syscon were very ugly with old glow since
it would scale the gradient. now the glow is just in the borders, the
middle is a plain color.
SVN revision: 40614
The option can currently be activated from Virtual Desktops Settings -> Advanced. A better home and preview would be better for these settings.
In more detail, this option can make a wallpaper, larger than the geometry of the zone, scroll appropriately with each desk change. Consider a nice panorama picture, which is as wide as the total desks' width. Then, at most, E will scroll the background by 1 / (number of desks) for each desk change. The direction of the scrolling is dependent on the desk change itself. Also, the user can specify a coefficient of maximum scrolling for each axis. If the coefficient is 0, the wallpaper will not move.
More advanced animations can be constructed with edje. The data item "directional_freedom" "(1|0) (1|0)" can toggle the actual wallpaper scrolling done by E for each axis. A message with the current x/y position, panning w|h, and zone w|h is sent to the background edje with each desk change animation tick. An example embryo script that handles the message, and changes a hypothetical "a1" part in the "e/desktop/background" group is shown below:
public message(Msg_Type:type, id, ...) {
if (type == MSG_INT_SET) {
new x = getarg(2);
new y = getarg(3);
// new max_x = getarg(4);
// new max_y = getarg(5);
// new w = getarg(6);
// new h = getarg(7);
custom_state(PART:"a1", "default", 0.0);
set_state_val(PART:"a1", STATE_FILL_POS, 0.0, 0.0, -x / 4, -y / 4);
set_state(PART:"a1", "custom", 0.0);
}
}
SVN revision: 40543
Do NOT include dirs in EXTRA_DIST (embryo, eet, ecore, evas, edje,
efreet) as it will include .svn directories!
EXTRA_DIST does not take a glob as ETK did, use $(wildcard glob) to
expand it.
And do not forget about adding extra files to EXTRA_DIST (wizard) and
DIST_SUBDIRS (fileman_opinfo).
SVN revision: 40247
for it - need to improve the thum frames anyway. also the all desktops/this
desk/this screen now works. need to next add add pic/add exhcange/add
gradient buttons
SVN revision: 39867
EAPI void
e_menu_item_disabled_set(E_Menu_Item *mi, int disable)
Setting the menu item 'disabled' will gray it out and will make it unselectable.
SVN revision: 39802
* use edje_box instead of evas_box
* remove entry_del_handler (use the free_cb instead)
* sizeof(buf) instead of PATH_MAX in snprintf
Thanks gustavo for suggestions :)
SVN revision: 39687
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
All the graphics need to be done! For now just a red rectangle, 5 labels and
a really simple progress bar. ... (toma: ping)
You can change the position of the info box from e_fwin.c line 329. A configuration will come soon....
The configuration will also let you choose on witch window you want to see the info box
(every window, just on the source of copy operation, just on the dest or both)
SVN revision: 39416
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
to use in place of e_util_edje_icon_set.
The new function (as it works for menu) search the icon in E theme and FDO themes
according to the config option.
SVN revision: 39371
* split e_fm2_icon_get() to make it reuse more code paths.
* lots of new internal functions with _e_fm2_icon_ prefix are born,
try to reuse them as much as possible so we have less places to
change if we move to something else (hint: using FreeDesktop.Org
icons)
* optimize e_fm2_icons_update() and few others to do not copy
sd->realpath all the time, it is loop invariant there.
* comparison of mime icon "DESKTOP" and "THUMB" are now fast pointer
comparison since they're all eina_stringshare'd.
* themes can now differentiate between file types, like 'fifo',
'socket' or even 'executable'.
* common extension comparisons are bit faster, not using glob pattern
matching but rather reusing code to find out last '.' and then
comparing them in optimal way. I added E_FM2_SIMPLE_STRCASE_FILES
to make it even faster if one wants, left disabled by now.
SVN revision: 39313
As I suspected it was not error on my code. At the end it was just a
missing theme.
For now I just aliased default to desktop, but I guess it's better to
come with something else transparent so we can see our
wallpaper. Themers?!
PS: for Illume I think it makes sense to have that menu, but for
desktop it does not, maybe we should add more flags to turn off just
view mode selection and keep icon size? Or just turn off lists... or
just let the user choose, there are many strange users out there, one
might like it.
SVN revision: 37983
now). syscon has a poup with buttons (configurale) that offer all the
logout/reboot etc. stuff. also able to extend with more items or inline them
into the theme too.
not complete. need config for being able to extend the syscon popup (and use
it) and no gui config for configuring what should appear and how it should
look. possibly theme should have custon elements for the ones curently using
button + icon look. also no keyboard control.
SVN revision: 37797
* remove illume custom config dialog - use normal one
* add toolbar used in config dialog. will be used for more. makes ui more
compact and flexible.
* make dialog windows optionally ALWAYS be "normal windows".
* config module exports a config gadget now - illume doesnt need it anymore
SVN revision: 37721
now a breeze to set up and use - unlike before. so now it's a wizard or
profile option out-of-the-box. it's a good example of a radical change in
profiel for a radical change in gui.
SVN revision: 37195
just the init of ibar/fileman favorites is the old untar code moved to
wizard. icons for all profiels are nto done yet - doing. broung some
backgrounds back - small .edj files though.
SVN revision: 37119
interestign except pause for 2 seconds so the "welcome to enlightenment"
title it sets can be seen (and disable the next button). 010 is the laguage
selector - borrows a small bit of logic code from the langaue config module
so it can just list known supported locales on your system let you select,
and move on. it's special in that it implements its langauge choice the moment
you hit "next" (the page hides). this is so further pages are in the selected
language (which they are. and that's so cool).
SVN revision: 37092
fontconfig should suffice these days) and sample backgrounds - well... let's
just move "sample data" to exchange's job. make's e's backage and default
install leaner.
SVN revision: 37036
anywhere! you would need a fonts {} sectin that maps Edje-Vera-Bold to a
.ttf file inlined into the .edj files. We don't included these anymore in the
theme. We use the (these days) standard Sans font on the system. the solution
to it missing/not working (when a bold style is used) is not adding fallbacks
in to fonts that don't exist. I have never seen any problem with this, so
those that do should be checking why the Sans and Sans:style=Bold fontconfig
font declarations don't work (lack of those fonts on their system? bad
fontconfig setup? maybe a bug in evas's fontconfig support?)
SVN revision: 37032
init splash now merged with theme - default theme has both. saves space on
disk and just in the end is cleaner. can still select spash separately - but
now themes should provide splashes. you can have just splash files in the
theme dir - but won't be much good for full themes.
default theme now is b&w - all moved over and building. it's now default.
default splash is just default theme etc. etc.
this may cause some problems - so i'd just check your settigns and maybe
re-selct your init splash as it may not exist anymore or be found and thus a
blank splash until u fix it in config.
hmm... there is a bug thoug - i think fileman related. will check. missing
something in theme.
SVN revision: 37006