Commit graph

1898 commits

Author SHA1 Message Date
Anton Vilhelm Ásgeirsson
6336c3fb01 Add new config variable 'allownewtabfocus'.
Allows switching between having the newtab site grab focus or letting
the urlbar keep it with the former being default.
2018-10-03 23:36:59 +00:00
Oliver Blanthorn
0512c3e125
Merge pull request #1050 from glacambre/fix_753
scrolling.ts: default scroll values to 0
2018-10-03 17:58:53 +01:00
glacambre
2b30efca4c
scrolling.ts: default scroll values to 0
If x or y are undefined, the page could be scrolled back to its very top
under certain circumstances. This commit fixes that.

Closes https://github.com/tridactyl/tridactyl/issues/753 .
2018-10-03 14:48:47 +02:00
Oliver Blanthorn
c451faf3ce
Merge pull request #1045 from glacambre/focus_newtab
newtab.ts: Focus newtab page when opening it
2018-10-02 15:22:21 +01:00
glacambre
331c67cdc6
newtab.ts: Focus newtab page when opening it 2018-10-02 15:45:16 +02:00
Oliver Blanthorn
95b32af95b
Merge branch 'messageOwnTab' 2018-10-02 12:51:36 +01:00
glacambre
313a55c0eb
commandline_frame.ts: Message own tab rather than background script
I believe this fixes two out of the three bugs mentionned in
https://github.com/tridactyl/tridactyl/issues/804
2018-10-02 12:45:30 +02:00
glacambre
cad3afadc2
messaging.ts: Implement messageOwnTab function
messageOwnTab does exactly what the name suggests. In a lot of cases,
it can and should replace messageActiveTab when it is called from the
content/commandline_frame script.
2018-10-02 12:38:30 +02:00
Oliver Blanthorn
bbc305c5cf
Merge branch 'readline_excmds' 2018-09-30 19:00:51 +01:00
Oliver Blanthorn
b6573a88f8
Merge branch 'add_saveas' 2018-09-30 18:57:07 +01:00
Oliver Blanthorn
f8fcaf452a
Add disclaimer to saveas help 2018-09-30 18:56:56 +01:00
Oliver Blanthorn
58445dcd0f
Merge pull request #1042 from joaomsa/fix-build-on-paths-with-spaces
Fix build scripts on paths with spaces
2018-09-30 17:03:14 +01:00
Joao Sa
9b94146c9f Fix build scripts on paths with spaces 2018-09-30 15:25:14 +00:00
Oliver Blanthorn
dc064d322f
Merge pull request #1033 from lorenzleutgeb/patch-1
Clarify which find is used
2018-09-29 19:51:55 +01:00
glacambre
484fcd946a excmds.ts: Add im_{forward,backward}_word
im_{forward,backward}_word are functions meant to be used when in
insert/input mode. They should be functionnally equivalent to readline's
{forward,backward}-word. They move the cursor one word forward or
backward.
2018-09-29 20:28:06 +02:00
glacambre
24974eb17a excmds.ts: Add im_{forward,backward}_char
im_{forward,backward}_char are functions meant to be used when in
insert/input mode. They should be functionnally equivalent to readline's
{forward,backward}-char. They move the cursor one character forward or
backward.
2018-09-29 20:18:33 +02:00
glacambre
91c006c9aa excmds.ts: Add im_end_of_line
im_end_of_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
end-of-line. It moves the cursor to the end of the current line.
2018-09-29 20:14:49 +02:00
glacambre
292fa69567 excmds.ts: Add im_beginning_of_line
im_beginning_of_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
beginning-of-line. It moves the cursor to the beginning of the line.
2018-09-29 20:11:36 +02:00
glacambre
4733e759e9 excmds.ts: Add im_backward_kill_word
im_backward_kill_word is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
kill-word. It removes the word before the cursor.
2018-09-29 20:02:06 +02:00
glacambre
53a9c043a0 excmds.ts: Add im_kill_word
im_kill_word is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-word. It deletes every character from the cursor to the end of the
word.
2018-09-29 19:17:10 +02:00
glacambre
05915d3dbb excmds.ts: Add im_kill_whole_line
im_kill_whole_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-whole-line. It removes every character of a line, including the
newline character.
2018-09-29 09:22:45 +02:00
Lorenz Leutgeb
ada8b54a19
Clarify which find is used 2018-09-29 10:55:11 +10:00
glacambre
dbb173770f excmds.ts: Add im_backward_kill_line
im_backward_kill_line is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
backward-kill-line. It removes every character from the beginning of the
line up to the cursor. If the cursor is at the beginning of the line, it
removes the newline before the cursor.
2018-09-28 22:38:50 +02:00
glacambre
90a501e802 excmds.ts: Add im_kill_line
im_kill_line is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
kill-line. It deletes every character from the cursor to the end of a
line, merging lines if the character right after the cursor is a
newline.
2018-09-28 22:04:13 +02:00
glacambre
72a44e9f85 excmds.ts: Add im_{upcase,downcase,capitalize}_word
im_{upcase,downcase,capitalize}_word are functions meant to be used when
in insert/input mode. They should be equivalent to their readline
counterparts.
2018-09-28 20:23:33 +02:00
glacambre
7fcee7e3eb excmds.ts: Add im_transpose_words
im_transpose_words is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
transpose-words. It transposes the word the cursor is in (or, if the
cursor is not in a word, the word before it) with the next word (or the
previous word if the word to transpose is the last word of the text).

The notion of word is defined by the "wordpattern" setting, which is a
regex that matches every character that a word can contain. The default
pattern is [^\s], which means a word can be any character except
whitespace. Other useful patterns could be [^\s/] or
[^\s?,.;:/!()\[\]\\{}"'`+=].
2018-09-28 17:45:39 +02:00
glacambre
f461d85d2f Add :saveas ex command
This commit adds a `:saveas` ex command that behaves mostly like
pentadactyl's `saveas`. This requires adding a new `move` primitive to
the native messenger which behaves like `cp` (but isn't actually a call
to `cp` in order to stay compatible with windows). Then
native_background.ts uses that in order to move files when their
download is complete.
2018-09-28 07:33:00 +02:00
Oliver Blanthorn
371f76077d
Add guess at beta users to readme but mostly I want to bump the buildbot 2018-09-27 13:23:18 +01:00
Oliver Blanthorn
bd1efbc79b
Use peff's hintname setting because I like it 2018-09-27 13:08:40 +01:00
Oliver Blanthorn
6bfa641b32
Fix #1028 and maybe some other errors: persuade buildbot to rebuild help 2018-09-27 13:01:33 +01:00
glacambre
f2df3b9e4e excmds.ts: Add im_transpose_chars
im_transpose_chars is a function meant to be used when in insert/input
mode. It should be functionnally equivalent to readline's
transpose-chars. It transposes the character before the cursor with the
one after it and then moves the cursor one character to the right.
2018-09-26 22:29:39 +02:00
glacambre
5138b7bf35 excmds.ts: Add im_tab_insert
im_tab_insert is a function meant to be used when in insert/input mode.
It should be functionnally equivalent to readline's tab-insert. It
behaves like the <Tab> key.
2018-09-26 22:15:34 +02:00
glacambre
1783086c13 excmds.ts: Add im_delete_backward_char
im_delete_backward__char is a function meant to be used when in
insert/input mode. It should be functionnally equivalent to readline's
delete-backward-char. It behaves like the <BackSpace> key.
2018-09-26 22:08:27 +02:00
glacambre
4b830dbaf9 excmds.ts: Add im_delete_char
im_delete_char is a function meant to be used when in insert/input mode.
It should be functionnally equivalent to readline's delete-char. It
behaves like the <Del> key.
2018-09-26 22:07:55 +02:00
Oliver Blanthorn
877b157453
Add seturl completions 2018-09-21 11:43:55 +01:00
Oliver Blanthorn
318423b1e6
Merge branch 'urlspecific_config' 2018-09-21 11:33:23 +01:00
Oliver Blanthorn
40d11e778a
Update package-lock.json 2018-09-21 11:33:15 +01:00
Oliver Blanthorn
173e47c9aa
Merge branch 'fix-search' 2018-09-21 11:18:00 +01:00
Oliver Blanthorn
5e4e1ea7d9
Change stop bind to x to prevent copy conflict 2018-09-21 11:13:44 +01:00
FrankEular
e7a4e6dcf2
Update config.ts: stop loading
I added the command ":stop" and an nmap <C-c> to this command (as in vimperator and pentadactyl).
2018-09-20 16:44:03 +02:00
Oliver Blanthorn
16cb0e5300
Fix #1018: add bind for stop 2018-09-20 13:08:55 +01:00
Oliver Blanthorn
36e99fa24f
Fix #1011: add buffer # ignoremap 2018-09-20 11:00:36 +01:00
Oliver Blanthorn
43fecb3f13
Merge pull request #1017 from notJerl/master
Possible temporary fix for #1016
2018-09-20 10:56:34 +01:00
notJerl
d8a7343a1b
Update History.ts
Fixed accidentally deleted whitespace
2018-09-20 01:07:03 -06:00
notJerl
67c11d66ff
Merge pull request #1 from notJerl/notJerl-patch-1
Update History.ts
2018-09-20 00:57:23 -06:00
notJerl
2d9d9c4d8d
Update History.ts 2018-09-20 00:56:36 -06:00
Oliver Blanthorn
576ff17df6
Merge pull request #1014 from WorldCodeCentral/master
Change :set home to :set homepages
2018-09-19 11:04:24 +01:00
WorldCodeCentral
dfc1e73499
Change home to homepages
Correct documentation of home to show "set homepages" instead of "set home" which was incorrect.
2018-09-19 00:50:45 +02:00
Ivan Solyankin
7a2889dd6c added multiple and numbered %s support for search engines
closes #987
2018-09-18 19:26:53 +03:00
Colin Caine
fe7948c0d0 Alias tabnew to tabopen. Close 2018-09-17 11:55:47 +01:00