Author Topic: Shell Extension plugin: win32 plugin binaries  (Read 28000 times)

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Shell Extension plugin: win32 plugin binaries
« Reply #15 on: August 09, 2007, 07:02:30 pm »
Quote
you mean right clicking in the opened files list? not so easy because as far as I can tell the opened files list doesn't call BuildModuleMenu
Far more simple  :)
When I open a file through the explorer, I think it should be added to the recent files list of the file menu.

Quote
well it already exists now. you can right click on a directory in the tree and click add to favorites. you can manage the list of favorites with "view->manage favorites" (rather strange location for the option admittedly)
Yes, I know it. I think it is better to have to controls : one for history, the second for favorites. It's cleaner.

Concerning icons, it doesn't matter. I was surprised to select SVN Decorators and see nothing in my C::B project, even an advertisement.
I did not find the problem immediatly because SVN is used through TortoiseSVN.

Really good works !

Dje

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Shell Extension plugin: win32 plugin binaries
« Reply #16 on: August 09, 2007, 07:11:57 pm »
Features propositions:
- navigation keys to go back and forward in navigation history
- When you select a favorite directory, it is set as root. I'd like to use backspace or left key on the root to be able to switch back to "standard" disk tree and go back into parent folder.
- could you handle relative paths in the path text control ?

Dje

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Shell Extension plugin: win32 plugin binaries
« Reply #17 on: August 09, 2007, 08:08:33 pm »
- navigation keys to go back and forward in navigation history

yes, but just like having a favorites button it means more space is taken up by navigation controls.

Quote
- When you select a favorite directory, it is set as root. I'd like to use backspace or left key on the root to be able to switch back to "standard" disk tree and go back into parent folder.

yes. I just need to figure out how to intercept keystrokes correctly.

Quote
- could you handle relative paths in the path text control ?

yes, I will definitely implement this.


Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Shell Extension plugin: win32 plugin binaries
« Reply #18 on: August 09, 2007, 08:41:46 pm »
3 propositions, 3 yes ! Nice to deal with you  :wink:

Concerning space, you could propose as an option the buttons display.
I think they could be added on the Wildcard row, which is, to my mind, less useful than path text control.
Another option could be a toolbar.

Dje

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Shell Extension plugin: win32 plugin binaries
« Reply #19 on: August 09, 2007, 09:04:35 pm »
Bug ?

When I double click on a file, I get the "What to do ?" window.
When I click on enter with the same file selected, I get the following message in the Code::Blocks log :
Quote
ERROR: Could not open file ''.
The registered handler (Files extension handler) could not open it.

Win XP SP2
SVN 4361

Dje

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Shell Extension plugin: win32 plugin binaries
« Reply #20 on: August 09, 2007, 09:07:48 pm »
interesting. what sort of file was it?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Shell Extension plugin: win32 plugin binaries
« Reply #21 on: August 09, 2007, 09:10:30 pm »
looks like it affects all files. definitely a bug.

EDIT: I think I made the mistake of assuming the event.GetItem() would always contain the selected item, but it looks like this is only true for double clicking, not pressing enter on win32 (works on Linux, though)
« Last Edit: August 09, 2007, 09:16:28 pm by dmoore »

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Shell Extension plugin: win32 plugin binaries
« Reply #22 on: August 09, 2007, 09:25:25 pm »
I use GetItem in a tree control on my PC and it works on my wxTreeEvent with my SP2.

Dje

mariocup

  • Guest
Re: Shell Extension plugin: win32 plugin binaries
« Reply #23 on: August 10, 2007, 09:30:25 am »
Hi Damien,

the screenshot is one of my favorite programs Krusader (krusader.sf.net).

mariocup

  • Guest
Re: Shell Extension plugin: win32 plugin binaries
« Reply #24 on: August 19, 2007, 10:36:52 pm »
Hi Damien,

I thought about how to manage the favorites and an idea come to my mind. What would be nice to manage favorites like virtual folders/categories. For examples you have a category documentation and under this category you have different favorites e.g. d:\documents\, n:\doc and network shares. This could be something like a bookmark manager in web browser. Just think about it. :D

mariocup

  • Guest
Re: Shell Extension plugin: win32 plugin binaries
« Reply #25 on: October 05, 2007, 11:53:00 pm »
Hi Damien,

as I am using your file explorer every day I have a feature request. :D
If I mark one file in the file explorer and open the context menu I get Open in CB Editor, but if I mark several files I do not get this context menu entry. I would be nice to open several files with just one click to enchance working.

Bye

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Shell Extension plugin: win32 plugin binaries
« Reply #26 on: October 06, 2007, 06:12:26 pm »
yes, I'll put it on my todo list. I haven't had a lot of time to work on the plugin lately and recently lost my development machine (motherboard failure). I'll get to this sometime in the next few weeks, though...

the biggest weakness with the plugin right now is the polling for files on the main thread (this is especially slow when polling for file states in directories under version control). I've sketched out some prototype code to do the file listening in a background thread and hopefully get an opportunity to implement that soon.

also here's an extension to try: when you want to use the native file explorer to browse a folder that is listed in the tree add an extension "Explore" that spawns the command "explorer $dir" (for windows explorer, substitute your favourite File Manager...)
« Last Edit: October 06, 2007, 06:17:11 pm by dmoore »

Offline roshi

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Shell Extension plugin: win32 plugin binaries
« Reply #27 on: December 11, 2008, 05:12:41 am »
Hi,
is this thing or something similar available for the linux build?

Thanks

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Shell Extension plugin: win32 plugin binaries
« Reply #28 on: December 11, 2008, 03:09:50 pm »
it works on linux but you have to compile from source (available from the project svn - link to project in my sig). It's slightly painful to build because I haven't created makefiles (I have supplied ShellExtensions-unix.cbp project files but that assumes you have compiled CB itself from source from within CB using the supplied codeblocks-unix.cbp files). makefile patches welcome!