Commit graph

1849 commits

Author SHA1 Message Date
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
Colin Caine
fe7948c0d0 Alias tabnew to tabopen. Close 2018-09-17 11:55:47 +01:00
Oliver Blanthorn
03089360db
Merge pull request #1009 from glacambre/make_editor_return_values_useful
excmds.ts: Make `editor()` return a [filepath, content] tuple
2018-09-15 10:35:20 +01:00
Oliver Blanthorn
69167a1a7e
Merge pull request #1008 from glacambre/prevent_minification
Prevent webpack from minifying source code
2018-09-15 10:33:40 +01:00
glacambre
46ca5daf64
excmds.ts: Make editor() return a [filepath, content] tuple
`editor()` didn't return anything useful. This partially fixes #1005 by
letting users create commands to automatically delete a the temporary
file after `editor()` finishes.
2018-09-15 08:17:10 +02:00
glacambre
716e2fb615
Prevent webpack from minifying source code
a0ac1a2 upgraded Tridactyl's dependencies and webpack suddenly started
minifying the files it builds. This makes debugging much harder and thus
needs to be prevented. This is done by setting "mode" to "development"
in the module.exports object in webpack.config.js.
2018-09-15 06:23:36 +02:00
Oliver Blanthorn
2f8c3fe027
Add link to troubleshooting guide from readme 2018-09-14 10:48:18 +01:00
Oliver Blanthorn
716272edb5
Fix typo 2018-09-14 10:42:40 +01:00
Oliver Blanthorn
cbebd36276
Add native troublehshooting command 2018-09-14 10:42:20 +01:00
Oliver Blanthorn
64f1422187
Remove reference to ESR since it no longer supports Vimperator 2018-09-14 10:30:26 +01:00
Oliver Blanthorn
a0ac1a2878
Update dependencies 2018-09-11 22:24:21 +01:00
Oliver Blanthorn
9450798006
Merge pull request #998 from glacambre/fix_tabopenpos_last
Respect the tabs.move/tabs.create API
2018-09-10 10:34:04 +01:00
glacambre
a7ddcb1b5a
Respect the tabs.move/tabs.create API
According to MDN[1], when you create a tab that should be placed at the
end of a window, you should use the number of tabs of the window as
index.
But if you use tabs.move(), you should use an index value of -1[2].

Probably fixes https://github.com/tridactyl/tridactyl/issues/990 .

1: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/create#Parameters
2: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/move#Parameters
2018-09-10 07:05:47 +02:00
Oliver Blanthorn
da0604f344
Fix build button but for real this time
Doing this on my phone was a great idea
2018-09-08 23:48:30 +01:00
Oliver Blanthorn
9a9f8406d8
Fix build button 2018-09-08 23:46:57 +01:00
Colin Caine
f35370ac76 Update package-lock.json 2018-09-08 13:00:59 +01:00
Saul Reynolds-Haertle
d25811afc1 Clean up window fetching in BufferAllCompletionSource updateOptions 2018-09-08 12:29:57 +01:00
Saul Reynolds-Haertle
8916bfcb5b Replace "for each window, get tabs" with un-filtered "get all tabs" 2018-09-08 12:29:57 +01:00
Saul Reynolds-Haertle
fabd1b5679 Parallelize async in browserBg.allWindowTabs + BufferAll completion
Didn't bring the average down too much, but I think I killed a
long-tail. I'll have to do more extensive profiling.

Before:
78                  #####
117.78571428571429  ###############################
157.57142857142858  #######################################
197.35714285714286  ############################################################
237.14285714285714  ####################################
276.92857142857144  ##
316.7142857142857   #####
356.5               #######
396.2857142857143
436.07142857142856  #####
475.85714285714283  #####
515.6428571428571   ##
555.4285714285714   #####
595.2142857142857   ##
635                 #####

After:
74                  ###
101.85714285714286  #########################################
129.71428571428572  ######
157.57142857142858  ###########
185.42857142857142  ############################################################
213.28571428571428  ##########
241.14285714285714  ##################
269                 ################
296.85714285714283  ##########
324.7142857142857   ########
352.57142857142856  ######
380.42857142857144  ######
408.2857142857143   ###
436.14285714285717  ######
464                 #####
2018-09-08 12:29:57 +01:00
Oliver Blanthorn
af2b3ca2c9
Merge branch 'clean-hints-before-resolving-callback' 2018-09-07 22:34:00 +01:00
Saul Reynolds-Haertle
98b4faa086 Clean up hint elements and classes before resolving hint callbacks
This fixes the pop-in of the un-selected hints after one is selected,
since on completion we're removing all hints instead of just clearing
the filter. It also fixes hints remaining present on SPAs like github,
see #981.
2018-09-07 00:48:29 -07:00
Oliver Blanthorn
51fcf8aa74
Merge pull request #984 from ajgrf/master
Some small fixes to the native messenger installer
2018-09-06 17:07:43 +01:00
Alex Griffin
e8f216f441 Some small fixes to the native messenger installer 2018-09-06 10:02:31 -05:00
Oliver Blanthorn
d94a44cfbf
release 1.14.0 2018-09-05 16:38:03 +01:00
Oliver Blanthorn
6d7a8bfefd
Update changelog for 1.14.0 2018-09-05 16:37:42 +01:00
Oliver Blanthorn
35f48ae1f5
Merge branch 'key-translation-map' 2018-09-05 14:37:58 +01:00
Oliver Blanthorn
79fec22109
Add keymap excmd 2018-09-05 14:34:10 +01:00
Oliver Blanthorn
4f1ed4b63f
Merge pull request #979 from saulrh/unbreak-gobble
Unbreak gobble-mode
2018-09-05 11:25:31 +01:00
Saul Reynolds-Haertle
14889fbc58 Add key translation maps to help with i18n and accessibility 2018-09-05 03:19:31 -07:00
Saul Reynolds-Haertle
8c8b0a680f Unbreak gobble-mode
I apparently missed putting the relevant excmd into content-mode where
it could actually act on the state. >_>
2018-09-05 03:15:12 -07:00
Colin Caine
8f683f672c Make non-generic mode parsers report isMatch true
Causes keys to be suppressed in these modes too.
2018-09-04 21:51:46 +01:00
Colin Caine
f267291eae Add listener to window
If we want to suppress events we need to see them before anyone else, and window sees events before body.
2018-09-04 21:46:46 +01:00
Oliver Blanthorn
c920964ea1
Update changelog for 1.14.0 2018-09-04 13:21:28 +01:00
Oliver Blanthorn
8a2ec6fda0
Fix link to config help 2018-09-04 13:00:32 +01:00
Oliver Blanthorn
9a030adc71
Merge branch 'parsers-and-state-in-content' 2018-09-04 12:29:26 +01:00
Oliver Blanthorn
da50403a35
Add warning to new tab 2018-09-04 12:29:14 +01:00
Oliver Blanthorn
cb9386285c
Merge pull request #972 from glacambre/fix_followpagepatterns
config.ts: Fix followpagepatterns
2018-09-04 10:39:15 +01:00
glacambre
0fcef90a78
config.ts: Fix followpagepatterns
14d7acc5 accidentally broke the regexes used by followpage. This commit
fixes them.
2018-09-04 06:26:01 +02:00
Saul Reynolds-Haertle
58c3ed6fc6 Nuke msgsafe, since no need to message events any more, and fix ARIA
`pick` in `msgsafe.ts` was not type safe and was concealing an error
where HTMLElements don't have a `pick` property. Then
`MsgSafeNode.pick` would have always been absent, which would have
caused `isTextEditable` to fail to detect elements with the ARIA role
of `application`. Using real types throughout allows us to fix this by
iterating over `Element.attributes`, which appears to do the right
thing.
2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
b1e7cce722 Remember to run prettier script on changed files 2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
77d17a6d5f Fix typo in exmcds docstring, add TODO in bind-args mode mapping 2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
e0fa3d0b52 Update tutor so it says each tab is in a mode instead of the browser 2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
e4757a72a0 blacklistadd now only needs DocStart since mode is per-document
Per-document modes might actually leave `TabLeft` completely unused by
most people, so we should be careful to not let that code start to
decay.

Sample tridactylrc turned out to not need updating

It looks like help docs don't reference this functionality anywhere
else, so this should be all the autocommand-related changes.
2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
d2d673aa86 when logging err to console, spread message array to unnest 2018-09-02 16:25:34 -07:00
Saul Reynolds-Haertle
fc08fa4471 Un-regress hinting and finding
Turned out this was simple - I'd forgotten to switch the controller to
use the content versions of hinting and finding, so the controller was
using the background versions which were messaging-based proxies for
the content versions that weren't running any more. Calling the
content versions directly fixed hinting immediately.
2018-09-02 16:25:34 -07:00