Re: [E-devel] [PATCH] gadcon sities, efm2 slave fix, opinfo improvements

2009-06-25 Thread Sergey Semernin
Hello, All. In message from 26 june 2009 Carsten Haitzler wrote: > #define _LARGEFILE_SOURCE > #define _LARGEFILE64_SOURCE > #define _FILE_OFFSET_BITS 64 [skip] > output: > 3:23PM ~ > gcc t.c -o ttt; ttt > 4 8 Thanks. You are right. I have watch my own sources and I'm using this defines too. B

Re: [E-devel] [PATCH] gadcon sities, efm2 slave fix, opinfo improvements

2009-06-25 Thread Sergey Semernin
Hello, Gustavo. In message from 25 june 2009 Gustavo Sverzut Barbieri wrote: > I was testing the new opinfo and really like it, thanks! More feedback: > - on desktop/shelf (as a gadget, not in efwin/efm) show if operation > has a window or not. If it does, click on it would raise the operation

Re: [E-devel] [PATCH] gadcon sities, efm2 slave fix, opinfo improvements

2009-06-25 Thread Sergey Semernin
Hello, Gustavo. In message from 25 june 2009 Gustavo Sverzut Barbieri wrote: > >      -- added 'e_fm2_operation_abort' call to cancel local slave > > operation, -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to > > specify different cancel operation method than fm2 default, > > do no

Re: [E-devel] [PATCH] Add distinguish the target site to gadgets

2009-06-21 Thread Sergey Semernin
Hello, All. In message from 20 june 2009 Carsten Haitzler wrote: > always think things through and think ahead. don't design yourself into a > corner. i can imagine more than 32 spots existing within the lifetime of e. > :) Is my second patch with UL (32 bits), maybe ULL (64 bits) applicable? Or

Re: [E-devel] [PATCH] Add distinguish the target site to gadgets

2009-06-20 Thread Sergey Semernin
Hello, All. In message from 20 june 2009 Carsten Haitzler wrote: > a bitmask is almost reasonable... as that limits us to 32 gadget locations > (lets be real. we'll use an int). right now it seems ok, but... in the long > run, i am not so sure. an enum and just check if the is_site returns true >

Re: [E-devel] [PATCH] Add distinguish the target site to gadgets

2009-06-19 Thread Sergey Semernin
Hello, All. In message from 20 june 2009 Gustavo Sverzut Barbieri wrote: > > to be realistic - this will never make a difference. you many gadgets do > > you expect to have in a list? 100? 1000? more? you know that if 1 module > > provides 1 gadget... you'll run out of fd's long before you have e

Re: [E-devel] [PATCH] Add distinguish the target site to gadgets

2009-06-19 Thread Sergey Semernin
Hello, All. In message from 19 june 2009 Gustavo Sverzut Barbieri wrote: > > gadgets it call 'is_site(NULL)', so this case should be properly matched > > in gadget module. > > Ok, in order to avoid adding overhead document that is_site() will get > a stringshared string and you pre-stringshare th

[E-devel] [PATCH] Remove Evas_Bool, Evas_List and Evas_Hash

2009-06-18 Thread Sergey Semernin
Hello, All. In some modules deprecated types are still exists, and I removed it. Sincerely yours, Sergey. -- Jabber/XMPP: sergey.semer...@gmail.com Cellular: +7-909-206-5992 Index: esmart/src/lib/esmart_cairo/esmart_cairo.c === ---

Re: [E-devel] [PATCH] efm2 hal handling API - full changes

2009-06-08 Thread Sergey Semernin
Hello, Gustavo. In message from 7 июня 2009 Gustavo Sverzut Barbieri wrote: > > Directly before connect iPod to system's bus, and stop after disconnect > > iPod: > > > > $ dbus-monitor --system "sender=org.freedesktop.Hal" > > > > That's to catch all HAL messages. There is several critical to us

Re: [E-devel] [PATCH] efm2 hal handling API - full changes

2009-06-07 Thread Sergey Semernin
Hello, Gustavo. In message from 7 июня 2009 Gustavo Sverzut Barbieri wrote: > > I asking because 'volume remove' signal handler must remove volume > > icon independently from source when 'eject' signal emitted. > > i did think the same, that's why I said about it. > > > Can you send me > > HAL an

Re: [E-devel] [PATCH] efm2 hal handling API - full changes

2009-06-07 Thread Sergey Semernin
Hello, Gustavo. In message from 7 июня 2009 Gustavo Sverzut Barbieri wrote: > >> In svn, but I noticed that ejecting my ipod will not make its icon > >> disappear from efm window. > > > > Have'nt iPod now, but other mp3-players, such as Creative Zen ejecting > > and icon removing correctly... May

Re: [E-devel] [PATCH] efm_path module improvement

2009-06-06 Thread Sergey Semernin
Hello, Gustavo. In message from 7 июня 2009 Gustavo Sverzut Barbieri wrote: > sorry taking so late, but I thought somebody else applied your patch. > Now in svn! You missed new efm_path/images subdir. I was added it because I add 'clear' and 'go' buttons to theme. Also, earlier, I published pa

Re: [E-devel] [PATCH] efm2 hal handling API - full changes

2009-06-06 Thread Sergey Semernin
Hello, All. In message from 7 июня 2009 Gustavo Sverzut Barbieri wrote: > In svn, but I noticed that ejecting my ipod will not make its icon > disappear from efm window. Have'nt iPod now, but other mp3-players, such as Creative Zen ejecting and icon removing correctly... Maybe reason is in HAL

[E-devel] fm2 preview plugin

2009-06-01 Thread Sergey Semernin
Hello, All. What kind of fm2 preview plugin is mean? I see it as 'preview' fm2 filelist mode with: 1. rect zone for embedding graphics, 2. area with filelist, 3. area with toolbar to rotate, zoom and pan preview. So, we need a way to bind file's mimetype and preview module, that embed

[E-devel] [PATCH] efm2 hal handling API - full changes

2009-05-28 Thread Sergey Semernin
Hello, All. This patch contains all my previous modifications efm2 HAL API (patch from 22/05/09 named 0010-patch-efm-hal-api). So, this patch must be imported to svn instead of previous. New changes are: 1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume before eject, if it neces

[E-devel] Timeouts while mounting/unmounting removable devices

2009-05-25 Thread Sergey Semernin
Hello, Dave. I'm working on operations with removable volumes in efm2. There is some questions I have: 1. Timeouts realized as timers in each E_Fm2_Mount that represents efm2 window link to E_Volume. Maybe use d-bus timeout call in slave (e_fm_main) and return calls as E_FM_OP_M

[E-devel] [PATCH] Improvements to efm2 hal handling API

2009-05-22 Thread Sergey Semernin
Hello, All. It is approach to integrate places functionality (and more) to efm2. Improvements to efm2 hal messages processing API. 1. Added E_FM_OP_MOUNT_ERROR and E_FM_OP_UNMOUNT_ERROR slave signals. These signals occurs when mount or umount call to hal via d-bus completing with error. 2.

Re: [E-devel] [PATCH] In-place renaming for efm2

2009-05-17 Thread Sergey Semernin
Hello, Dave. In message from 17 мая 2009 Dave Andreoli wrote: > 2009/5/15 Carsten Haitzler > > > > P.P.S. Where disappearing keyboard event sent to desktop and icons on > > > it? > > > > there is no event. the desktop cannot get focus - only windows can. > > example - > > sloppy focus means that

[E-devel] [PATCH] Ticket #273. Make fallback to parent dir when no permissions

2009-05-15 Thread Sergey Semernin
Hello, All. Patch to ticket #273. Now, when "open dirs in place" is active and user haven't permission to open dir, efm2 fallback to parent directory. Also other events (for ex. delete) on dirs opened in efm will cause go to it's parents in efm windows. e_fm.c | 30 +++

Re: [E-devel] [PATCH] efm_path module improvement

2009-05-15 Thread Sergey Semernin
Hello, All. In message from 15 мая 2009 Carsten Haitzler wrote: > On Tue, 12 May 2009 15:28:42 +0400 "Sergey P. Semernin" > said: > > hey may! again - can you attach the patch not inline it? :) > Ok. Sorry. Attaching. Sincerely yours, Sergey. -- Jabber/XMPP: sergey.semer...@gmail.com Cellul

Re: [E-devel] [PATCH] efm_path module improvement

2009-05-15 Thread Sergey Semernin
Hello, All. In message from 15 мая 2009 Carsten Haitzler wrote: > On Tue, 12 May 2009 15:28:42 +0400 "Sergey P. Semernin" > said: > > hey may! again - can you attach the patch not inline it? :) > Ok. Sorry. Attaching. Sincerely yours, Sergey. -- Jabber/XMPP: sergey.semer...@gmail.com Cellul

Re: [E-devel] [PATCH] efm_nav keyboard shortcuts

2009-05-15 Thread Sergey Semernin
Hello, All. In message from 15 мая 2009 Carsten Haitzler wrote: > On Fri, 1 May 2009 11:02:59 +0400 Sergey Semernin > said: > > request. can you attach your patch, not inline it? line wrapping destroys > it. > Ok. Attaching patch and diff files. Sincerely yours, Serge

Re: [E-devel] Standard dialogs for E17

2009-05-05 Thread Sergey Semernin
Hello, All. In message from 5 мая 2009 Gustavo Sverzut Barbieri wrote: > > Is exists any standard dialogs for select file/directory, select > > picture and etc (as in GTK, Qt)? > > It is important that all dialogs for this tasks must have uniform view. > > in e17 yes, e_widget_fsel and e_widget_f

Re: [E-devel] [PATCH] efm_nav keyboard shortcuts

2009-05-01 Thread Sergey Semernin
Hello, All. In message from 1 мая 2009 sda wrote: > sorry, but is it possible to make keys as variables through the > "Input" -> "Key Bindings" window? right now we have "Esc" binded as "go > back" for "EFM" and suppose that it'd be enough for "hardcoded" > keybindings. > > thanks. It is possibl

Re: [E-devel] [PATCH] efm_nav keyboard shortcuts

2009-05-01 Thread Sergey Semernin
Hello, All. In message from 1 мая 2009 Gustavo Sverzut Barbieri wrote: > Just a small comment, other than that looks good to be included: > > @@ -175,11 +186,11 @@ > >      { > >       case E_GADCON_ORIENT_TOP: > >       case E_GADCON_ORIENT_BOTTOM: > > -       e_gadcon_client_aspect_set(gcc, 16

[E-devel] [PATCH] efm_nav keyboard shortcuts

2009-05-01 Thread Sergey Semernin
Hello, All. This patch adding keyboard shortcuts to efm_nav module. When efm_nav placed on efm2 window toolbar, next shortcuts are activated: Alt+Left -- backward in chdir's history, Alt+Right -- forward in chdir's history, Alt+Up-- go to parent dir, Control+r -- refresh view

Re: [E-devel] Finding focused window

2009-04-30 Thread Sergey Semernin
Hello, All. In message from 1 мая 2009 Gustavo Sverzut Barbieri wrote: > > Help please, how correctly find pointer to focused window? > > e_border_focused_get gives me pointer to E_Border* and how find window > > object from it? > > What do you want to do? But e_border is what you generally consi

Re: [E-devel] Efm_Nav keyboard shortcuts

2009-04-30 Thread Sergey Semernin
Hello, All. In message from 1 мая 2009 Gustavo Sverzut Barbieri wrote: > > Situation: efm_nav has a directory change history list. To make keyboard > > shortcust for up, prev, next I should use EVAS_CALLBACK_KEY_DOWN if > > widget catch keyboard events. But, efm_nav have'nt focus and not receive

[E-devel] Finding focused window

2009-04-30 Thread Sergey Semernin
Hello, All. Help please, how correctly find pointer to focused window? e_border_focused_get gives me pointer to E_Border* and how find window object from it? Sincerely yours, Sergey. -- Jabber/XMPP: sergey.semer...@gmail.com Cellular: +7-909-206-5992 ---

[E-devel] fm2 auto-mount on insert for removable devices

2009-04-29 Thread Sergey Semernin
Hello, All. In the release plan 'fm2 auto-mount on insert for removable devices, possible import places to e/src/modules (with a better name?) See #229' issue present. Are you plan to move places functionality to efm2? Or 'places' module will be enabled by default and stay 'as is'? Sincerely yo

[E-devel] Efm_Nav keyboard shortcuts

2009-04-29 Thread Sergey Semernin
Hello, All. Situation: efm_nav has a directory change history list. To make keyboard shortcust for up, prev, next I should use EVAS_CALLBACK_KEY_DOWN if widget catch keyboard events. But, efm_nav have'nt focus and not receive this events. Second - make E_Action objects and link them to Alt+Lef

Re: [E-devel] [PATCH] In-place renaming for efm2

2009-04-22 Thread Sergey Semernin
Hello, All. In message from 23 апреля 2009 Carsten Haitzler wrote: > hmmm ... not what i wanted. i wanted edje's entry used as it can actually > follow theme styles etc. etc. this uses e's entry which is old (and should > now be replaced/deprecated). > > see elementary's elm_entry.c Then, maybe

[E-devel] [PATCH] In-place renaming for efm2

2009-04-22 Thread Sergey Semernin
Hello, All. This is patch for in-place files renaming in efm2. I was guided by next reasons: - leave usual rename dialog, where it is more convenient; - using theme for entry field (all entries looks the same); For theme elements: e/fileman/default/icon/variable, e/fileman/defaul

Re: [E-devel] ecore_evas compile error from 39985

2009-04-11 Thread Sergey Semernin
Hello, Adam. In message from 11 апреля 2009 you wrote: > Looks like http://trac.enlightenment.org/e/changeset/39985 broke compiling > (at least on Linux/amd64). > > If you revert what was done in ecore_evas_util.c it seems to work. Yes. But I compiled it by adding #include "Ecore_Input.

[E-devel] [PATCH] Solve ticket #274

2009-04-10 Thread Sergey Semernin
Hello, All. In E_Dialog space key grabbed before than keydown event reach to entry widget in E_Entry_Dialog. Thus, I forced ungrab space key in e_entry_dialog_show constructor. Moreover, I added escape key handling in _e_entry_cb_key_down callback. I do not delete space key grub in E_Dialog, bec

Re: [E-devel] entry_mode for 'TEXT' edje element

2009-04-09 Thread Sergey Semernin
Hello, All. In message from 9 апреля 2009 Gustavo Sverzut Barbieri wrote: > > As I see only TEXTBLOCK element have property 'entry_mode', to set it > > editable or no. This is using in elm_entry.c. > > Many other widgets contain TEXT element, such as 'e.text.label', but > > seems no similar prope

[E-devel] entry_mode for 'TEXT' edje element

2009-04-09 Thread Sergey Semernin
Hello, All. As I see only TEXTBLOCK element have property 'entry_mode', to set it editable or no. This is using in elm_entry.c. Many other widgets contain TEXT element, such as 'e.text.label', but seems no similar property in it. Therefore, no basic callbacks are initialized when creating. And

Re: [E-devel] [PATCH] Patch for ticket #272

2009-04-09 Thread Sergey Semernin
Hello, All. This is patch for ticket #272. I guided by next considerations: -- in most cases links to a dirs or files must be passed to program "as is"; -- also, if dir icon selected in efm2 then we need pass this name to a program too. So, I removed some superfluous checks from fuction

Re: [E-devel] fileman 'in place' rename

2009-04-08 Thread Sergey Semernin
Hello, All. In message from 8 апреля 2009 Gustavo Sverzut Barbieri wrote: > just be aware to handle cases where the input would stay out of the > viewport, we have cases where just scrolling would solve (but > annoying), as it is within the parent object geometry, but in some > cases we can even

Re: [E-devel] fileman 'in place' rename

2009-04-07 Thread Sergey Semernin
Hello, Carsten. In message from 8 апреля 2009 Carsten Haitzler wrote: > no no.. EDJ?E has entries. EDJE can do the text input itself - cursor and > selections and so on - handling typing. all u need to do is some focus fun. > elementary does this. it uses edje' entries to do all the text work! :)

[E-devel] fileman 'in place' rename

2009-04-07 Thread Sergey Semernin
Hello, All. In roadmap: 'fm2 rename file in-place now (as edje has entries now)' What of edje entries assumed here? Now, I have explored two ways to solve this task: 1. Get geometry of e.text.label and place e_entry over it; 2. Add to theme my own e.inplace.box (box, exactly same place

[E-devel] [PATCH] efm: fm2 "open with..." dialog needs to go down to 1 list, not 2

2009-04-03 Thread Sergey Semernin
Hello, All. This is patch for issue: fm2 "open with..." dialog needs to go down to 1 list, not 2. ilist needs to be fixed to handle such big lists of stuff. This single list would list at top applications to handle that mime type and then a separator/header followed by all available app

Re: [E-devel] Efm development

2009-04-02 Thread Sergey Semernin
Hello, Dave. In message from 2 апреля 2009 Dave Andreoli wrote: > * efm atm read .gtk-bookmarks (they are displayed in the new > "file" submenu in the E main menu). This is cool, as many other > apps use it, but at the end create some confusion with the E favorite [skipped] There are two ways -

Re: [E-devel] Efm development

2009-04-01 Thread Sergey Semernin
Hello, Victor. In message from 1 april 2009 Viktor Kojouharov wrote: > We should take the in-place to a whole new level, and remove as many > dialogs as we can. The only dialog that should stay is the properties > one, since it is quite big. Every other dialog should go as an overlay > to the e_f

Re: [E-devel] Efm development

2009-04-01 Thread Sergey Semernin
Hello, Gustavo. In message from 1 april 2009 Gustavo Sverzut Barbieri wrote: > we should use hal (or device kit, or similar) and not bother about > /etc/fstab, so the thing today is how to populate one folder with real > and virtual items. For example, the desktop uses links in order to > have th

[E-devel] Efm development

2009-04-01 Thread Sergey Semernin
Hello, Dave! I see you importing 'places' into efm2. I'm starting work on efm2 too, because i have plans for E17 use and interesting first a robust, usable file manager. I can help you. What tasks are remaining exactly? In my view there are several major improvements: removable devices mount w

Re: [E-devel] Mounting removable devices

2009-03-30 Thread Sergey Semernin
Hello, All. In message from 31 марта 2009 sda wrote: > ok. let's just make things clear. "fixed mountpoints" is your/(your > distro's) responsibility when the appropriate rulesets for "dbus" + "hal" > are implemented. and all stuff related to this "monster" vary in > settings, components, etc. th

Re: [E-devel] Mounting removable devices

2009-03-30 Thread Sergey Semernin
Hello, sda. In message from 30 марта 2009 you wrote: > imho - some basics about mount, fstab/mtab, dbus and hal could help i > guess :). just keep in mind that fstab/mtab and dbus+hal are a bit > different in operation modes :). Of course, but in many cases need fixed mountpoints for some remova

[E-devel] Mounting removable devices

2009-03-30 Thread Sergey Semernin
Hello. Now in efm, each removable device, for example usb flash disk, detected with HAL infrastructure and creating a .desktop file like | storage_serial_.desktop in a ~/.e/e/fileman/favorites. Also symlink at a ~/Desktop created with same name. In a /media dir this media mounted as GUID partiti

[E-devel] Patch for processing 'favorites' windows geometry

2009-03-30 Thread Sergey Semernin
Hello, All. It is my patch for 'fm2 "favorites" doesn't remember window geometry' issue in release plan of E17. In code I saw that all fm2 windows created with 'e_fwin_new' call affected to this problem. Therefore, I have added code for reading window geometry settings from fm2 custom file. Pl

[E-devel] I propose the help in development 'fm2'

2009-03-25 Thread Sergey Semernin
Hello, All. I'm Sergey Semernin from Belgorod, Russia. I have experience in C/C++ programming in Linux (mostly kernel drivers development, DSP, AI, KDE/Qt programming, autotools) - all about 6 years. Therefore, I can help you in E17 file manager development - fix bugs, realize features