Git Product home page Git Product logo

dactyl's People

Contributors

ality avatar alphapapa avatar amzyang avatar anekos avatar azuwis avatar calmarc avatar congma avatar conradirwin avatar dkearns avatar dpb avatar enzime avatar femnad avatar futuro avatar januswel avatar kmaglione avatar kstep avatar lzh9102 avatar maxauthority avatar noidi avatar oleksandr-shb avatar penryu avatar prathyush avatar prmtl avatar stepnem avatar teramako avatar tpavlic avatar urandom avatar willsalmanj avatar woutershep avatar zbinlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dactyl's Issues

Prevent Autocommand Pileup

Putting an autocmd DownloadPost in the rc will result in that autocommand being executed extra times for every window that is opened. This doesn't happen if I add the autocommand manually. Is there some way to have something in the rc executed only once? If not, it would be nice if either this was added or something along the lines of vim's augroups/autocmd! for clearing. I have tried au Enter * source /path/to/autocommands (which will still execute for every opened window; if this is the intended behaviour and I'm not using it wrong, I think the documentation could be made more clear).

jscompletion official plugin (and possibly others) broken

The jscompletion plugin does not seem to work with the latest Firefox and Pentadactyl. It hasn't worked since all of the iterator changes that took place recently for Firefox 36. For example, when I try :js document.getElementById('<Tab>, I get no completions and the following in the Browser Console:

TypeError: The expression cannot be converted to return the specified type. util.jsm:1389:0
evalXPath/<@file:///home/user/.pentadactyl/plugins/jscompletion-dev.js:33:42
CompletionContext<.completions@resource://dactyl/completion.jsm:307:28
generateCompletions@resource://dactyl/completion.jsm:428:8
CompletionContext<.items@resource://dactyl/completion.jsm:458:12
ItemList<.activeGroups/<@resource://dactyl-content/commandline.js:1978:40
ItemList<.activeGroups@resource://dactyl-content/commandline.js:1977:23
update@resource://dactyl-content/commandline.js:2103:12
reset@resource://dactyl-content/commandline.js:1324:16
complete@resource://dactyl-content/commandline.js:1285:12
tab@resource://dactyl-content/commandline.js:1592:16
tabTell@resource://dactyl-content/commandline.js:1134:16
notify@resource://dactyl/base.jsm:1436:12

The iterator changes might affect other official plugins that I haven't tested as well.

Request: switch to tab

The only advantage firefox's native interface has over pentadactyl's command line bar is the ability to list open tabs as a search result, which, when selected, activate the existing tab instead of opening a new one. Let's kill that last advantage!

tab options plugin broken

http://5digits.org/pentadactyl/plugins#tab-options-plugin

I really appreciated this- it seems very logical to me that the previously active tab is made active again upon closing the current tab. Particularly with buffers. The default firefox behavior, select the tab to the side, is insane. At the time of writing, the tab options plugin doesn't do its job, and prevents firefox from being able to close the currently open tab.

Please fix, or integrate into pentadactyl.

necessary config directories should be created if they don't already exist

Currently pentadactyl does not create the ~/.pentadactyl folder (nor the info subfolder), and thus no settings like quickmarks get saved across sessions. There is nowhere that I could find any documentation clearly indicating the need to create ~/.pentadactyl/info, but this turned out to be necessary in order for pentadactyl to start saving settings.

Ideally, pentadactyl will create this folder for the user if it doesn't already exist.

I am using the hg7166 xpi file with FF 37.0.1.

Some Firefox popup menus don't work when the location bar is hidden

When clicking some buttons of Firefox's menus or extensions placed on any of the toolbars, their menus don't pop up when the location bar is hidden with :se guioptions-=T. Here are some examples of Firefox menus and extensions on either the tabs bar (top) or on the bookmarks toolbar (bottom) for instances where they work or don't work with or without the location bar:

Firefox Menus

Downloads w/ Location Bar
downloads-bar
Works

Downloads w/o Location Bar
downloads-nobar
Works

Developer Tools w/ Location Bar
devtools-bar
Works

Developer Tools w/o Location Bar
devtools-nobar
Doesn't Work

Extensions

Privacy Badger w/ Location Bar
privacy badger-bar
Works

Privacy Badger w/o Location Bar
privacy badger-nobar
Works

uBlock w/ Location Bar
ublock-bar
Works

uBlock w/o Location Bar
ublock-nobar
Doesn't Work

Using :se guioptions+=T to bring back the location bar allows the menus to work, so there's no need to disable Pentadactyl.

There was an issue mentioning this in uBlock's GitHub page, but it's been removed (I think it was because it didn't belong there).

Toggling :set autocomplete on/off isn't working

[reopened]

  1. map -modes=n,c -ex :set autocomplete!=.*
  2. Execute C-s (autocomplete is on if's off)
  3. Execute C-s (autocomplete should be off)

What is the expected output? What do you see instead?
On the first execution (C-s) if autocomplete is off, it will be on.
On the second execution it should be off, but it's still on.
Also, the value of :set autocomplete changes.

What is the output of :yank :version, or the exact Pentadactyl version and
Firefox build identifier (see the about: page)?
Pentadactyl 1.2pre-hg7121-default (created 2014/08/27 08:44:10) running on:
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0

Can you reproduce this problem with all custom configuration and plugins
disabled (i.e., running firefox -pentadactyl '+u NONE')?
Yes.

Add support for e10s

In the latest versions of firefox, mozilla is adding support for multithreading. Pentadactyl should work to being compatable with this eventually, right now it is completely unusable. So far ex commands seem to work fine, but any movement (among other things) is broken. I've attached a paste of me using it for a few seconds. Pentadactyl works fine w/o e10s enabled!

This page seems relevant. This seems like a long term goal, but I'm just putting it out there, because this will eventually be default in firefox, and it would be great if pentadactyl could support it before then!

paste data
my pentadactylrc, it seems to be breaking up on map commands...

Pentadactyl distribution

I would like to see Pentadactyl become easier to install, especially for new users (and current users once mandatory extension signing makes the nightly more difficult to install). With the current state of affairs, it seems unlikely that any new user would try Pentadactyl because of the following issues:

  • The addons.mozilla.org page lists Pentadactyl as imcompatible with latest version of Firefox (the compatibility range is 24.0-31.*).
  • The most recent entry in news section of the front page of 5digits.org is about Pentadactyl 1.0 released two and a half years ago.
  • The Pentadactyl page at 5digits.org/pentadactyl present version 1.1 (released 1 year ago) for download and lists its compatibility as Firefox 24.0 through 30.*.

All of that together would lead a new user to assume the project had been abandoned if he/she did not know to look at the commit log on GitHub and see that updates were still being made. Pentadactyl still works well as long as you use the nightly version, but the nightly version is only recommended via the mailing list and in the reviews on addons.mozilla.org, as far as I can tell. Additionally, I'll point out one other future issue that could impact current users as well as new users due to the current reliance on the nightlies:

  • From what I have seen, Mozilla will not be providing an API (at least initially) for the upcoming extension signing mechanism, meaning that extensions will have to be manually uploaded for signing. This will mean that the Pentadactyl nightlies will only work for the unbranded versions of Firefox (and possibly Nightly and Aurora versions but Pentadactyl usually does not work well on those due to breaking changes to Firefox) unless someone does the manual upload.

I recommend the following actions to address these issues:

  1. Release a new version of Pentadactyl on 5digits.org when a release version of Firefox breaks Pentadactyl (and have it signed by Mozilla once that becomes necessary).
  2. Keep the news section of 5digits.org up to date with these releases (or remove the news section).
  3. Upload the new version to addons.mozilla.org, at least as a beta release. Pentadactyl is kind of a monster to review for AMO (I am an AMO reviewer but Pentadactyl is so complex I'm not sure I'm qualified to review it properly), but if the updates are mainly just compatibility fixes a full release on AMO once or twice a year might not be too bad.

Is there anything that the Pentadactyl user community (including myself) could do to help with taking these steps (or similar ones) to make Pentadactyl easy to install? I want to point out that, earlier in the year when the automated nightly builds stopped working and there was no xpi file readily available for download that worked with the release version of Firefox, several users set up there own build servers to help distribute updated nightlies. Several other users also asked on the mailing list if there was anything else that they could do to help the project.

v_c doesn't change to insert mode

:version
Pentadactyl hg7157 (created 2015/03/02 08:00:02) running on:
Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

If I type in a text box (e.g. google.com) in insert mode, press escape to go to text edit mode, press v to enter visual mode, then select some text and press c, I stay in visual mode instead of being placed in input mode.

bindings stop working in private mode

I am seeing this problem where, when I open a private browsing window for the second time in a session Pentadactyl bindings stop working (completely, as far as I can tell). This stopped happening for a while, and started happening again either with a new version of Firefox or of dactyl.

The best workaround I've found is to disable then re-enable Pentadactyl from the Firefox menu, which is not that bad, but definitely annoying.

Others have seen this problem as well: https://groups.google.com/forum/#!topic/pentadactyl/dpKW2wbppAM

Loosing of typing focus on trello.com

Added passkeys to have ability to work in trello's shortcuts:

 set passkeys+=trello.com:@#^abcdfxqvns?123456<><space><left><right><up><down><Esc><cr>

But when I add new card firefox lose typing from new one. I should find input field with 'f'.
I want to have continuous adding new card without loosing focus.
Do you have ideas how to fix it or why is it?

When going full screen in one window, status bar disappears in all windows.

You already see the contradiction.

So, the case:
I have one window with a chat running, and some with ordinary pages where I browse. Now, I put my chat window to another screen and go f11 to see as much text as possible. I go back to my browsing windows and all of a sudden I can't see where links point to anymore because there's no status bar.

This is not logical.

I'm attaching screenshots of my browsing screen to help clarify what I mean. On one you see status bar, on the other you don't. The difference is that on some another screen there's a window that's either full screen or not.

I'm using:
-- Pentadactyl hg7166
-- Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
-- i3 window manager.

2015-03-15-162358_1366x768_scrot
2015-03-15-162353_1366x768_scrot

tag completion on bmark and bmarks command

After updating to firefox 36 and rebuilding pentadactyl, I have
problems with tag completion on commands like this:

:bmark -tags 

This won't complete nor list anything, as if I had no tag ("No
Completions" is shown below status bar). I tried removing my
~/.pentadactylrc, rebuild again the extension, but still have this
issue.

Is there something I should do or check to have it working again?

Slow hints

(on Pentadactyl)
First of all, great job! Love the extension.

The time to generate hints on websites with 100+ links - such as Reddt's front page, which can have 200+ links - is high enough that following the link with the mouse, even if at the other side of the screen, is faster than waiting for the hints to appear on the screen. I assume they are being generated on demand. An alternative, if the issue is confirmed, might be to pre-generate them once the page has finished loading. That issue might only be relevant in slower computers, I don't have a better one to test it.

Mozilla Iceweasel 31.6.0 on Debian 8.0

Does not load properly for new windows

I'm using Fedora 21 with either GNOME 3.14 or XMonad (backed up by GDM). Pentadactyl is the 2015-05-06 nightly (though it's been happening nearly a year) running on Firefox 37.0.2. Under these circumstances:

Pentadactyl does a few strange things:

  • Ignores my ~/.pentadactylrc (with :so .pentadactylrc not helping)
  • Fails at hints mode (resource://dactyl-content/hints.js: 329: TypeError: mode.matcher is not a function straight after pressing f)
  • guioptions is the default bCrs, but looks like bCrsnNT. Running set go=bCrs fixes things.
  • Similar for passunknown, which doesn't seem to pass any unknown keys until set manually.

The same happens when I disable all other extensions. My .pentadactylrc is available here, and the rest of the .pentadactyl/ directory is available in the same repository.

[meta] Attachments from the old bug tracker are lost!

While the source code of Dactyl has been migrated from Google Code to GitHub, bug tracker was not. Someone disabled project on Google Code (it redirects user here, to GitHub), so issues are not available there anymore even for reading.

I guess, that person had in his mind that bug tracker threads were mirrored to a mail list [email protected], but attachments were not preserved while mirroring.

Thus, patches and other attached stuff from some bug threads are just lost for now.

Typing `content.` in the js REPL causes crash

:version
Pentadactyl hg7190 (created 2015/05/18 07:00:06) running on:
Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Firefox/38.0

Run :js and type content.. Firefox crashes.

DEPRECATION WARNING: Search service falling back to synchronous initialization.

ff:37.0.1
pentadactyl:lastest
profile:blank new

issue:
when firefox starts, there is a DEPRECATION WARNING in the console, says:

DEPRECATION WARNING: Search service falling back to synchronous initialization. This is generally the consequence of an add-on using a deprecated search service API.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIBrowserSearchService#async_warning
resource://gre/components/nsSearchService.js 3158 SRCH_SVC__ensureInitialized
resource://gre/components/nsSearchService.js 4149 SRCH_SVC_getVisible
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/bookmarks.js 221 Bookmarks<.searchEngines
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/bookmarks.js 674 search
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/bookmarks.js 648 completer
resource://dactyl/bootstrap.jsm -> resource://dactyl/completion.jsm 725 forkapply
resource://dactyl/bootstrap.jsm -> resource://dactyl/completion.jsm 712 fork
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 739 completions
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 754 validateCompleter
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 399 validator
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 228 isValidValue
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 256 op
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 1228 setAction
resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm 1413 initCommands/</<
resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm 183 exec
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js 1132 trapErrors
resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm 172 execute
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js 546 execute
resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm 737 Local/execute/</<
resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm 1035 withSavedValues
resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm 704 Local/execute/<
resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm 571 withContext/<
resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm 1035 withSavedValues
resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm 569 withContext
resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm 702 execute
resource://dactyl/bootstrap.jsm -> resource://dactyl/io.jsm 191 Local/source/<
resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm 571 withContext/<
resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm 1035 withSavedValues
resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm 569 withContext
resource://dactyl/bootstrap.jsm -> resource://dactyl/io.jsm 137 source
resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js 1972 initLoad/<
resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm 1066 timeout/timeout_notify
null 0 null

i think it's the search service api deprecated problem. i tried to fix this according to the warning, but failed.
Any chance to fix this?
thanks.

showtabline behaviour not obeyed

In my ~/.pentadactylrc I have:

set showtabline=never

This prevents the OSX close, minimise, maximise buttons from appearing inside the website. If I run:

set showtabline

then pentadactyl confirms the value is set to never, but if I then execute the command:

set showtabline=never manually

then the firefox titlebar properly appears again and the OSX buttons are then in the titlebar and not overlay into the website. If I exit and open firefox, the titlebar mostly hidden again and the buttons again appear inside the website.

"text.substr is not a function"

:version
Pentadactyl hg7166 (created 2015/03/18 07:00:04) running on:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:39.0) Gecko/20100101 Firefox/39.0

Attempting to show autocompletion entries gives the following error in "Extra Completions":

screenshot 2015-03-18 09 31 09

Autocomplete messes noinsertmode

With :set noinsertmode, focusing on some input boxes brings up an autocomplete list and switches to AUTOCOMPLETE (insert) mode. I think it would be better if this happened when entering input mode, rather than when focusing on the input box. If insertmode is enabled, it makes sense to enter AUTOCOMPLETE (insert) mode when focusing on the input box, but if the option is disabled, we should always enter TEXT EDIT mode.

Example of problematic input box: search box on http://lesswrong.com/r/discussion/

allow use of symlinks for config-files

It would be convenient to be able to share config-files via a Dropbox like service. One way of doing this is to simply create a ~/.pentadactylrc symlink which points to a file in the Dropbox folder.

Unfortunately, when pentadactyl writes any changes to this file, they overwrite the symlink with a real file instead of following and modifying the target. It would be nice if pentadactyl were able to handle such symlinked config files (e.g. including a symlinked quickmarks file).

Restrict sourced css files to chrome?

[Question]

From http://5digits.org/help/pentadactyl/repeat.xhtml#:source, under the "Cascading Stylesheets" section:

When a CSS file is sourced, its contents are applied to every web page and every chrome document, including all browser windows and dialogs. If the same file is sourced more than once, its previous rules are cleared before it is applied again. Rules can be restricted to specific documents by enclosing them in @-moz-document blocks.

The last line says rules can be restricted to "documents". Does documents include the "chrome documents", i.e. the firefox user interface? Because it doesn't seem like it judging by the link given there (https://developer.mozilla.org/en-US/docs/Web/CSS/@document).

To be clear, I'm looking for a way to restrict rules (from a particular sourced css file) to only the browser interface, so that actual web pages are not potentially affected. (Much like the difference between that of userChrome.css vs userContent.css.)

If this is currently not possible, what are your opinions on adding it as a feature? (Perhaps an optional argument/flag to the :source command?)

BTW, I unfortunately do not think I can just use the usual userChrome.css here. (i.e. I think I have to source the css file from the .pentadactylrc.)

c_<C-Tab> not selecting next matching completion group

[reopened]
With Firefox 31 c_<C-Tab> would select the next matching completion group, but that is not happening on versions 32 and 33.

What steps will reproduce the problem?

  1. :set complete=search,location,file
  2. :open <anything>
  3. hit <C-Tab>

What is the expected output? What do you see instead?
The focus should go from the search completion "group" to the next one which is "location".
Instead, it switches to the next tab.

:version
Pentadactyl hg7127 (created 2014/10/11 00:00:03) running on:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

Cosmetic errors in tab bar on OSX

Using the nightly build from 2015-05-12 on Firefox 37.02.2 on Mac OSX Yosemite 10.10.3

There are som cosmetic errors in the tab bar; it does not properly line up with the top of the window and the plus sign to add a new tab has strange proportions (looks a bit squashed vertically). I do not see these issues when running on Windows.

Please see the attached image for details

screenshot

Yank: URLs with non-ASCII symbols are escaped despite the option in about:config

In Firefox there is a preference in about:config called network.standard-url.escape-utf8 which disables escaping non-ASCII characters when copying URLs. When y is pressed, the escaped URL is always yanked despite of that preference.

I solved this for myself using this map snippet, but I skipped the util.losslessDecodeURI part because it ignores the about:config preference too, so my map line in .pentadactylrc looks like this:

map y -js dactyl.clipboardWrite(options.get("yankshort").getKey(buffer.uri) && buffer.shortURL || buffer.uri.spec, true)

This issue was reported earlier, and a patch was proposed, but Google Code issues are now all gone – by the way, why? The project status can be unset from 'Moved' on Google Code so all the issues are viewable again.

TypeError: options is undefined

Sometimes when I press G or gg I get this error:

resource://dactyl/buffer.jsm: 1634: TypeError: options is undefined

and nothing happens (i.e. page stays the same, no movement). Not sure what is causing it. It seems to happen randomly. It goes away after I change tab and do some browsing.

Let me know if there is anything I can do to help you debug this.

Edit: Apparently there is a pull request for this #8

Unable to Hide Tab Bar

Overview

Given the available items under guioptions and toolbarhide, I expect to be
able to control the visibility of the tab bar but am un able to.

Is there another, canonical way to hide/show the tab bar?

Environment

:version
Pentadactyl 1.2pre (created 2015/05/15 11:35:37) running on:
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

marks commands are broken

Setting marks via 'm' ou ':mark' command won't make any difference to ':marks' command which returns 'No marks set'

:version
Pentadactyl hg7166 (created 2015/03/18 07:00:04) running on:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Pentadactyl and Firefox extension signing

Firefox will start mandating extensions signing most likely after Firefox 39:

https://blog.mozilla.org/addons/2015/02/10/extension-signing-safer-experience/

This means users of extensions will not be able to modify the extension's XPI and this poses a bit of a problem, since currently I have to modify dactyl.css and customize it differently on Mac OS X and Windows 7 each time I update pentadactyl. This is not too big of an issue currently, I have dactyl.css.patch file, I open the pentadactyl.xpi in Vim and diffpatch the dactyl.css directly in the XPI and everything is fine.

However, this will no longer be possible after signing is mandatory. Even worse downloading the dactyl source code and modifying it will not be possible either (basically you will have to fork the extension change the extension ID and re-submit it for signing if you want to build it yourself). This is even less practical.

This is why it would be good if pentadactyl code could detect which firefox and OS it is running on and change the relevant dactyl.css values or perhaps use difference OS/Firefox version specific dactyl.css.

This is necessary since on Mac OS X and Windows 7 (I don't know about other OSes) tabs are rendered protruding past the tabbar. So for example on Mac OS X I have to apply the following patch to make it look decent again:

--- dactyl.css  2015-02-23 09:22:51.000000000 -0500
+++ dactyl.css.new  2015-02-23 09:22:37.000000000 -0500
@@ -230,20 +230,20 @@
 /* Fix ginormous Australis tabs. */
 [dactyl-australis=true] :-moz-any(xul|tab.tabbrowser-tab, .tabs-newtab-button)
         .tab-background > * {
-    min-height: 24px !important;
-    max-height: 24px !important;
+    min-height: 30px !important;
+    max-height: 30px !important;
 }

 [dactyl-australis=true] :-moz-any(xul|tab.tabbrowser-tab, .tabs-newtab-button)
     .tab-background > :-moz-any(.tab-background-start, .tab-background-end)::after {
-    background-size: 30px 24px !important;
-    max-height: 24px !important;
-    min-height: 24px !important;
+    background-size: 30px 30px !important;
+    max-height: 30px !important;
+    min-height: 30px !important;
 }

 [dactyl-australis=true] .tabbrowser-tabs {
-    min-height: 0 !important;
-    max-height: 24px !important;
+    min-height: 33px !important;
+    max-height: 33px !important;
 }

 /* Fix stupid line... */

Slightly different values are needed on Windows 7.

TypeError: this.selectedItem is null

chrome://browser/content/tabbrowser.xml: 3642: TypeError: this.selectedItem is null
Processing resize event: TypeError: win is null

This happened after trying to drag tabs from other firefox session into my main one. After moving a first tab, moving second tab has failed and it opened empty new tab instead. Additional moving tabs from one firefox instance to other doesn't work at all after this happens.

Request: Rework completion buffer to open and then load entries

Is there a way to rework the completion buffer (I think that's what it's called) so that it opens to it's max height and then loads the entries? I just seems a bit slow, especially the first time it's loaded, and it's bothering me and I think changing the order of events would be the easiest way to make it feel faster. Alternatively if there's anything I could add to my .pentadactylrc that would make it snappier that would be good too.

Just to clarify what I mean by completion buffer is the little thing that pops up at the bottom when you hit o in normal mode.

Bookmarks autocompletion in :open should match description/keyword.

Hi, thank you for this great extension.

I have an issue related to URL autocompletion for bookmarks. Let's say that
I did set complete=bookmarks,... and when I type :open I have a bookmark entry
in the completion candidate list. For example

http://massimolauria.wordpress.com              (keyword: blog tags: math,cs) Hard Theorems

I would expect to be able to type, say, Theo and to have this entry to be selected. Or maybe to type blog with the same result. Unfortunately it seems that typed string is only matched against the URL and not against the additional fields.

Matching keywords, tags and descriptions would be better for several reasons:

  1. the info is shown and highlighter in the completion candidate, and the user would naturally use this info to filter completion candidates;
  2. keywords, tags and descriptions are usually more mnemonic than URLs
  3. For bookmarklets the URL contains only javascript horror, while keyword and tags are actual words.

I know that you can filer by tag or keyword using :bmarks command, but it is dramatically more convenient to access all this features in the :open command (and :tabopen as well of course)

set home is not work

when start: -pentadactyl "++cmd 'js services.environment.set(''HOME'', ''S:\MyPentadactyl'')'"
but when :scriptnames,the js is not loaded.

Processing mousedown event: TypeError: value is not a non-null object

I left two firefox sessions with about 5 tabs each open, hibernated my pc and then left it for the night. Next day I noticed that firefox was eating huge amounts of ram so I decided to close everything and open it up again. After starting new firefox session it opened mozilla starting page (the one with firefox logo and search bar in the middle) and I noticed that new pentadactyl command bar was below the first one. I tried clicking it with mouse and got this:

Processing mousedown event: TypeError: value is not a non-null object

And the worst thing is it won't go away. It just stays there no matter what I do.

Some buttons/links are not hintable

On lots of websites I encounter buttons that are not hintable.
For example on oDesk.com (upwork.com) it's impossible to click "Apply to this job" or "Save job" buttons
20150507181333
There is some other websites like this, but I use them rarely and can't recall instantly, though if needed I will :)

Pentadactyl hg7166 (created 2015/04/17 07:00:04) running on:
Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Aurora 39.x: "ReferenceError: CompletionContext is not defined"

Version 39 was just pushed to Aurora (developer edition). Everything apart from completion seems to work.

This happens when typing any command. :, :open, etc, and no completion options appear.

Full console log:

pentadactyl: bootstrap: SyntaxError: expected expression, got '=>'
loadSubScript@resource://dactyl/bootstrap.jsm:20:26
_load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/.mozilla/firefox/16gil8om.dev-edition-default/extensions/[email protected]!/bootstrap.js:139:17
load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/.mozilla/firefox/16gil8om.dev-edition-default/extensions/[email protected]!/bootstrap.js:162:17
require@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:60:12
time@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:130:19
_overlay/onInit/_load/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/main.jsm:199:27
_load@resource://dactyl/bootstrap.jsm -> resource://dactyl/main.jsm:196:1
time@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:130:19
onInit@resource://dactyl/bootstrap.jsm -> resource://dactyl/main.jsm:195:1
trapErrors@resource://dactyl/bootstrap.jsm -> resource://dactyl/util.jsm:1663:20
_loadOverlay@resource://dactyl/bootstrap.jsm -> resource://dactyl/overlay.jsm:337:13
_loadOverlays@resource://dactyl/bootstrap.jsm -> resource://dactyl/overlay.jsm:281:1
listener@resource://dactyl/bootstrap.jsm -> resource://dactyl/overlay.jsm:141:21
wrappedCallback@resource://dactyl/bootstrap.jsm -> resource://dactyl/util.jsm:48:27

pentadactyl: SyntaxError: expected expression, got '=>'
pentadactyl: [Begin template]
pentadactyl: (End   template)
pentadactyl: SyntaxError: expected expression, got '=>'::
pentadactyl: stack:     loadSubScript@resource://dactyl/bootstrap.jsm:20:26
pentadactyl:    _load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/[email protected]!/bootstrap.js:139:17
pentadactyl:    load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/[email protected]!/bootstrap.js:162:17
pentadactyl:    require@resource://dactyl/base.jsm:60:12
pentadactyl:    time@resource://dactyl/base.jsm:130:19
pentadactyl:    _overlay/onInit/_load/<@resource://dactyl/main.jsm:199:27
pentadactyl:    _load@resource://dactyl/main.jsm:196:1
pentadactyl:    time@resource://dactyl/base.jsm:130:19
pentadactyl:    onInit@resource://dactyl/main.jsm:195:1
pentadactyl:    trapErrors@resource://dactyl/util.jsm:1663:20
pentadactyl:    _loadOverlay@resource://dactyl/overlay.jsm:337:13
pentadactyl:    _loadOverlays@resource://dactyl/overlay.jsm:281:1
pentadactyl:    listener@resource://dactyl/overlay.jsm:141:21
pentadactyl:    wrappedCallback@resource://dactyl/util.jsm:48:27
pentadactyl: toString: function () /* use strict */ String(error)

pentadactyl: [Begin downloads]
pentadactyl: (End   downloads)
pentadactyl: [Begin finder]
pentadactyl: (End   finder)
pentadactyl: [Begin help]
pentadactyl: (End   help)
pentadactyl: [Begin javascript]
pentadactyl: (End   javascript)
pentadactyl: [Begin options]
pentadactyl: (End   options)
pentadactyl: [Begin sanitizer]
pentadactyl: (End   sanitizer)
pentadactyl: Load: dactyl
pentadactyl:   from: resource://dactyl/main.jsm:332
pentadactyl: [Begin bookmarkcache]
pentadactyl: (End   bookmarkcache)
pentadactyl: Load: statusline
pentadactyl:   from: resource://dactyl-content/dactyl.js:1340
pentadactyl: Load: modes
pentadactyl:   from: resource://dactyl-content/modes.js:527
pentadactyl: Load: tabs
pentadactyl:   from: resource://dactyl-content/statusline.js:367
pentadactyl: Loaded in 248ms
pentadactyl: Load: quickmarks
pentadactyl:   from: resource://dactyl-content/statusline.js:267
pentadactyl: sourcing /home/me/.pentadactylrc
pentadactyl: Load: autocommands
pentadactyl:   from: resource://dactyl/highlight.jsm:306
pentadactyl: sourcing /home/me/.pentadactyl/plugins/noscript-dev.js
pentadactyl: Load: commandline
pentadactyl:   from: resource://dactyl-content/dactyl.js:406
pentadactyl: Load: mow
pentadactyl:   from: resource://dactyl-content/commandline.js:928
pentadactyl: Load: events
pentadactyl:   from: resource://dactyl-content/mow.js:35
pentadactyl: Load: marks
pentadactyl:   from: resource://dactyl-content/marks.js:314
pentadactyl: Load: browser
pentadactyl:   from: resource://dactyl-content/browser.js:206
pentadactyl: done sourcing /home/me/.pentadactyl/plugins/noscript-dev.js: 172ms
pentadactyl: Loading completion: SyntaxError: expected expression, got '=>'

pentadactyl: bootstrap: SyntaxError: expected expression, got '=>'
loadSubScript@resource://dactyl/bootstrap.jsm:20:26
_load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/.mozilla/firefox/16gil8om.dev-edition-default/extensions/[email protected]!/bootstrap.js:139:17
load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/.mozilla/firefox/16gil8om.dev-edition-default/extensions/[email protected]!/bootstrap.js:162:17
require@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:60:12
lazyRequire/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:65:47
g_replaceProperty@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:749:78
completions@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:738:17
validateCompleter@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:754:26
validator@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:399:1
isValidValue@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:228:49
op@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:256:18
setAction@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:1228:35
initCommands/</<@resource://dactyl/bootstrap.jsm -> resource://dactyl/options.jsm:1413:21
exec@resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm:183:17
trapErrors@resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js:1132:20
execute@resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm:172:1
execute@resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js:546:26
Local/execute/</<@resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm:737:33
withSavedValues@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:1037:20
Local/execute/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm:704:21
withContext/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm:571:20
withSavedValues@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:1037:20
withContext@resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm:569:9
execute@resource://dactyl/bootstrap.jsm -> resource://dactyl/commands.jsm:702:1
Local/source/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/io.jsm:191:1
withContext/<@resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm:571:20
withSavedValues@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:1037:20
withContext@resource://dactyl/bootstrap.jsm -> resource://dactyl/contexts.jsm:569:9
source@resource://dactyl/bootstrap.jsm -> resource://dactyl/io.jsm:137:1
initLoad/<@resource://dactyl/bootstrap.jsm -> resource://dactyl-content/dactyl.js:1972:1
timeout/timeout_notify@resource://dactyl/bootstrap.jsm -> resource://dactyl/base.jsm:1068:17

pentadactyl: SyntaxError: expected expression, got '=>'
pentadactyl: SyntaxError: expected expression, got '=>'::
pentadactyl: stack:     loadSubScript@resource://dactyl/bootstrap.jsm:20:26
pentadactyl:    _load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/[email protected]!/bootstrap.js:139:17
pentadactyl:    load@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/me/[email protected]!/bootstrap.js:162:17
pentadactyl:    require@resource://dactyl/base.jsm:60:12
pentadactyl:    lazyRequire/<@resource://dactyl/base.jsm:65:47
pentadactyl:    g_replaceProperty@resource://dactyl/base.jsm:749:78
pentadactyl:    completions@resource://dactyl/options.jsm:738:17
pentadactyl:    validateCompleter@resource://dactyl/options.jsm:754:26
pentadactyl:    validator@resource://dactyl/options.jsm:399:1
pentadactyl:    isValidValue@resource://dactyl/options.jsm:228:49
pentadactyl:    op@resource://dactyl/options.jsm:256:18
pentadactyl:    setAction@resource://dactyl/options.jsm:1228:35
pentadactyl:    initCommands/</<@resource://dactyl/options.jsm:1413:21
pentadactyl:    exec@resource://dactyl/commands.jsm:183:17
pentadactyl:    trapErrors@resource://dactyl-content/dactyl.js:1132:20
pentadactyl:    execute@resource://dactyl/commands.jsm:172:1
pentadactyl:    execute@resource://dactyl-content/dactyl.js:546:26
pentadactyl:    Local/execute/</<@resource://dactyl/commands.jsm:737:33
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    Local/execute/<@resource://dactyl/commands.jsm:704:21
pentadactyl:    withContext/<@resource://dactyl/contexts.jsm:571:20
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    withContext@resource://dactyl/contexts.jsm:569:9
pentadactyl:    execute@resource://dactyl/commands.jsm:702:1
pentadactyl:    Local/source/<@resource://dactyl/io.jsm:191:1
pentadactyl:    withContext/<@resource://dactyl/contexts.jsm:571:20
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    withContext@resource://dactyl/contexts.jsm:569:9
pentadactyl:    source@resource://dactyl/io.jsm:137:1
pentadactyl:    initLoad/<@resource://dactyl-content/dactyl.js:1972:1
pentadactyl:    timeout/timeout_notify@resource://dactyl/base.jsm:1068:17
pentadactyl: toString: function () /* use strict */ String(error)

pentadactyl: TypeError: CompletionContext is not a function
pentadactyl: TypeError: CompletionContext is not a function::
pentadactyl: stack:     completions@resource://dactyl/options.jsm:738:27
pentadactyl:    validateCompleter@resource://dactyl/options.jsm:754:26
pentadactyl:    validator@resource://dactyl/options.jsm:399:1
pentadactyl:    isValidValue@resource://dactyl/options.jsm:228:49
pentadactyl:    op@resource://dactyl/options.jsm:256:18
pentadactyl:    setAction@resource://dactyl/options.jsm:1228:35
pentadactyl:    initCommands/</<@resource://dactyl/options.jsm:1413:21
pentadactyl:    exec@resource://dactyl/commands.jsm:183:17
pentadactyl:    trapErrors@resource://dactyl-content/dactyl.js:1132:20
pentadactyl:    execute@resource://dactyl/commands.jsm:172:1
pentadactyl:    execute@resource://dactyl-content/dactyl.js:546:26
pentadactyl:    Local/execute/</<@resource://dactyl/commands.jsm:737:33
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    Local/execute/<@resource://dactyl/commands.jsm:704:21
pentadactyl:    withContext/<@resource://dactyl/contexts.jsm:571:20
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    withContext@resource://dactyl/contexts.jsm:569:9
pentadactyl:    execute@resource://dactyl/commands.jsm:702:1
pentadactyl:    Local/source/<@resource://dactyl/io.jsm:191:1
pentadactyl:    withContext/<@resource://dactyl/contexts.jsm:571:20
pentadactyl:    withSavedValues@resource://dactyl/base.jsm:1037:20
pentadactyl:    withContext@resource://dactyl/contexts.jsm:569:9
pentadactyl:    source@resource://dactyl/io.jsm:137:1
pentadactyl:    initLoad/<@resource://dactyl-content/dactyl.js:1972:1
pentadactyl:    timeout/timeout_notify@resource://dactyl/base.jsm:1068:17
pentadactyl: toString: function () /* use strict */ String(error)

pentadactyl: done sourcing /home/me/.pentadactylrc: 807ms
pentadactyl: Load: editor
pentadactyl:   from: resource://dactyl-content/events.js:605
pentadactyl: Load: mappings
pentadactyl:   from: resource://dactyl-content/events.js:814
pentadactyl: ReferenceError: CompletionContext is not defined
pentadactyl: ReferenceError: CompletionContext is not defined::
pentadactyl: stack:     init@resource://dactyl-content/commandline.js:1103:13
pentadactyl:    Completions@resource://dactyl/base.jsm line 375 > eval:10:23
pentadactyl:    CM_open@resource://dactyl-content/commandline.js:357:32
pentadactyl:    initMappings/<@resource://dactyl-content/browser.js:268:27
pentadactyl:    Map<.execute/repeat@resource://dactyl-content/mappings.js:127:28
pentadactyl:    Map<.execute@resource://dactyl-content/mappings.js:141:23
pentadactyl:    execute/<@resource://dactyl-content/key-processors.js:258:23
pentadactyl:    trapErrors@resource://dactyl-content/dactyl.js:1132:20
pentadactyl:    execute@resource://dactyl-content/key-processors.js:88:30
pentadactyl:    process@resource://dactyl-content/key-processors.js:216:16
pentadactyl:    onKeyPress@resource://dactyl-content/events.js:770:22
pentadactyl:    wrappedListener@resource://dactyl-content/events.js:225:17
pentadactyl: toString: function () /* use strict */ String(error)

Custom extended hints mode

Hi
I just recently switched to pentadactyl and it solves most of the limitations I had with vimperator.
One annoyance remains, however (that I didn't manage to solve):
Is there the possibility to create custom hint actions? The default one is "open", ";" allows for different ones, but is there a way to define a new one?
The uses I have in mind are:

  • I have a "mpv" command that opens the current page with the mpv video player (I use this for youtube videos). I'd like to be able to open links directly in mpv without having to load the link first.
  • I would like being able to save links to pocket without opening them (although I would have to figure out how to save links to pocket through pentadacyl at all, currently I am using the default hotkey the pocket addon offers)

Am I missing a feature or is this just not possible?

tab-options plugin breaks :tabclose command

I'm using Firefox 36.0.1 with Pentadactyl hg7166 (2015/03/11 nightly).
The tab-options plugin (-dev version) makes the :tabclose command appear to do nothing, which exactly defeats its own purpose.
This plugin is really nice. Will someone take a look, please?

d and D do not close the last tab

d and D work as expected except when there is only one tab in the window. If there is only one tab, d/D will not close that tab at all. Instead of bringing up a blank tab, the current tab stays open.

Pentadactyl 7166
Firefox 31.5.3

String.quote is missing in Firefox 37

My command macros recently stopped working due to the removal of String.quote in Firefox. I managed to fix the compileMacro function in the Util module but I did so by inlining the escapeString function. I'm a bit rusty with my javascript so I can't see an obvious way of reusing the escapeString function. There are also a few other locations where String.quote was used but I haven't seen them cause problems yet and I would like to know what the best replacement would be.

See this page about the removal of String.quote:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/quote

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.