luakit release 2026.04.04

Summary of changes since 2010.12.25-r2
Added by Mason Larobina 11 months ago

Summary of changes since 2010.12.25-r2:

  • All "chrome" pages now use the luakit:// scheme
  • Bookmarks now accessed via luakit://bookmarks
  • Moved bookmark binds into lib/bookmarks.lua
  • Pass WebKitHitTestResult to every webview button signal (to detect clicking on link, image, media, selection or editable elements (or a combination thereof))
  • Now possible to detect double clicking on GTK widgets or in the webview
  • The "form-active" & "root-active" signals are now raised in lua (previously the webview button callback functions)
  • Move all mouse binds to "all" mode
  • Ignore middle clicks in editable elements (thanks to the button signal context table)
  • Revert fancy domain/ip matching in search_open window method (doesn't play nice unicode characters). Now the function checks for a single argument with '.' or '/' characters (to detect a uri)
  • Add sqlite3 library which allows you to open, create and or query sqlite3 databases from lua
  • Save history with sqlite3 databases
  • View history via luakit://history (with search & pagination support)
  • Add helper method w:activate() which simulates an Enter press in the command input bar
  • Update domain property example for user stylesheets (needs a file:// for local resources)
  • Bug fixes in lib/follow.lua (non-visible labels in some locales and placing labels outside the viewport)
  • Add :bookmarks command to open luakit://bookmarks
  • Re-factored lib/follow.lua JavaScript code to make it easier to debug
  • Move the label making function outside of the JavaScript in lib/follow.lua so that users can write custom functions to modify the label order, sorting and or text
  • Add webview method to return a table of light userdata (pointers) to the currently visible frames in the webview (to allow us to execute JavaScript on any specific frame and allows reliable link hinting across frames)
  • Add 0 and $ vim-like scrolling binds
  • Fix Makefile partial building issue
  • Add optional proxy indicator widget to status bar (integrated with lib/proxy.lua)
  • Fixed webkit downloads to include referrer (and cookie headers) when making download request
  • Open link in new background tab when Control clicked
  • Parse luakit startup uris with search_open function (allows luakit "imdb Patrick Stewart")
  • Bugfix: found package module was left on lua stack after lua environment init
  • Indicate failed search with red input bar (changeable in users theme)
  • Stop timers when downloads not running
  • Merge speed_timer & status_timer in lib/downloads.lua
  • Fixed clearing of hints on navigate
  • Remove deprecated Lua 5.0 argument syntax in lousy.util.join
  • Add soup library which allows you to add cookies directly into the custom LuakitCookieJar and attach signals to update a cookie database when new cookies are added or deleted from the jar. The second aspect of the soup library is it's authentication signals and auth dialog
  • Modifications made to the formfiller script which allows saving/loading of http authentication credentials
  • Modified signal_object_emit function to allow signals to return values
  • Fixed bug in luaH_object_emit_signal which cause premature exiting of signal callback executing when nret was 0
  • Add search_open case for about:blank
  • Add lua mode (I.e. a cut down lua code prompt, so no multi-line input or result printing in the window yet)
  • Move common GObject property setting/getting code into common/property.c
  • The lib/cookies.lua library which saves all cookies in a sqlite3 database uses the mozilla cookies schema (if you so desire it you can use your firefox cookies in luakit or even share a cookies database between browsers)
  • Add :tabhistory menu to navigate (or open in new tabs/windows) the current tabs history
  • Add luakit.time() function to return nanosecond precision time (needed for cookie timestamps)
  • Move all libsoup properties in the webview properties table to a properties table in the soup library
  • Use pkg-config and conditional statements in the Makefile config to auto-detect the correct lua-5.1 spec-file name and check most dependencies are installed
  • Set correct file permissions on installed files (lua scripts don't need a +x)
  • Compile luakit with USE_LUAJIT=1 make option to use the Just-In-Time compiler for Lua. Increases performance on lua-bound operations by a large amount. See http://luajit.org and http://luajit.org/performance.html for more information about LuaJIT
  • Add lousy.util.table.values to clone a table with all values as array items
  • Load hosts from /etc/hosts for use by search_open
  • Check for file in filesystem in search_open
  • Add view:can_go_back() and view:can_go_forward() webview methods
  • Add a vimperator-like history position indicator in the statusbar
  • Add two lib/follow.lua label making options: reverse labels & sort labels (after reverse). In some cases reversed labels can equate to less key presses
  • Refactor clib/download.c to return meaningful download error messages
  • Add options to disable /etc/hosts loading or checking for filepaths in search_open
  • Make lousy.bind.match_* functions return false on no match
  • Make add_cmds(...) function a wrapper around add_binds("command", ...)
  • Ignore blank commands (not error)
  • Detect bangs in commands (I.e. :command! args) and set opts.bang to true when bang detected
  • Update binds to use bang syntax
  • w:close_win now emits "can-close" signal to check if it can close the last window (so far it will only prevent you from closing if downloads are running)
  • Make w.mode table immutable & get current mode name from w.mode.name
  • Add mode options "passthrough", "reset_on_focus" & "reset_on_navigation" which removes the need to check for mode options/features by mode name
  • Emit "root-active" signal on button release (fixes some bugs when clicking on links/buttons from insert mode and missing the button because the "-- INPUT --" prompt is hiding)
  • Possible fix for the opening two windows bug: forgot to return true in "new-window-decision" signal when opening new tab
  • Allow focus events to be caught
  • Use lua_toboolean to check signal return types (otherwise if a user returns a non-boolean type the lua error function will longjmp leaving the incorrect value on the stack)
  • Add lousy.uri module for parsing uris and converting uri query components into tables for easy getting/setting of "?a=b&c=d" options
  • Use cookie domain matching rules in domain props
  • Modify chrome rule patterns to match against host/path only (ignoring scheme as only luakit:// schemes will be checked)
  • Add lousy.util.table.copy which is similar to table.clone but it also copies the metatable (useful for cloning some class instances)
  • os.exists(path) returns path if found
  • Add luakit.dev_paths for use by lua scripts
  • Set window icon by default on all windows
  • Modify luakit.spawn to allow a callback function for when the process terminates (could be useful for external editing scripts)
  • Add missing luaH_object_gc calls in clib/download.c and clib/timer.c
  • Successfully made luakit more awesome

More information can be found in the git commit logs.

You can browse the luakit-2011.04.04 source code here:

https://github.com/mason-larobina/luakit/tree/2011.04.04

Or download the luakit-2011.04.04 source tarball from here:

https://github.com/mason-larobina/luakit/tarball/2011.04.04

Special thanks to the following people for contributing to this release: André Aparício, Chris van Dijk, Fabian Streitel, HarryD, Javier Rojas, Pete Elmore, Piotr Husiatyński, Stjujsckij Nickolaj and Vasuvi.


Comments

Added by Sultenahas Sultenahas 14 days ago

I like the way you described the topic with such clarity. This is something I have been thinking about for a long time and you really captured the essence of the subject.
Water Damage Los Angeles

Added by Plentyseven Plentyseven 14 days ago

Thanks for this exciting post. It is well written and has some great content. Do you have any others that I can go to about this subject?
buy backlinks

Added by Almidintozero Almidintozero 13 days ago

Your post had provided me with another point of view on this topic. I had no idea that things can work in this manner as well. Thank you for sharing your perspective.
phlebotomist salary

Added by Hivigilos Hivigilos 10 days ago

This post is helpful with an analysis I am doing for a specific group of people. Do you have any other articles to suggest on this topic? Thanks
Ressler Harold

Added by Rendonfiter Rendonfiter 8 days ago

This is a terrific article, and I would like more information if you have any. I am fascinated with this topic and your post has been one of the best I have read.
car shipping rates

Added by allcott almond 5 days ago

They were so imaginative and also powerful at getting their message across
write my research papers || custom essay writing || Buy custom essay papers