]>
git.gir.st - VimFx.git/log
Simon Lydell [Mon, 29 Jul 2013 20:59:59 +0000 (22:59 +0200)]
Merge branch 'develop' into huffman
Simon Lydell [Mon, 29 Jul 2013 19:43:31 +0000 (21:43 +0200)]
Code cleanup
Some minor things, and moving the `inner` function of `injectHints` into
its on function: `getMarkers`.
Anton Khodakivskiy [Mon, 29 Jul 2013 20:11:57 +0000 (23:11 +0300)]
Small bugfix for recent change for #88
Anton Khodakivskiy [Mon, 29 Jul 2013 20:09:06 +0000 (13:09 -0700)]
Merge pull request #147 from lydell/bugfixes
Bugfixes
Anton Khodakivskiy [Mon, 29 Jul 2013 19:41:54 +0000 (22:41 +0300)]
removed console.stacktrace that should be replaced with err.stack where appropriate
Anton Khodakivskiy [Mon, 29 Jul 2013 19:35:48 +0000 (22:35 +0300)]
Fix small bug with scrolling - j/k will scroll by lines
Anton Khodakivskiy [Mon, 29 Jul 2013 19:35:29 +0000 (22:35 +0300)]
Return console in the packages scope
Simon Lydell [Mon, 29 Jul 2013 19:21:27 +0000 (21:21 +0200)]
Merge branch 'bugfixes' into huffman
Simon Lydell [Mon, 29 Jul 2013 19:21:10 +0000 (21:21 +0200)]
Merge branch 'develop' into huffman
Conflicts:
extension/locale/hu-HU/options.dtd
extension/packages/prefs.coffee
Simon Lydell [Mon, 29 Jul 2013 18:27:31 +0000 (20:27 +0200)]
Fix typo
Line 64 in marker.coffee contains a reference to `@markedElement`, though
that is the only occurance in the entire files. It clearly looks like it
is a typo of `@markerElement`, by inspecting the nearby code. The odd
thing, though, is that that line seems to have been added by commit
b5f488df , and already there the typo exists. Has the code ever worked?
I'm not sure if this fix currently fixes any issues, but it is needed in
the Huffman branch in order not to throw errors.
Simon Lydell [Mon, 29 Jul 2013 18:14:53 +0000 (20:14 +0200)]
Fix `injectHints` might return undefined markers
The `inner` function of `injectHints` now returns an empty array instead
of undefined if no markers could be produced, since all results of the
`inner` function are recursively concatenated. VimFx seems to have worked
well even though some entries in the array of markers returned by
`injectHints` could be undefined. However, on the Huffman branch, the
undefined entries sometimes caused a TypeError to be thrown, which
eventually resulted in that none of the hint markers were given any hints.
Anton Khodakivskiy [Mon, 29 Jul 2013 17:57:34 +0000 (20:57 +0300)]
Closes #61. Added commands to stop loading current page and all pages
Anton Khodakivskiy [Mon, 29 Jul 2013 17:50:01 +0000 (20:50 +0300)]
Closes #63. Twitter specific class added to the markable elements
Anton Khodakivskiy [Mon, 29 Jul 2013 17:21:35 +0000 (20:21 +0300)]
Closes #88.Find disabled on non HTML documents
Simon Lydell [Mon, 29 Jul 2013 15:15:13 +0000 (17:15 +0200)]
Fix no hint generated if only one link.
Anton Khodakivskiy [Sun, 28 Jul 2013 19:03:15 +0000 (22:03 +0300)]
Closes #93, #124 Fixed scrolling on pages where some inner element (not window) is scrollable, reimplemented smooth scrolling
Anton Khodakivskiy [Sat, 27 Jul 2013 22:25:13 +0000 (01:25 +0300)]
Closes #114, closes #115.
Find will now start from current selection/last found match
Find string is now global for all windows
'gh' command will now function properly for urls without protocol part (http://)
Anton Khodakivskiy [Fri, 26 Jul 2013 18:54:31 +0000 (11:54 -0700)]
Merge pull request #145 from LordJZ/develop-
46327e51 -fix
Drop accidentally committed trash line
LordJZ [Fri, 26 Jul 2013 18:41:10 +0000 (22:41 +0400)]
Dropped accidentally committed trash line.
Anton Khodakivskiy [Mon, 22 Jul 2013 16:32:57 +0000 (19:32 +0300)]
Fixed bug where default preferences values are not visible in the preferences pane, reorganized bootstrap.coffee a bit
Anton Khodakivskiy [Mon, 22 Jul 2013 11:22:30 +0000 (14:22 +0300)]
Resort to Author sheets for CSS injection.
Help to avoid dirty '!important' in CSS.
Anton Khodakivskiy [Sat, 20 Jul 2013 20:44:21 +0000 (23:44 +0300)]
Reorganized code, removed memory leaks
Anton Khodakivskiy [Sat, 20 Jul 2013 11:14:58 +0000 (14:14 +0300)]
Closes #120. Cleaned up locales folder. Fixed logic of locale discovery.
Now we rely on general.useragent.locale Firefox preference
Anton Khodakivskiy [Fri, 19 Jul 2013 20:46:18 +0000 (23:46 +0300)]
Merge branch 'master' into develop
Conflicts:
README.md
extension/chrome.manifest
extension/install.rdf
Anton Khodakivskiy [Fri, 19 Jul 2013 20:23:42 +0000 (23:23 +0300)]
Added link to the contributions section at the top of README.md
Anton Khodakivskiy [Fri, 19 Jul 2013 20:18:57 +0000 (23:18 +0300)]
Small update to README.md after @lydell
Anton Khodakivskiy [Fri, 19 Jul 2013 20:16:01 +0000 (13:16 -0700)]
Merge pull request #142 from lydell/master
Add contribution steps/help/info to the readme
Anton Khodakivskiy [Fri, 19 Jul 2013 19:59:23 +0000 (22:59 +0300)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Fri, 19 Jul 2013 19:52:25 +0000 (22:52 +0300)]
Updated README.md with contribution instruction
Simon Lydell [Fri, 19 Jul 2013 19:53:27 +0000 (21:53 +0200)]
Add contribution steps/help/info to the readme
Anton Khodakivskiy [Fri, 19 Jul 2013 19:45:14 +0000 (12:45 -0700)]
Merge pull request #141 from sirodoht/develop
Added Greek localization
Theodore Keloglou [Fri, 19 Jul 2013 19:39:11 +0000 (22:39 +0300)]
Added Greek localization
Simon Lydell [Fri, 19 Jul 2013 19:17:36 +0000 (21:17 +0200)]
Use 2 space indentation in huffman.coffee
Just like all other files.
Simon Lydell [Fri, 19 Jul 2013 19:16:30 +0000 (21:16 +0200)]
Merge branch 'develop' into huffman
Conflicts:
extension/packages/events.coffee
extension/packages/hints.coffee
extension/packages/marker.coffee
extension/packages/prefs.coffee
extension/packages/utils.coffee
Anton Khodakivskiy [Fri, 19 Jul 2013 19:11:04 +0000 (12:11 -0700)]
Merge pull request #138 from grn/develop
Updated Polish translation
Anton Khodakivskiy [Fri, 19 Jul 2013 19:03:25 +0000 (12:03 -0700)]
Merge pull request #140 from lydell/cleanup
Added missing parenthesis
Simon Lydell [Fri, 19 Jul 2013 17:43:46 +0000 (19:43 +0200)]
Fix new coding style
Simon Lydell [Fri, 19 Jul 2013 17:31:09 +0000 (19:31 +0200)]
Added missing parenthesis
Note that even functions whose last argument is a one-line function
literal have parenthesis now.
How to do with functions whose last argument is a multi-line function is
not settled yet. Neither is whether `require` should have parenthesis.
Grzegorz Niewisiewicz [Wed, 17 Jul 2013 20:07:04 +0000 (22:07 +0200)]
Updated Polish translation
Anton Khodakivskiy [Wed, 17 Jul 2013 17:02:27 +0000 (10:02 -0700)]
Merge pull request #137 from ctype/delocale
Add German locale
Anton Khodakivskiy [Wed, 17 Jul 2013 17:01:57 +0000 (10:01 -0700)]
Merge pull request #135 from lydell/cleanup
Cleanup
Alexander Haeussler [Tue, 16 Jul 2013 20:39:55 +0000 (22:39 +0200)]
Add German locale
Simon Lydell [Tue, 16 Jul 2013 19:35:36 +0000 (21:35 +0200)]
Consistently use ' instead of "
The single quote was used most of the time before. Now it is always used,
unless double quotes are needed for interpolation.
A few other, minor consistency errors was also fixed.
Simon Lydell [Tue, 16 Jul 2013 19:04:41 +0000 (21:04 +0200)]
Consistent use of parenthesis
Functions pretty much always use parenthesis, unless:
- The last argument is a function literal
- The function call is multiline for some (other) reason
- The specific case makes it less readable with parenthesis
- The function is `require`
Simon Lydell [Tue, 16 Jul 2013 16:17:15 +0000 (18:17 +0200)]
Remove chrome.coffee
- Remove chrome.coffee, which added Cc, Ci and Cu globally.
- Add definitions of those in files where needed.
- Fix consistent formatting of their definitions.
- Fix consistent placement of their definitions: after reqiures. Includes
cleaning up the requires sometimes, involving alignment.
- When fixing alignment of requires I couldn't help but to also fix
alignments in other places.
- Trailing whitespace was also removed by my editor.
Simon Lydell [Tue, 16 Jul 2013 14:50:06 +0000 (16:50 +0200)]
Remove unnecessary semi-colons
Trailing whitespace was also removed by my editor.
Simon Lydell [Tue, 16 Jul 2013 14:35:00 +0000 (16:35 +0200)]
Fix frames handling
Every frame got the same hints as the others, basically. Now
`Marker.createMarkers()` does not give its markers any hints anymore.
Instead, all markers from all frames are collected in `injectHints()` and
then given markers. I am not sure how good/nice the solution is, but it
works.
Anton Khodakivskiy [Tue, 16 Jul 2013 12:48:05 +0000 (05:48 -0700)]
Merge pull request #133 from lydell/develop
Use element.classList instead of custom helpers
Simon Lydell [Tue, 16 Jul 2013 09:31:50 +0000 (11:31 +0200)]
Use Huffman algorithm for hints generation (fix #112)
The Huffman algorithm is now used to generate optimal prefix codes for all
focusable elements. The area of each element is used as _weight_. The
higher the weight, the shorter the hint.
Note:
The old algorithm seemed to give shorter hints to `<a>` elements. That is
currently not the case with the new algorithm.
Other related changes:
- Change minimum allowed number of hint chars from 3 to 2, since the new
algorithm supports it.
- Change default hint chars, since with the new algorithm the best keys
should be at the beginning of the string.
- My editor is set to strip trailing white space. Apparently there was a
lot of trailing whitespace in many files, so a diff of this commit is a
bit messy.
Simon Lydell [Tue, 16 Jul 2013 11:51:48 +0000 (13:51 +0200)]
Use element.classList instead of custom helpers
Remove `utils.addClass()` and `utils.removeClass()`. Use
`.classList.add()` and `.classList.remove()` directly on the elements
instead.
My editor is set to strip trailing whitespace, which it did. So a diff of
this commit is a bit messy.
Anton Khodakivskiy [Wed, 12 Jun 2013 19:59:52 +0000 (22:59 +0300)]
Merge branch 'release-0.4.8' into develop
Anton Khodakivskiy [Wed, 12 Jun 2013 19:59:28 +0000 (22:59 +0300)]
Merge branch 'release-0.4.8'
Anton Khodakivskiy [Wed, 12 Jun 2013 19:59:17 +0000 (22:59 +0300)]
Version bump and changedlog update
Anton Khodakivskiy [Wed, 12 Jun 2013 19:58:07 +0000 (22:58 +0300)]
Closes #117. Hotfix for custom hint chars
Anton Khodakivskiy [Wed, 12 Jun 2013 15:30:33 +0000 (18:30 +0300)]
Reversed change log order
Anton Khodakivskiy [Wed, 12 Jun 2013 15:22:49 +0000 (18:22 +0300)]
Merge branch 'release-0.4.7' into develop
Anton Khodakivskiy [Wed, 12 Jun 2013 15:22:10 +0000 (18:22 +0300)]
Merge branch 'release-0.4.7'
Anton Khodakivskiy [Wed, 12 Jun 2013 15:21:40 +0000 (18:21 +0300)]
Bumped version to 0.4.7 and updated changelogs
Anton Khodakivskiy [Wed, 12 Jun 2013 12:47:34 +0000 (15:47 +0300)]
Closes #111. Validating custom hint characters.
If there are less than 3 custom hint characters the the default hint characters are used.
Custom hint characters are filtered to remove duplicates.
Anton Khodakivskiy [Wed, 12 Jun 2013 11:20:41 +0000 (14:20 +0300)]
Closes #110. Use default hint chars if custom hint chars string is empty
Anton Khodakivskiy [Wed, 12 Jun 2013 10:47:01 +0000 (03:47 -0700)]
Merge pull request #94 from LordJZ/develop-embed
Add markers for embedded objects.
Anton Khodakivskiy [Wed, 12 Jun 2013 10:38:45 +0000 (03:38 -0700)]
Merge pull request #109 from mozillazg/develop
Update Simplified Chinese translation
Mozillazg [Sat, 11 May 2013 13:30:12 +0000 (21:30 +0800)]
Updated Simplified Chinese translation.
Anton Khodakivskiy [Tue, 7 May 2013 09:47:52 +0000 (12:47 +0300)]
Closes #97. Reimplemented the 't' command. It should now play nicer with other extensions like SuperStart
Anton Khodakivskiy [Tue, 7 May 2013 09:35:35 +0000 (12:35 +0300)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Tue, 7 May 2013 09:35:14 +0000 (12:35 +0300)]
Closes #101. Will reenter normal mode on page reloads
Anton Khodakivskiy [Tue, 7 May 2013 07:36:04 +0000 (00:36 -0700)]
Merge pull request #108 from LordJZ/develop-107
Start with proper marker index for each frame. Fixes #107
LordJZ [Mon, 6 May 2013 15:26:10 +0000 (08:26 -0700)]
Start with proper marker index for each frame. Fixes #107
Anton Khodakivskiy [Tue, 23 Apr 2013 22:11:13 +0000 (01:11 +0300)]
Closes #95. Search will now focus the element that contains the matching text
Anton Khodakivskiy [Tue, 23 Apr 2013 22:10:04 +0000 (01:10 +0300)]
Closes #102. Fixed bug that was causing issues with markers for some elements
Anton Khodakivskiy [Sat, 6 Apr 2013 14:54:55 +0000 (07:54 -0700)]
Merge pull request #96 from LordJZ/develop-getelementrect
Fix Market.getElementRect function.
LordJZ [Sat, 6 Apr 2013 14:40:12 +0000 (18:40 +0400)]
Fix Market.getElementRect function.
The current coffee code compiles to the following javascript code:
if (computedStyle.getPropertyValue('float' !== 'none' || computedStyle.getPropertyValue('position' === 'absolute'))) {
if (childRect = getElementRect(childElement)) {
childRect;
}
}
return void 0;
That is obviously not the expected behavior.
LordJZ [Sat, 6 Apr 2013 13:08:36 +0000 (17:08 +0400)]
Add markers for embedded objects.
This partially fixes issue #92.
In click-to-play mode, <embed> objects can be activated via context menu: Alt, c.
Anton Khodakivskiy [Wed, 27 Mar 2013 13:48:11 +0000 (06:48 -0700)]
Merge pull request #89 from HJTP/master
Dutch locale
Floris [Wed, 27 Mar 2013 12:12:04 +0000 (13:12 +0100)]
chrome.manifest and translation tweaks
Floris [Wed, 27 Mar 2013 11:54:38 +0000 (12:54 +0100)]
Dutch locale
Anton Khodakivskiy [Tue, 26 Mar 2013 23:43:36 +0000 (01:43 +0200)]
Merge branch 'release-0.4.6' into develop
Anton Khodakivskiy [Tue, 26 Mar 2013 23:43:03 +0000 (01:43 +0200)]
Merge branch 'release-0.4.6'
Anton Khodakivskiy [Tue, 26 Mar 2013 23:16:29 +0000 (01:16 +0200)]
Bumped version to 0.4.6 and updated README.md
Anton Khodakivskiy [Tue, 26 Mar 2013 23:37:45 +0000 (01:37 +0200)]
Closes #83. Added vf to focus elements.
yf is updated to focus links and copy contents of form text and textarea fields
Anton Khodakivskiy [Tue, 26 Mar 2013 22:47:08 +0000 (00:47 +0200)]
Merge branch 'native-find' into develop
Anton Khodakivskiy [Tue, 26 Mar 2013 22:46:37 +0000 (00:46 +0200)]
Closes #36, closes #42, closes #85.
Reimplemented find mode. This mode now has fully featured text input that will accepts CJK input.
It also uses nsIFind interfase which boosts searching performance.
Also added a shortcut to highlight all occurances of particular string on the page
Hint markers will now reach into iframes
Anton Khodakivskiy [Thu, 21 Mar 2013 14:22:34 +0000 (16:22 +0200)]
Researching
Anton Khodakivskiy [Wed, 20 Mar 2013 15:17:16 +0000 (17:17 +0200)]
Merge branch 'master' into develop
Anton Khodakivskiy [Wed, 20 Mar 2013 15:08:38 +0000 (17:08 +0200)]
Closes #82. VimFx key handling is disabled when a popupmenu or panel are shown
Anton Khodakivskiy [Wed, 20 Mar 2013 14:56:28 +0000 (16:56 +0200)]
Updated maximum Firefox versions
Anton Khodakivskiy [Tue, 12 Mar 2013 10:45:28 +0000 (12:45 +0200)]
Merge branch 'master' into develop
Anton Khodakivskiy [Tue, 12 Mar 2013 10:44:37 +0000 (12:44 +0200)]
Developer Toolbar shortcut hotfix
Anton Khodakivskiy [Tue, 12 Mar 2013 10:30:35 +0000 (12:30 +0200)]
Merge branch 'release-0.4.5' into develop
Anton Khodakivskiy [Tue, 12 Mar 2013 10:29:19 +0000 (12:29 +0200)]
Merge branch 'release-0.4.5'
Anton Khodakivskiy [Tue, 12 Mar 2013 10:29:05 +0000 (12:29 +0200)]
Bumped version to 0.4.5 and updated README.md
Anton Khodakivskiy [Sat, 2 Mar 2013 02:54:34 +0000 (04:54 +0200)]
Merge branch 'master' into develop
Anton Khodakivskiy [Sat, 2 Mar 2013 02:05:09 +0000 (18:05 -0800)]
Merge pull request #77 from grn/master
Don't close pinned tabs when pressing x
Grzegorz Niewisiewicz [Fri, 1 Mar 2013 17:26:04 +0000 (18:26 +0100)]
Don't close pinned tabs when pressing x
Firefox doesn't allow closing pinned tabs with a GUI button nor by
pressing Ctrl+W. This commit introduces similar behaviour in VimFx.
Pinned tabs won't be closed by pressing x.
Anton Khodakivskiy [Thu, 28 Feb 2013 10:38:39 +0000 (12:38 +0200)]
Closes #71. Collon will open Developer Toolbar, Esc will close it
The latter can be disabled in properties
Anton Khodakivskiy [Thu, 28 Feb 2013 06:38:43 +0000 (08:38 +0200)]
Closes #73. Removed build.sh in favor of Makefile
Anton Khodakivskiy [Wed, 27 Feb 2013 23:38:44 +0000 (01:38 +0200)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Wed, 27 Feb 2013 23:30:55 +0000 (01:30 +0200)]
Merge branch 'master' into develop
Anton Khodakivskiy [Wed, 27 Feb 2013 23:29:00 +0000 (01:29 +0200)]
Merge branch 'master' of github.com:akhodakivskiy/VimFx
Anton Khodakivskiy [Wed, 27 Feb 2013 23:28:44 +0000 (15:28 -0800)]
Merge pull request #74 from carno/makefile
Add Makefile as suggested in issue #73