Commit graph

2461 commits

Author SHA1 Message Date
glacambre
e108cbce7d
excmds.ts: use word "disable" in mode/blacklistadd
As mentionned in https://github.com/tridactyl/tridactyl/issues/339, this
could be useful for users looking for the word 'disable' in the help
pages.
2019-02-03 06:22:53 +01:00
Oliver Blanthorn
a1186fbd79
Merge pull request #1301 from Rahlir/jshinting
Option to disable javascript hinting
2019-02-02 17:38:17 +00:00
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
Tadeas Uhlir
24f2156963 Update doc example for -Jc option 2019-01-29 15:03:58 -05:00
Tadeas Uhlir
c0724f2f04 Add example to docs for hint -Jc command 2019-01-29 14:44:07 -05:00
Tadeas Uhlir
8dc07f785e Change -j option to -J and fix option parsing
This will fix the issue regarding -qJ and -Jq option order. It is not
the prettiest solution but it does the work. Once there is a proper
option parser, there will be nicer way to do this.
2019-01-29 14:38:39 -05:00
Tadeas Uhlir
b992cac53a Remove editor specific files 2019-01-29 14:36:49 -05:00
Tadeas Uhlir
3fe97c5d53 Update of documentation 2019-01-29 14:36:49 -05:00
Tadeas Uhlir
5d4f6b493f Add option -j in excmds hint() which disables javascript hinting
To make this work I added jshints argument in the pipe() function in
hinting.ts file. This argument is set to true as default to preserve the
original intent of allowing javascript hinting in most cases.
2019-01-29 14:36:49 -05:00
Tadeas Uhlir
f6dabba292 Add swp files 2019-01-29 14:36:49 -05: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
76a707bb1f
Minor doc fixes 2019-01-28 16:32:07 +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
glacambre
ea257f3644
Add searchengine support
This commit adds searchengine support to tridactyl. Avoiding code
duplication between open and tabopen required changing the way tabopen
works: first, it opens a new tab pointing to Tridactyl's newtab page and
only after that does it actually navigate to where the user wants.
2019-01-27 13:04:51 +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