[Vimperator] [RFC] API Proposal + [ANNOUNCMENT] Vimperator 0.4 released

Martin Stubenschrott stubenschrott at gmx.net
Tue May 1 07:57:25 PDT 2007


The work for vimperator 0.5 will be mainly a big refactoring, to make
working with the vimperator codebase easier and especially to make
scripting custom javascript based .vimperatorrcs much easiser.

There I need feedback on this page:

http://vimperator.cutup.org/index.php?title=Developer_Information#API_Proposal

The main thing which is not yet decided is whether to put all vimperator
functions in a vimperator. prefix or only commands like
vimperator.restart();
and to have seperate objects for bookmarks, search, etc.
so if we would write:

vimperator.tabs.currentIndex() or just:
tabs.currentIndex().

the 2nd is shorter, but the first makes it more clear, that you are
calling internal functions rather then some external firefox ones.


BTW: Vimperator 0.4 was just released with a huge ChangeLog:
---------
2007-05-01:
	* version 0.4
	* extension GUID was changed to 'vimperator at mozdev.net' -> YOU WILL HAVE
	  TO UNINSTALL ANY OLD VIMPERATOR INSTALLATION BEFORE INSTALLING THIS VERSION
	* support for internal search engines was dropped. Now we use Firefox search engines
	* support for 'wildmode' completion setting with support for matching the
	  longest common substring. Also new 'wildoptions' setting
	* added 'f' to the 'complete' option to allow listing of filenames in :open prompt
	* changed regexp search to normal text search for completion -> massive speedup, but limited functionality
	* support for :open ./ , :open .. and :open ... (patch from Lee Hinman)
	  'gu' and <BackSpace> goes up a directory component, gU and <C-BackSpace> to the root directory 
	* Esc now doesn't stop loading the webpage, use Ctrl-c instead, :stop command added
	* changed hinttags to work with dict.leo.org and hintstyle to work with digg.com
	* :back! goes to beginning of history now
	* diabled firefox 3.0 support for now, as there are just too many small
	  bugs
	* new Makefile instead of build.sh (only important for developers)
	* newly designed help page
	* :help section supported, :help :set will show help for the :set command
	  (patch from Viktor Kojouharov)
	* :source support, and auto-sourcing ~/.vimperatorrc on startup
	* :javascript <<EOF support to execute multiline javascript code
	  also changed :exec to behave more vim like
	* fixed saving of session
	* fixed hints display when zooming in/out of a web page
	* added 'B' command for continous buffer display
	* changed hintsize to 12px by default
	* 'previewheight' setting to set the maximum size for the preview window
	* showmode setting which shows the current mode in the command line (patch from Виктор Кожухаров)
	* gh goes home :) gH in a new tab
	* :open! bypasses cache
	* :buffer and :buffers support (patch from Lars Kindler)
	* added :edit, :e and :tabedit aliases for :open, :tabopen
	* settings can now be changed with += and -= like in vim (patch from Виктор Кожухаров)
	* Support for space/shift-space/alt-left/alt-right keys without beeping
	* :open without argument reloads current page, :tabopen opens an empty tab
	* added 'n' and 'N' to repeat a search
	* many small bug fixes
----------

Most important:
	* extension GUID was changed to 'vimperator at mozdev.net' -> YOU WILL HAVE
	  TO UNINSTALL ANY OLD VIMPERATOR INSTALLATION BEFORE INSTALLING THIS VERSION

Also mozdev.org servers are slow, so may need to wait a little before
the link on the homepage works.

requesting comments,
--
Martin


More information about the Vimperator mailing list