Commit graph

2300 commits

Author SHA1 Message Date
glacambre
4b77ff90c2
contributing.md: Explain build process 2019-02-02 14:54:25 +01:00
glacambre
d5ac90a809
contributing.md: Add architecture and macro explanation 2019-02-02 11:31:17 +01:00
Oliver Blanthorn
bdaa65d216
release 1.14.8 2019-01-31 12:25:37 +00:00
Oliver Blanthorn
518a3323ea
Update changelog for 1.14.8 2019-01-31 12:24:11 +00:00
Oliver Blanthorn
710eb9333b
Explain issue #1313 2019-01-31 12:21:00 +00:00
Oliver Blanthorn
707551d135
Merge pull request #1314 from glacambre/update_urls
sed -i s@github.com/cmcaine/tridactyl@github.com/tridactyl/tridactyl@
2019-01-31 11:57:22 +00:00
Oliver Blanthorn
a37a719a9d
Merge pull request #1315 from glacambre/winclose
Implement winclose and winclose completions
2019-01-31 11:56:06 +00:00
glacambre
3e78e2bcf9
Implement winclose and winclose completions
Winclose was already there but was much less useful (could only close
the current window). This commit enables closing other windows and
provides completions for it.

Related issue: https://github.com/tridactyl/tridactyl/issues/794.
2019-01-31 08:13:05 +01:00
glacambre
f14d3a1930
sed -i s@github.com/cmcaine/tridactyl@github.com/tridactyl/tridactyl@
Closes https://github.com/tridactyl/tridactyl/issues/228
2019-01-31 07:16:43 +01:00
Oliver Blanthorn
3e0e1e840f
release 1.14.7 2019-01-30 17:14:44 +00:00
Oliver Blanthorn
3884006911
Update bits and bobs for 1.14.7 2019-01-30 17:14:12 +00:00
Oliver Blanthorn
1b29ad5751
Fix #1229: don't change titlebar with guiset 2019-01-30 17:02:02 +00:00
Oliver Blanthorn
f7593a93b0
Fix ctrl-6 in abnormal modes 2019-01-30 13:36:35 +00:00
Oliver Blanthorn
80a9d700ec
Merge pull request #1311 from glacambre/mention_troubleshooting_guide
Mention troubleshooting guide in newtab/help page
2019-01-30 08:52:33 +00:00
glacambre
46236eab3c
Mention troubleshooting guide in newtab/help page
Closes https://github.com/tridactyl/tridactyl/issues/824.
2019-01-30 06:10:32 +01:00
Oliver Blanthorn
70d3d9f352
Add more dogfood 2019-01-29 14:08:04 +00:00
Oliver Blanthorn
e095a05956
Update package-lock 2019-01-29 14:05:23 +00:00
Oliver Blanthorn
9040193027
Explain new search permission for AMO 2019-01-28 16:45:49 +00:00
Oliver Blanthorn
2c4b41f24c
Merge pull request #1307 from glacambre/fix_1298
Fix :editor failing to remove TridactylEditing class on failure
2019-01-28 16:09:39 +00:00
Oliver Blanthorn
a15849b928
Merge pull request #1308 from glacambre/remove_userchrome
Remove userChrome-minimal.css
2019-01-28 15:54:18 +00:00
glacambre
4d0d34127b
Remove userChrome-minimal.css
As mentioned in https://github.com/tridactyl/tridactyl/issues/1229, this
userChrome file isn't kept up to date. It's probably better to remove it
and only support modifying the userChrome with `:guiset`, which is
slightly more tested.
2019-01-28 07:32:09 +01:00
glacambre
17bff13d37
Fix :editor failing to remove TridactylEditing class on failure
Before this commit, if Tridactyl failed to execute :editor (e.g. because
editorcmd isn't defined), the edited element would keep its
TridactylEditing class.

Closes https://github.com/tridactyl/tridactyl/issues/1298
2019-01-28 07:13:25 +01:00
Oliver Blanthorn
95be91b687
Update package-lock 2019-01-22 18:28:54 +00:00
Oliver Blanthorn
6b4c6c9c6b
Update changelog for 1.14.7
Additionally, turn all of the issue numbers into links.
2019-01-22 18:28:54 +00:00
Oliver Blanthorn
48a81c8d7b
Add script for linking to GitHub issues 2019-01-22 18:28:53 +00:00
Oliver Blanthorn
ba0dea0349
Merge branch 'make_find_faster' 2019-01-22 15:44:48 +00:00
Oliver Blanthorn
5d91d29c01
Polish find mode for release 2019-01-22 15:26:15 +00:00
Oliver Blanthorn
a23efda4f8
Merge pull request #1293 from glacambre/move_nativeopen_check_to_nativeopen
excmds.ts: Fix nativeopen not doing proper checks or cleaning up
2019-01-22 15:17:37 +00:00
glacambre
08b8ff7bb4
excmds.ts: Fix nativeopen not doing proper checks or cleaning up
Before this commit, Tridactyl checked if `nativeopen` was currently
supported in `tabopen` rather than in nativeopen itself. This was a
problem because nothing prevented a user from manually calling
`:nativeopen`. The check has been moved to `nativeopen`.
Another issue was that in case of failure, Tridactyl wouldn't properly
clean up event handlers created in nativeopen. This would result in new
tabs being moved to surprising indexes. This wasn't a big deal because
said event handlers removed themselves after executing once but it'd
still result in a bug. This has been fixed too.
2019-01-22 07:06:53 +01:00
Oliver Blanthorn
444e1b91b0
Add some handy binds to my RC file 2019-01-21 21:54:34 +00:00
Oliver Blanthorn
1692c0ccff
Merge pull request #1291 from glacambre/fix_getrsslinks
excmds.ts: Make sure getRssLinks() only works with string hrefs
2019-01-21 20:16:09 +00:00
Oliver Blanthorn
66cdc89536
Merge pull request #1290 from glacambre/fix_1197
Make more functions return their last promise
2019-01-21 20:14:45 +00:00
glacambre
beaefa444b
excmds.ts: Make sure getRssLinks() only works with string hrefs
Apparently, on github,
`document.querySelectorAll("a,link[rel='alternate']")` can return
anchors that are actually svg elements. This would be fine if these
elements had string hrefs, but that's not the case. These elements have
svg hrefs and this makes getRssLinks() fail, which in turn makes opening
the command line fail because of completions. The easy solution is to
simply make sure elements have a string href. The hard solution is
creating a proper statusline where errors will be logged without taking
over the command line.
2019-01-21 20:04:26 +01:00
Oliver Blanthorn
ad2a4974f0
Merge pull request #1289 from glacambre/fix_1288
src/excmds.ts: fix overwritting objects with strings on user error
2019-01-21 18:49:51 +00:00
glacambre
ae506cc65b
Make more functions return their last promises
https://github.com/tridactyl/tridactyl/issues/1197 is a bug where
settings aren't properly loaded on `:source` because tridactyl performs
concurrent writes on the config. Making sure every function/excmd
returns its last promise restores synchronicity when it's needed and
should thus fix #1197.
2019-01-21 19:49:24 +01:00
glacambre
0fe3d190c8
src/excmds.ts: fix overwritting objects with strings on user error
https://github.com/tridactyl/tridactyl/issues/1288 reports that
Tridactyl will happily overwrite a setting the type of which is
`object` with a string. This was caused by not checking whether
the setting being overwritten was a top-level object or a member of said
object. This commit fixes that.

Closes #1288.
2019-01-21 19:15:00 +01:00
Oliver Blanthorn
214df84301
Merge pull request #1287 from glacambre/better_errors
native_background.ts: Improve error messages on native messenger ops
2019-01-20 13:04:00 +00:00
glacambre
cfc4bccba9
native_background.ts: Improve error messages on native messenger ops
This should help with situations such as https://github.com/tridactyl/tridactyl/issues/1284.
2019-01-20 09:15:28 +01:00
Oliver Blanthorn
ddfb5b5135
Merge pull request #1285 from glacambre/fix_icons
Fix icons
2019-01-19 17:20:55 +00:00
Oliver Blanthorn
40d37695bf
Merge pull request #1286 from glacambre/impl_undo_completions
Impletment sessions completion
2019-01-19 17:18:11 +00:00
glacambre
a353c51354
Impletment sessions completion
Sessions completion let us provide completions for the `:undo` ex
command, which can be useful if you need to restore an older tab.

Closes https://github.com/tridactyl/tridactyl/issues/1127.
2019-01-19 18:06:05 +01:00
glacambre
3ddf350dc0
html-tagged-template.js: Authorize more protocols
https://github.com/straker/html-tagged-template/issues/26 discusses
authorizing the data:// protocol. The gist of it is that it's dangerous
because data:text/html can be used for XSS attacks. We circumvent this
problem by only explicitly allowing a few image formats formatted as
base64.
2019-01-19 15:41:32 +01:00
glacambre
d1ce62ec6d
html-tagged-template.js: Accept moz-extension protocol
html-tagged-template.js forbids every protocol except http:// when
sanitizing urls. This prevents Tridactyl from loading its icons from
moz-extension urls. This commit fixes that (ignore prettier reformatting
the file, the only line I actually changed was line 314 before prettier
which became line 467 after prettier).
2019-01-19 15:21:24 +01:00
Oliver Blanthorn
3cf176bb05
Fix minor typos 2019-01-15 17:54:42 +00:00
Oliver Blanthorn
fba8087ef6
Disable find completion: it breaks stuff 2019-01-15 17:51:20 +00:00
Oliver Blanthorn
2176c8feae
Make find context text bigger and more useful 2019-01-15 17:50:51 +00:00
Oliver Blanthorn
19e6cc4ca2
Re-enable commandline completions 2019-01-15 17:32:29 +00:00
Oliver Blanthorn
c545c42514
Make find settings use the new typed configurations 2019-01-15 17:27:08 +00:00
Oliver Blanthorn
6992eb5699
Update package-lock 2019-01-15 17:09:34 +00:00
Oliver Blanthorn
2ee47a9941
Merge branch 'master' into make_find_faster
Rebases are for people who understand how git works.
2019-01-15 17:09:16 +00:00