Commit Graph

6905 Commits

Author SHA1 Message Date
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Stefan Schmidt 07d8a49d00 e17: Fix memory corruption in e_remember.
Inspired by Daniels ecore mem corruption patch I fixed our coccinelle support
scripts. This one was found by bad-alloc.cocci for example.

SVN revision: 77353
2012-10-03 08:45:40 +00:00
Sebastian Dransfeld cd7260094e e: remove trailing whitespace
SVN revision: 77350
2012-10-03 08:03:50 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 5c97097053 e: Move variables to correct scope
SVN revision: 77348
2012-10-03 08:03:28 +00:00
Sebastian Dransfeld 32dc338e1a e: move check for border on desk
We only want to check if the border is on desk to handle
allow_above_fullscreen so move check here. Other code should always be
executed.

SVN revision: 77347
2012-10-03 08:03:17 +00:00
Sebastian Dransfeld 7cc4d1e501 e: Check allow_above_fullscreen earlier
SVN revision: 77346
2012-10-03 08:02:35 +00:00
Mike Blumenkrantz 4f93b748ac add max thumbnail size setting back, improve fileman config slider unit display
SVN revision: 77343
2012-10-03 06:41:32 +00:00
Mike Blumenkrantz f5dd030696 patch from rustyBSD fixing file moving to other devices
ticket #1581


SVN revision: 77342
2012-10-03 06:27:40 +00:00
Mike Blumenkrantz bec99c1d87 straggler from last commit
SVN revision: 77325
2012-10-02 14:04:38 +00:00
Mike Blumenkrantz 7aaa4e554c add another tab in desklock config to allow changing keyboard layout on desklock. EXPERIMENTAL!
ticket #1538


SVN revision: 77324
2012-10-02 14:04:04 +00:00
Sebastian Dransfeld e14715ca32 E: Adjust fullscreen layers
Always set fullscreen on top in presentation mode, ignore
allow_above_fullscreen.
Honour allow_above_fullscreen on mode change.

SVN revision: 77323
2012-10-02 13:11:46 +00:00
Sebastian Dransfeld 23c2d4ad14 e: Honour mode presentation on fullscreen set
SVN revision: 77322
2012-10-02 13:02:43 +00:00
Mike Blumenkrantz bb5380c3da add new language config dialog for setting a desklock language (NOT keyboard layout)
part of ticket #1538


SVN revision: 77321
2012-10-02 13:00:25 +00:00
Sebastian Dransfeld beb76614ac e: Adjust fullscreen stacking
Allow popups above fullscreen, unless presentation mode is set.

SVN revision: 77317
2012-10-02 12:53:38 +00:00
Mike Blumenkrantz 74909a465b formatting
SVN revision: 77313
2012-10-02 12:14:53 +00:00
Mike Blumenkrantz 42c7aa5975 avoid setting xkb variant as ',', just set as '' instead
SVN revision: 77311
2012-10-02 12:12:03 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Mike Blumenkrantz 591a74834d video preview slider is now fully functional, and non-tooltip file previews for videos allow use of the slider to change position at any time
SVN revision: 77308
2012-10-02 11:53:00 +00:00
Mike Blumenkrantz 1b398f6a0c fix video preview slider position setting, still broken with at least ogv files
SVN revision: 77305
2012-10-02 11:46:03 +00:00
Mike Blumenkrantz 6cd52da692 only try to get resolution for thumbnails if the file is actually a loadable image
ticket #1582


SVN revision: 77301
2012-10-02 10:57:12 +00:00
Sebastian Dransfeld 744ec42648 e: Fix off by one.
pos can be 10, and we access window in pos + 1 == 11

SVN revision: 77300
2012-10-02 10:52:50 +00:00
Mike Blumenkrantz b262da0198 add video size to tooltip, fix video tooltip geometry, add a (broken because of ticket #1587) slider to show the current playback progress of the current video
SVN revision: 77299
2012-10-02 10:34:48 +00:00
Mike Blumenkrantz 9971b20cdb tweak video preview layout and attempt to set video length; currently broken because of ticket #1587
SVN revision: 77296
2012-10-02 10:03:53 +00:00
Sebastian Dransfeld 5969b88a6a e: cleanup env var setting
Return early if there is nothing to append/prepend.
Only add ':' if there are two elements to join.

SVN revision: 77295
2012-10-02 09:26:30 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 2c950e2441 fix efm even/odd theming in directories with lots of files
ticket #1579


SVN revision: 77286
2012-10-02 08:31:09 +00:00
Mike Blumenkrantz 93d3c5f598 use correct format string here too
SVN revision: 77285
2012-10-02 08:05:47 +00:00
Mike Blumenkrantz ec28b54c4d greatly improve efm performance when loading large directories by reducing offscreen icon scan rate
SVN revision: 77284
2012-10-02 08:00:19 +00:00
Sebastian Dransfeld f2ac4219af e: correct layer for edge windows
Need a layer above fullscreen if fullscreen flip is to be able to work.

SVN revision: 77283
2012-10-02 07:23:27 +00:00
Mike Blumenkrantz 54d1715e58 debug printf--
SVN revision: 77272
2012-10-01 14:07:37 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz 45a916177f fix crash in e bindings from not using safe list iterator
SVN revision: 77268
2012-10-01 13:14:31 +00:00
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Mike Blumenkrantz 8a7477d9a8 reflow some code
SVN revision: 77254
2012-10-01 08:54:36 +00:00
Mike Blumenkrantz 121fe0f8c7 remove some e_sys code which prevented umounting user-mounted devices when devices were not mounted as /media/$dev
SVN revision: 77252
2012-10-01 08:35:03 +00:00
Mike Blumenkrantz f810de58ff the "Slide pointer to newly-focused window" option now also slides pointer when closing a window changes focus
ticket #1551


SVN revision: 77245
2012-10-01 07:38:46 +00:00
Mike Blumenkrantz 2c53d5b46f ensure e modules end in .so before trying to open them
SVN revision: 77242
2012-10-01 07:30:06 +00:00
Vincent Torri 0f76b94fc8 E17:
some trivial changes.

I.   _e_fm_op_stdin_handler is unused, so -> removed.

II.  if we cannot malloc _e_fm_op_stdin_buffer, we
     are in big shit, so nullcheck.

III. Formatting.

IV.  if argc < 4 we quit, so we don't need to check
     if argc >= 4.

V.   removed 'ret' variables. They are useless and
     they were not in old revisions.

VI.  _e_fm_op_copy_atom always returns 1, so we don't
     need to always check and return 1.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77221
2012-09-30 08:47:07 +00:00
rustyBSD 1093c09cab From: rustyBSD <rustyBSD@gmx.fr>
Subject: Re: [E-devel] E SVN: caro trunk/e/src/bin



SVN revision: 77216
2012-09-29 02:22:43 +00:00
Sebastian Dransfeld 336b70d246 e: unshade in shade direction
SVN revision: 77203
2012-09-28 12:25:30 +00:00
Sebastian Dransfeld 82f094feaa e: Apply styles to gtk application font
SVN revision: 77200
2012-09-28 12:04:34 +00:00
Sebastian Dransfeld 7c4fa48ab6 e: fix missing xcursor in e17
I discovered that at least for 1 week xcursor is not shown if it was
installed in system directory (/usr/share/icons), so i guess i will fix
a fix.

Fixes #1556

Patch by Sergei Kabanov

SVN revision: 77153
2012-09-27 13:02:18 +00:00
Carsten Haitzler dfb8541aad allow secure remove to be able to write multiple times... in theory...
but for now it's once. :)



SVN revision: 77147
2012-09-27 10:10:20 +00:00
Carsten Haitzler 17ce568685 lets "secure rm" with buffers of 64k per write and handle dangling
tail too.



SVN revision: 77146
2012-09-27 09:59:36 +00:00
Vincent Torri a7f6c22f5d E17: Added secure delete option (experimental !). Wait for discomfitor to add it to EFM conf panel
When removing a file, we store a E_FM_OP_DESTROY task,
which overwrites file with 3 passes of (~)randomized
data, and when we store a E_FM_OP_REMOVE task, to remove
the randomized file.

If it's a dir, skip E_FM_OP_DESTROY.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77020
2012-09-22 18:29:03 +00:00
Vincent Torri d5e3385fd9 E17: avoid seg fault when the string passed to strlen() is NULL
Patch by Maxime Villard (rustyBSD)


SVN revision: 77016
2012-09-22 12:07:49 +00:00
Vincent Torri 7f93d7305b E17: Patch from Maxime Villard (rustyBSD)
I.
    (strncmp(p, p2, PATH_MAX) == 0) &&
    ((p[p2_len] == '/') || (p[p2_len] == '\0')))

Here we want to know if p and p2 are the same.
It's easier to do a simple 'strcmp(p, p2)', and it's
useless to check the value of p[p2_len], because if
p = p2, p[p2_len] will always be \0.

II. Check the string as for E_FM_OP_MOVE.

III. Just a simplification.
it was something like:
    if (type == E_FM_OP_COPY)
        X;
    if (type == E_FM_OP_COPY)
        Y;
    else ...

I just replaced by
    if (type == E_FM_OP_COPY)
    {
        X;
        Y;
    }
    else ...


SVN revision: 77015
2012-09-22 12:04:42 +00:00
Gustavo Sverzut Barbieri 0698d74a6a efm: have a sane click-to-rename behavior.
Delaying rename entry by 0.75s makes absolutely no sense. As well
there is no sense in always rename if you click the label and the icon
was unselected (quite common in list views).

The proper behavior is to just rename the icon if it was selected, but
ignore the initial click used to select the icon, even if on
label. This is done by remembering the time it was selected, no need
for timer.



SVN revision: 77002
2012-09-21 21:35:17 +00:00
Gustavo Sverzut Barbieri 921d88a8e0 efm preview: better expand policy for properties table fields.
the label shouldn't try to expand, just fill the space. Also align
labels to right so they are closer to the contents.



SVN revision: 76999
2012-09-21 20:53:49 +00:00