Commit Graph
35 Commits
Author SHA1 Message Date
Conrad Irwin b5be9418bb Merge branch 'master' of vimperator.org:/git/vimperator/liberator 2009-09-19 15:46:22 +01:00
Conrad Irwin 1c6a225e11 Use correct variable name in :set pps= 2009-09-19 15:22:57 +01:00
Conrad Irwin c116fcc76d Pass defaul to getPref for sanitizetimestamp
To prevent an exception being raised when it tries to set it to a null
value as default.
2009-09-07 22:19:46 +01:00
Conrad Irwin 379c6a2d71 Fix tab-completion with blank url separator 2009-07-19 21:16:34 +01:00
Conrad Irwin 8dff837e72 Document key sequence syntax 2009-07-13 01:21:39 +01:00
Conrad Irwin 4a70d7c097 ":set urloperator=" will turn off splitting
used to go into infinite loop
2009-07-12 13:54:58 +01:00
Conrad Irwin 2d345fc10d Refactor events keyhandling and document changes.
Re-introduced S- into the canonical mappings so that
re-canonicalising will not differ from the original canonicalised form.

Documented recent changes to S- modifier in help.

Refactor events.js to avoid replicating parsing key-strings in two
places. The new fromString is the opposite of toString, and
canonicalisation now proceeds by doing both.

Added the .liberatorShift property to event-representations to allow for
key-combinations that cannot be typed, but can be mapped to. e.g. <S-@>
2009-06-08 00:56:46 +01:00
Conrad Irwin 1eec2c92cb Fix RegExp to exclude all numbers from key_code 2009-06-07 03:14:36 +01:00
Conrad Irwin 4892a927f8 Fix #232 (pass count through :mapped commands) 2009-06-07 03:02:11 +01:00
Conrad Irwin 834acb2776 Canonicalize map body. 2009-06-07 02:36:56 +01:00
Conrad Irwin 64e2adfe87 Fix macros.
Spaces are no-longer replaced by <s,

@q works, even though @: is mapped.
2009-06-07 02:21:58 +01:00
Conrad Irwin 41aed95c05 Fix S- handling to normalize in the manner of vim
Instead of treating all key presses as Shifted, it now normalises the
user-input.

Also now treats < as <lt>

Behaviour:

(:map <C-S-a> == :map <C-S-A>) != (:map <C-a> == :map <C-A>)
:map <C-S-@> is meaningless (though no error is produced) c.f. vim
:map <C-S-2> is meaningless (though no error is produced) c.f. vim

Internally, commands are stored with no shift modifiers for alphabetic
characters, i.e. (:map <C-S-a> creates the mapping <C-A>) as in vim.

<CapsLock> <C-a> will cause the <C-A> mapping (mapped with <C-S-a> to be
triggered).

There still seems to be a bug with :map <Space> and :map <CR>
2009-06-07 01:34:42 +01:00
Conrad Irwin 0766b31697 NEWS and documentation for previous commit (;i ;I) 2009-05-27 23:43:53 +01:00
Conrad Irwin 54b48868ce Fix #268 (Hints for opening images)
Hmm, these extended hints are just awful, instead of just one ; we
should have four (this tab, new tab, background tab, window) so that we
don't need so much repitition (and the background tab mode can trigger
the multiple hint modes for all relevant hints too)
2009-05-27 21:20:41 +01:00
Conrad Irwin 7db4c4939f Link to ]] and [[ from next/previouspattern docs 2009-04-25 12:49:53 +01:00
Conrad Irwin 3f5b086b25 Documentation tweaks for gT <C-n> and <C-^> 2009-04-16 13:08:54 +01:00
Conrad Irwin 14bfa82a4e Improve documentation for T and O 2009-04-16 00:56:40 +01:00
Conrad Irwin 7ace135ebb Make */# more robust.
Will now always go to the next match instead of sometimes skipping and
sometimes staying in the same place.
2009-04-05 12:58:10 +01:00
Conrad Irwin 73e35da652 Make getCurrentWord more sensible.
If the selection is at the start of a word it will select the next word
not the previous. This is only approximate, as it assumes that words are
space-delimited and begin at node boundaries.
2009-04-05 12:38:52 +01:00
Conrad Irwin 77b11adbdb Don't showtext for input type=submit 2009-04-05 00:26:47 +01:00
Conrad Irwin 7fc5d0b175 Document hints.js
Adding documentation to hints.js. Also split getAreaOffset and
getInputHint out of generate() to make that function easier to read.
2009-04-04 23:36:43 +01:00
Conrad Irwin 3800f10144 Add 'hintinputs' to provide text hints for inputs
If <label> elements are found use them, else use the value in the box
(current behaviour) or if you add 'name' to 'hintinputs' then it will
allow you to select by the name of the field.

For values that are not displayed on the input field, it adds the value
to the red hint icon.
2009-04-04 19:21:45 +01:00
Conrad Irwin cf3799e374 Merge branch 'master' of vimperator.org:/git/vimperator/liberator 2009-04-04 11:28:21 +01:00
Conrad Irwin c4354ce49f Updating and extending hints documentation
Added a short paragraph in place of "INTRO TO BE WRITTEN..." and updated
the paragraph about hints to reflect 'hintmatching' and the link text
rather than the URL
2009-04-04 11:27:13 +01:00
Conrad Irwin 04c999f993 Merge branch 'master' of vimperator.org:/git/vimperator/liberator 2009-04-02 11:36:57 +01:00
Conrad Irwin 34669db924 Fix /<CR>
May further break certain edge-cases on * and # if it detects the current word
as being a "", but they are already broken.
2009-04-02 11:35:15 +01:00
Conrad Irwin 6e1c999934 Fix removing search highlights from textareas.
Although firefox is happy to insert <span>s inside the DOM under
textareas and inserts it won't find them with xpath.
2009-04-02 00:09:33 +01:00
Conrad Irwin 199c7a237d Merge branch 'master' of vimperator.org:/git/vimperator/liberator 2009-03-26 09:20:33 +00:00
Conrad Irwin 4282b07d77 Fix uploading of files by relative path name.
Use io.getFile(path).path instead of just path in order to create an
absolute path.
2009-03-26 03:11:17 +00:00
Conrad Irwin bda0c5bda5 Fix #180. User can no-longer interrupt macros.
Buffers any keystrokes recieved during a macro expansion and plays them
after it has finished.
2009-03-26 02:48:55 +00:00
Conrad Irwin d6238f84a4 Treat strings containing / as URLs
In lieu of getting proper hostname detection, allow localhost/ and other
similar URLs to work.
2009-03-25 01:58:39 +00:00
Conrad Irwin 53b5a54a1f Fix #198, Unicode escape next and previous pattern 2009-03-23 14:41:41 +00:00
Conrad Irwin b4b62fc836 Fix #141 by not splitting URLs on quoted commas.
Added a new function util.splitLiteral(str, RegExp).
2009-03-23 12:36:05 +00:00
Conrad Irwin 238e45482c Fix bug #189, <tab><cr> now uses first completion
On discussion with maxauthority this is probably the best way of doing
things for now.
2009-03-18 00:45:47 +00:00
Conrad Irwin 924aba8f54 Commandline completion for hinted file inputs
When an <input type="file"> is selected with hints, it will cause an
"Upload file: " prompt in the commandline. (Selection with tab and mouse
is left unchanged and will cause the firefox dialog to display)
2009-03-16 12:28:34 +00:00