lp:~blackdaemon/enso/open-command
Complete implementation of 'open' commands:
'learn as open'
'open'
'open with'
'unlearn open'
'undo unlearn open'
The platform specific implementation code is separated from the commands logic.
Currently only win32 implementation is pretty complete for Win2000 / XP / Vista / Windows7 with support for
control-panel / quick-launch / desktop / start-menu / learned items.
Linux and OSX versions need to be implemented and I encourage another developers to do that, using
the interface I have provided there.
It can be done by implementing the minimal set of platform specific functions in the platform directory,
using the provided interface and abstract-class. You do not need to handle the general commands logic,
it's already handled in the abstract-class.
Please study the code for more detail (revision 144 introduces the interface and abstract class, 145 introduces
the win32 implementation).
- Get this branch:
- bzr branch lp:~blackdaemon/enso/open-command
Branch merges
- Community Enso Team: Pending requested
-
Diff: 3407 lines (+3317/-1)15 files modifiedenso/config.py (+3/-1)
enso/contrib/open/__init__.py (+462/-0)
enso/contrib/open/interfaces.py (+306/-0)
enso/contrib/open/platform/__init__.py (+1/-0)
enso/contrib/open/platform/osx/__init__.py (+97/-0)
enso/contrib/open/platform/win32/__init__.py (+497/-0)
enso/contrib/open/platform/win32/control_panel.py (+187/-0)
enso/contrib/open/platform/win32/control_panel_2000_xp.py (+438/-0)
enso/contrib/open/platform/win32/control_panel_vista_win7.py (+476/-0)
enso/contrib/open/platform/win32/registry.py (+193/-0)
enso/contrib/open/platform/win32/utils.py (+132/-0)
enso/contrib/open/platform/win32/win_shortcuts.py (+194/-0)
enso/contrib/open/shortcuts.py (+185/-0)
enso/contrib/open/utils.py (+28/-0)
enso/contrib/platform/__init__.py (+118/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 138. By stuart.langridge
-
header.a is arch-specific; have one for i686 and x86_64
README to describe how it works
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)