Commit graph

2034 commits

Author SHA1 Message Date
Abraham White
2563ddd505 Rename prefixed variable to prevent future name clashes 2018-10-25 22:54:25 -06:00
Abraham White
985e20cf5c Add Fullscreen{Change,Enter,Left} autocommand events 2018-10-25 22:40:25 -06:00
Oliver Blanthorn
8644e06f21
Merge pull request #1108 from glacambre/update_faq
readme.md: Merge FAQ questions, update some of the answers
2018-10-25 11:46:50 +01:00
glacambre
b10b1169cc
readme.md: Merge FAQ questions, update some of the answers 2018-10-25 09:03:32 +02:00
Oliver Blanthorn
b01ad0e0c9
Merge pull request #1106 from glacambre/fix_918
excmds.ts: Make idFromIndex('#') default to activeTab if no prev tab
2018-10-25 08:00:41 +01:00
glacambre
f5873ea5ca
excmds.ts: Make idFromIndex('#') default to activeTab if no prev tab
This commit makes idFromIndex("#") return the id of the currently active
tab instead of undefined when only one tab is open. This makes
Tridactyl's "#" behavior closer to vim's, but not 100% the same.

This closes https://github.com/tridactyl/tridactyl/issues/918 .
2018-10-25 07:52:17 +02:00
Oliver Blanthorn
c9d7747058
Update changelog for 1.14.1 2018-10-24 19:25:56 +01:00
Oliver Blanthorn
b0f6306b71
Unbind I: fix #1096 2018-10-19 17:59:18 +01:00
Oliver Blanthorn
42384cf0a7
Add reloadallbut command 2018-10-19 12:39:48 +01:00
Oliver Blanthorn
f2f4d3205f
Merge pull request #1094 from glacambre/guiset_tab_counters
css_util.ts: Add tab counter rules
2018-10-18 21:24:33 +01:00
glacambre
2664978b00
css_util.ts: Add tab counter rules
This commit adds a way to display tab indexes on tabs themselves.
2018-10-18 21:41:12 +02:00
Oliver Blanthorn
fcdafefa6c
Merge pull request #1093 from glacambre/remove_gnome_terminal
Kill the gnome
2018-10-18 19:12:20 +01:00
glacambre
c5d5120b5c
Kill the gnome
Gnome terminal doesn't work consistently: it doesn't block but some
distros add wrappers that will make it block when given the right
arguments. See https://github.com/tridactyl/tridactyl/issues/1035.
2018-10-18 18:48:29 +02:00
Oliver Blanthorn
44f4714e31
Merge branch 'trigdactyl' 2018-10-17 21:05:31 +01:00
Oliver Blanthorn
aeb491f55e
Update scrollto documentation 2018-10-17 21:05:19 +01:00
Oliver Blanthorn
701ac4c4d0
Merge branch 'setpref' 2018-10-17 20:58:52 +01:00
Oliver Blanthorn
b81d7de650
Merge branch 'filesystem_completion' 2018-10-17 20:52:43 +01:00
glacambre
6a9cab153c
Add FileSystem completion 2018-10-16 18:07:40 +02:00
Oliver Blanthorn
e85883b4e3
Fix broken build 2018-10-15 17:34:05 +01:00
Oliver Blanthorn
740f4dde68
Fix #1087: add googlelucky searchurl 2018-10-15 17:31:12 +01:00
Oliver Blanthorn
680bd16b8f
Add clone yank to tridactylrc 2018-10-15 11:18:11 +01:00
Oliver Blanthorn
5a878b5b43
Merge pull request #1086 from shouya/master
Allow executing code in bookmarklets
2018-10-15 10:47:26 +01:00
Shou Ya
41e2462cc8
allow executing bookmarklets 2018-10-15 14:24:31 +08:00
Oliver Blanthorn
830065c4c6
Revert "Add FileSystem completion"
This partially reverts commit 698fc6a and 25af877. The completion
was  causing breaking  tabopen and  other completions  for people
with outdated native messengers.
2018-10-14 00:28:00 +01:00
Oliver Blanthorn
25af877622
Add source filesystem completion 2018-10-13 20:48:47 +01:00
glacambre
698fc6ad36
Add FileSystem completion 2018-10-13 20:48:47 +01:00
Oliver Blanthorn
a555c6a330
Merge pull request #1072 from tridactyl/exclaim_why
[RFC] Try to make exclaim give better errors
2018-10-12 17:11:05 +01:00
glacambre
14a7d96f54
config.ts: Add missing "native" logging level in default config 2018-10-12 13:59:23 +02:00
Oliver Blanthorn
3d5068e39d
Revert "Buildbot downtime"
This reverts commit 5b9a81ad67.
2018-10-12 12:13:29 +01:00
glacambre
3dbfe46c3a
Add preferences completion source 2018-10-12 12:44:14 +02:00
glacambre
2acce706e0
Implement setpref excmd 2018-10-12 11:42:31 +02:00
Oliver Blanthorn
5b9a81ad67
Buildbot downtime 2018-10-12 09:58:26 +01:00
Oliver Blanthorn
c4108c4ac1
Be careful what you wish for, antonva 2018-10-11 13:52:28 +01:00
Oliver Blanthorn
b97feb931a
Bagsied 2000th commit 2018-10-11 10:39:59 +01:00
Oliver Blanthorn
09063ecdf4
Merge branch 'editor_style' 2018-10-11 10:38:24 +01:00
glacambre
8ae6376081
Turn :bmarks into a proper excmd
Turning `:bmarks` into a proper excmd has several advantages: it will
show up in the `:help` pages, be available for excmd completions and
enbales adding specific arguments (such as "-t") in order to open
bookmarks in other tabs.

This time I'm directly messaging the background script in order to
trigger a tabopen rather than trying to bring tabopen to the content
script.

Closes https://github.com/tridactyl/tridactyl/issues/902.
2018-10-11 11:18:54 +02:00
glacambre
1984a66fb9
Add indication that input is being edited in external editor
This commit adds a .TridactylEditing class to input fields that are
being edited in an external editor. In the default theme, this
corresponds to just adding Tridactyl's logo to the input field.

It looks like it is impossible to reference Tridactyl's logo in CSS and
have it work on non-privileged pages so instead of doing that we add a
step to the build process which turns one of Tridactyl's logo into its
base64 representation and embeds it in the default.css theme file.
2018-10-10 18:54:09 +02:00
Oliver Blanthorn
5c0647242c
Merge branch 'improve_docs2' 2018-10-10 17:53:06 +01:00
glacambre
6c20f02d93
config.ts: Merge documentation lines 2018-10-10 18:30:50 +02:00
Oliver Blanthorn
8327d25c07
Merge pull request #1077 from antonva/zoom-features
Extend zoom excmd keybindings and improve documentation.
2018-10-10 16:16:02 +01:00
Anton Vilhelm Ásgeirsson
8ccb3378e6 Fix erroneous dot in zoom documentation. 2018-10-10 15:13:24 +00:00
Oliver Blanthorn
486f8277ae
Merge pull request #1076 from glacambre/fix_errors
Fix errors
2018-10-10 16:10:17 +01:00
Oliver Blanthorn
9e27e5a633
Update changelog for 1.14.1 2018-10-10 16:04:28 +01:00
Anton Vilhelm Ásgeirsson
2f362b055f Extend zoom excmd keybindings and improve documentation.
This patch improves upon the existing zoom excmd and adds some features present
in Vimperator and Pentadactyl. `zI` and `zO` are now bound to the maximum and
minimum zoom levels respectively. `zM` (read zoom more) zooms in on increments
of 50pp and `zR` (read zoom reduce) zooms out on increments of 50pp.

In addition, overshooting the zoom level while using relative adjustments is now
handled by setting the level to it's max/min zoom level.

An error is thrown if an absolute value is given that is out of bounds of the
allowed zoom range.
2018-10-10 15:01:02 +00:00
glacambre
2d37524364
Make contentLocation check more robust
f51e08d introduced a bug by defining the window.tri object in the
command line. This made the window.tri check in getURL succeed and then
'loc' was assigned undefined, as "window.tri.contentLocation" isn't
actually defined. We fix this by making sure that
"window.tri.contentLocation" is actually defined.
2018-10-10 16:32:12 +02:00
glacambre
f51e08d9eb
commandline_frame.ts: Fix exception thrown because of 'tri' not existing
The commandline_frame document does not have a window.tri object. This
makes the commandline throw an exception on page load. We fix this by
using 'window.tri || {}' in order to avoid to avoid issues should
'window.tri' be defined in the command line one day.
2018-10-10 16:21:33 +02:00
glacambre
8744d73423
lib/webext.ts: Fix error thrown on page load
It is not useful to await in ownTabContainer as it could cause an
unnecessary context switch and will throw an error if the tab is not in
a container.
While it could seem like throwing errors in ownTabContainer is not a big
deal, it is actually quite annoying when using Firefox's "Pause on
exceptions" feature: execution is paused even if the error is caught by
the caller and there is no stack trace to help us understand what's
happening because ownTabContainer is async.

Thus, removing this await is very useful.
2018-10-10 16:09:34 +02:00
glacambre
848eb89fe8
help.ts: Jump back to hash after elements have been added to page 2018-10-10 15:43:32 +02:00
glacambre
1c63478b5c
Add HelpCompletionSource
The help completion source provides completions for settings, excmds,
aliases and bindings, sorted in lexicographical order. It's basically a
huge copy-paste of the Settings and Excmd completion sources but should
be enough until we have a way to provide multiple completion sources for
a single excmd.
2018-10-10 11:31:27 +02:00
glacambre
d8c59a5a21
Update default_config help page layout
The previous layout behaved badly on small screens.
2018-10-10 10:26:28 +02:00