Skip to content

Releases: fanglingsu/vimb

3.7.0

19 Jun 21:19
Compare
Choose a tag to compare

Added

  • The new env variable $VIMB_SELECTION is set to the current selected text
    whenever a shellcmd is run #592.
  • Allow to push link url to queue by <S-LeftMouse> #610.
  • Allow to decide if html5 notfication are allowed #651. New setting
    notification=[ask,always,never] added.
  • Add new env VIMB_WIN_ID var for :shellcmd which holds the own window id.
  • Focus last focused input elemnt on page via i - or first found element if
    none was focused before.
  • Completion with bookmarked urls for :qpush and qunshift.
  • Setting scroll-multiplier to allow for faster scrolling by mouse wheel.
  • Setting intelligent-tracking-prevention to enable WebKit's Intelligent
    Tracking Prevention (ITP).
  • Setting javascript-enable-markup to disable js markup instead of disabling
  • Setting status-bar-show-settings to enable showing indicators to currently
    applied setting. Can be configured via config.h file.
    #define COOKIE GET_CHAR(c, "cookie-accept")
    #define STATUS_VARAIBLE_SHOW "%c%c%c%c%c%c%c%c", \
      CHAR_MAP(COOKIE, "always", 'A', CHAR_MAP(COOKIE, "origin", '@', 'a')), \
      GET_BOOL(c, "dark-mode") ? 'D' : 'd', \
      vb.incognito ? 'E' : 'e', \
      GET_BOOL(c, "images") ? 'I' : 'i', \
      GET_BOOL(c, "html5-local-storage") ? 'L' : 'l', \
      GET_BOOL(c, "stylesheet") ? 'M' : 'm', \
      GET_BOOL(c, "scripts") ? 'S' : 's', \
      GET_BOOL(c, "strict-ssl") ? 'T' : 't'
    
    JavaScript in general.
  • Allow to push link url to queue by Shift-LeftMouse.
  • New hint mode ;k do remove hinted elements like advertisement from DOM.
  • Allow to map <PageUp> and <Pagedown> keys.

Changed

  • Modes some files from $XDG_CONFIG_HOME/vimb into $XDG_DATA_HOME/vimb #582.
    Following files are affected bookmark, closed, command, config,
    cookies.db, history, queue and search.
    Existing files could be moved to the new location by
    mv $XDG_CONFIG_HOME/vimb/{bookmark,closed,command,cookies.db,history,queue,search} \
        $XDG_DATA_HOME/vimb
    
    # and same for existing profiles
    mkdir $XDG_DATA_HOME/vimb/<ProfileName>
    mv $XDG_CONFIG_HOME/vimb/<ProfileName>/{bookmark,closed,command,cookies.db,history,queue,search} \
        $XDG_DATA_HOME/vimb/<ProfileName>
    
  • Dependency moved to webkit-gtk 4.1 and libsoup 3.0

Fixed

  • Fixed ignored last line in config file if this line did not end in newline.
  • Fixed crash in normal_focus_last_active (Thanks to Maxime Coste)
  • Fixed hint keys going to webview if the hinted element had no src-attribut
    (thanks to Maxime Coste)
  • Fixed erro in hinting on gitlab which caused the hints to have ho labels #659.
  • Prevent possible use after free in autocmd processing.

Removed

  • Expansion of % to the current opened URI for :shellcmd was removed
    because it breaks the x-hint-command with URIs containing '%'. But it is
    still possible to use $VIMB_URI for the :shellcmd which has the same
    effect.

3.6.0

02 Jan 22:28
Compare
Choose a tag to compare

Added

  • :cleardata [listOfDataTypes] [timeSpan] command to clear various types of
    stored website data modified in the last timeSpan.
  • Setting hint-match-element to allow to disable the hinting to filter hints
    by the elements text content. This is useful if 'hint-keys' are set the
    chars instead of numbers.
  • New autocmd event LoadStarting to run auto commands before the first page
    content is loaded (Thanks to Patrick Steinhardt).
  • Setting geolocation with values ('ask', 'always' and 'never') to allow the
    user to permit or disable geolcation requests by default (Thanks to Alva).
  • Setting dark-mode to switch the webview into dark mode, which might be
    picked up by pages media query to setup dark styling (Thanks to Alva).
  • Option --cmd, -C to run ex commands on startup.

Removed

  • :clearcache was removed in favor of more advanced :cleardata command.
    The previous behaviour of :clearcache could be replaces by
    :cleardata memory-cache,disk-cache.

Change summary

 14 files changed, 475 insertions(+), 117 deletions(-)

3.5.0

29 Jul 20:18
Compare
Choose a tag to compare

Added

  • Add external download command #543 #348.
  • Added ephemeral mode by new option --incognito #562.

Changed

  • Hinting shows the current focused elements URI in the statusbar.
  • Show error if printing with :hardcopy fails #564.

Fixed

  • Fixed compilation if source is not in a git repo (Thanks to Patrick Steinhardt).
  • Fixed partial hidden hint labels on top of screen.
  • Fix segfault on open in new tabe from context menu #556.
  • Fix "... (null)" shown in title during url sanitization.

Removed

  • Setting private-browsing was removed in favor of --incognito option.

Change summary

 19 files changed, 625 insertions(+), 136 deletions(-)

3.4.0

26 Mar 22:52
Compare
Choose a tag to compare

Added

  • Allow to show video in fullscreen, without statusbar and inputbox, if requested.
  • Added option --no-maximize to no start with maximized window #483.
  • New setting prevent-newwindow to enforce opening links into same window
    even if they are crafted by target="_blank" or using window.open(...) #544.

Changed

  • Increased min required webkit version to 2.20.x.
  • Use man page date instead of build date to make reproducible builds.
  • URLs shown on statusbar and title are now shown as punicode if they contain
    homographs.

Fixed

  • Fix out-of-bounds buffer access in parse_command (Thanks to Sören Tempel) #529.
  • Fixed none shown hint labels by Content-Security-Policy headers #531.
  • Fixed segfault on JavaScript window.close() call #537.
  • Fixed no char inserted in input mode after timeout and imap/inoremap
    candidate #546.

Change summary

19 files changed, 378 insertions(+), 129 deletions(-)

    27  Daniel Carl
     1  Bernhard M. Wiedemann
     1  Leonardo Taccari
     1  Leonid Bobrov
     1  Michael Vetter
     1  Sören Tempel
     1  Thomas Legris

3.3.0

06 Nov 22:36
Compare
Choose a tag to compare

Added

  • Allow to change following webkit settings during runtime
    • allow-file-access-from-file-urls
    • allow-universal-access-from-file-urls
  • Added #define CHECK_WEBEXTENSION_ON_STARTUP 1 to config.def.h to enable
    checks during runtime if the webextension file could be found. Hope that
    this helps user to fix compile/installation issues easier.
  • Re-Added support for page marks to jump around within long single pages by
    using names marks.
    Set a marks by m{a-z} in normal mode. Jump to marks by '{a-z}.
  • Re-Added gf to show page source (Thanks to Leonardo Taccari) #361.
    Webkit2 does not allow to show the page in the source view mode so the gf
    writes the HTML to a temporary files and opens it in the editor configured
    by :set editor-command=...

Changed

  • New created files in $XDG_CONFIG_HOME/vimb are generated with 0600
    permission to prevent cookies be observed on multi users systems. Existing
    files are not affected by this change. It's a good advice to change the
    permission of all the files in $XDG_CONFIG_HOME/vimb to 0600 by
    hand.

Fixed

  • Fixed missing dependency in Makefile which possibly caused broken builds
    (Thanks to Patrick Steinhardt).
  • Fixed weird scroll position values shown in scroll indicator on some pages #501.
  • Fixed wrong hint label position on xkcd.com #506.
  • Fixed wrong hint label position in case of hints within iframes.

Change summary

36 files changed, 773 insertions(+), 226 deletions(-)

    46  Daniel Carl
    14  Leonardo Taccari
     2  Virgil Dupras
     1  Allan Wind
     1  Konst Mayer
     1  Patrick Steinhardt

3.2.0

16 Jun 20:54
Compare
Choose a tag to compare

Added

  • Allow basic motion commands for hinting too.
  • Show the numbers of search matches in status bar.
  • Show dialog if the page makes a permission request e.g. gelocation to allow
    the user to make a decission.
  • new Setting show-titlebar to toggle window decorations.

Changed

  • Use sqlite as cookie storage #470 to prevent cookies lost on running many
    vimb instances.
  • Start vimb with maximized window #483.
  • Hints are now styled based on the vimbhint attributes. The old additional set
    classes are not set anymore to the hints. So customized css for the hints have
    to be adapted to this.
  • Element ID is stored in case the editor was spawned. So it's now possible to
    start the editor, load another page, come back and paste the edotor contents
    (thanks to Sven Speckmaier).

Fixed

  • Fixed none cleaned webextension object files on make clean.
  • Remove none used gui styling for completion.

Removed

  • Removed webkit1 combat code.

Change summary

    44  Daniel Carl
     5  George Bateman
     6  Sven Speckmaier
     1  Yutao Yuan

3.1.0

27 Mar 21:33
Compare
Choose a tag to compare

Added

  • Added completion of bookmarked URIs for ':bmr' to allow to easily remove
    bookmarks without loading the page first.
  • Refresh hints after scrolling the page or resizing the window which makes
    extended hint mode more comfortable.
  • Reintroduce the automatic commands from vimb2. An automatic command is
    executed automatically in response to some event, such as a URI being opened.

Changed

  • Number of webprocesses in no longer limited to one.
  • Treat hint label generation depending on the first hint-key char.
    If first char is '0' generate numeric style labels else the labels start with
    the first char (thanks to Yoann Blein).
    • 'hint-keys=0123' -> '1 2 3 10 11 12 13'
    • 'hint-keys=asdf' -> 'a s d f aa as ad af'
  • Show versions of used libs on 'vimb --bug-info' and the extension directory
    for easier issue investigation.
  • During hinting JavaScript is enabled and reset to it's previous setting after
    hinting is done might be security relevant.
  • Allow extended hints mode also for open 'g;o' to allow the user to toggle
    checkboxes and radiobuttons of forms.
  • Rename 'hint-number-same-length' into 'hint-keys-same-length' for consistency.
  • Search is restarted on pressing 'n' or 'N' with previous search query if no
    one was given (thanks to Yoann Blein).

Fixed

  • Deduced min required webkit version 2.16.x -> 2.8.x to compile vimb also on
    older systems.
  • Fixed undeleted desktop file on 'make uninstall'.
  • Fixed window not redrawn properly in case vimb was run within tabbed.
  • Fixed cursor appearing in empty inputbox on searching in case a normal mode
    command was used that switches vimb into command mode like 'T' or ':'.
  • Fixed hint labels never started by the first char of the 'hint-keys'.
  • Fixed items where added to history even when 'history-max-items' is set to 0
    (thanks to Patrick Steinhardt).
  • Fixed hinting caused dbus timeout on attempt to open URI with location hash.
  • Fixed wrong scroll position shown in the right of the statusbar on some pages.
  • Fixed vimb keeping in normal mode when HTTP Authentication dialog is shown.
  • Fixed password show in title bar and beeing written to hisotry in case the
    pssword was given by URI like https://user:[email protected].

Change summary

 .github/ISSUE_TEMPLATE.md        |   7 ++
 CHANGELOG.md                     |  59 ++++++++++++++-
 CONTRIBUTE.md => CONTRIBUTING.md |  32 +++++++-
 Makefile                         |  16 ++--
 README.md                        |  17 +++--
 config.mk                        |  17 +++--
 doc/vimb.1                       | 166 ++++++++++++++++++++++++++++++++++++----
 src/Makefile                     |  10 ++-
 src/autocmd.c                    | 487 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/autocmd.h                    |  50 +++++++++++++
 src/bookmark.c                   |  32 ++++----
 src/command.c                    |  38 ++++++++--
 src/config.def.h                 |   2 +
 src/ex.c                         |  47 +++++++++++-
 src/handler.c                    |   2 +-
 src/hints.c                      | 114 +++++++++++++++++++---------
 src/history.c                    |   7 +-
 src/input.c                      |   2 +-
 src/main.c                       | 349 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
 src/main.h                       |  20 +++--
 src/normal.c                     |  10 +--
 src/scripts/hints.js             | 224 +++++++++++++++++++++++++++++++++---------------------
 src/scripts/js2h.sh              |   8 +-
 src/setting.c                    |  14 ++--
 src/util.c                       | 245 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/util.h                       |   2 +
 src/webextension/Makefile        |   4 +-
 src/webextension/ext-main.c      |  37 +++++----
 tests/manual/hints.html          |  30 ++++++++
 29 files changed, 1692 insertions(+), 356 deletions(-)

    64  Daniel Carl
     1  Docbroke
     1  Patrick Steinhardt
     3  Robert Timm
     2  Rudis Muiznieks
     3  Yoann Blein

3.0-alpha

27 Mar 21:43
Compare
Choose a tag to compare
3.0-alpha Pre-release
Pre-release

Changed

  • completely rebuild of vimb on webkit2 api.
  • Syntax for the font related gui settings has be changed.
    Fonts have to be given as [ font-style | font-variant | font-weight | font-stretch ]? font-size font-family
    Example set input-font-normal=bold 10pt "DejaVu Sans Mono" instead of
    previous set input-fg-normal=DejaVu Sans Mono Bold 10
  • Renames some settings to consequently use dashed setting names. Following
    settings where changed.
    previous setting - new setting name
    --------------------------------------
    cursivfont       - cursiv-font
    defaultfont      - default-font
    fontsize         - font-size
    hintkeys         - hint-keys
    minimumfontsize  - minimum-font-size
    monofont         - monospace-font
    monofontsize     - monospace-font-size
    offlinecache     - offline-cache
    useragent        - user-agent
    sansfont         - sans-serif-font
    scrollstep       - scroll-step
    seriffont        - serif-font
    statusbar        - status-bar
    userscripts      - user-scripts
    xssauditor       - xss-auditor
    

Removed

  • There where many features removed during the webkit2 migration. That will
    hopefully be added again soon.
    • auto-response-headers
    • autocommands and augroups
    • external downloader
    • HSTS
    • kiosk mode
    • multiple ex commands on startup via --cmd, -C
    • page marks
    • prevnext
    • showing page source via gF this viewtype is not supported by webkit
      anymore.
    • socket support

Change summary

   157  Daniel Carl
     1  Ferenc-
     2  Joachim Desroches
     1  Michael Danilov
     6  Patrick Steinhardt
    44  Robert Timm
     8  Virgil Dupras

2.12

27 Mar 21:47
Compare
Choose a tag to compare

Added

  • Queueing of key events - fixes swalled chars in case of some imap bindings
    #258 (thanks to Michael Mackus)
  • Allow to disable xembed by FEATURE_NO_XEMBED to compile on wayland only
    platforms (thanks to Patrick Steinhardt)
  • Custom default_zoom setting disables HIGH_DPI logic (thanks to Robert Timm)
  • Allow link activation from search result via <CR> #131

Changed

  • Allow shortcuts without parameters #329
  • Write soup cache to disk after each page load to allow other instances to
    pick this up.
  • Use the beginning position of links for hinting (thanks to Yutao Yuan)

Fixed

  • Fix path expansion to accept only valid POSIX.1-2008 usernames (thanks to
    Manzur Mukhitdinov)
  • Fix default previouspattern (thanks to Nicolas Porcel)

Change summary

    17  Daniel Carl
     1  Frederic Cambus
     1  Manzur Mukhitdinov
     2  Matthew Parnell
     6  Michael Mackus
     1  Nicolas Porcel
     1  NotSpooky
     1  Patrick Steinhardt
     5  Robert Timm
     1  Yutao Yuan
     1  mix irving
     1  vlampreia