The focus for this release has been a re-work of the Lua API to make it more human readable and Lua-like.
We also have WebKitWebInspector support for the first time and several other
performance and stability improvements.
GtkVPaned/GtkHPaned widgets (construct with "vpaned"
& "hpaned").:pack_{start,end} methods replaced with :pack(widget [, {
options }]).GtkBin widgets now have a settable/gettable .child property.GtkContainer widgets now have .children property. Removed
:get_children methods where implemented.label widget :set_{alignment,padding} methods with .align and
.padding properties. Set with label.align = { x = 0.5, y = 1.0 }.label widget :set_width method with .width int property.notebook & entry widgets :append methods. Made :insert
methods work like table.insert (append when no index arg given).webview widget :{get,set}_scroll_{horiz,vert} methods with
.scroll table with settable/gettable .x .y .xmax .ymax .xpage_size
.ypage_size properties.luakit.{set,get}_selection functions with .selection table with
settable/gettable .primary .secondary .selection properties. Clearing
selections is simple with luakit.selection.primary = nil.socket:add_id method with .id property.socket.is_plugged to .plugged.notebook:atindex(idx) method with notebook[idx].os.abspath(path) turns relative paths into absolute paths.WebKitWebView and WebKitWebSettings properties are now set/get
directly on the view instance. For example:
view:set_property("enforce-96-dpi", true) is now view.enforce_96_dpi =
true.soup:{get,set}_property functions have been removed and
properties are now set directly on the soup module.window:set_screen method with settable/gettable .screen
property.window:{fullscreen,unfullscreen,maximize,unmaximize} methods with
settable/gettable .fullscreen .maximized properties.webview:{get,set}_view_source method with .view_source
property.luakit.webkit_{major,micro,minor}_version with concatenated
"major.micro.minor" version string. Likewise with
luakit.webkit_user_agent_{major,minor}_version.luakit.get_special_dir(ATOM) function. Added small xdg module
with .{cache,config,data,desktop,documents,download,..}_dir fields
pointing to their respective $XDG_???_DIR paths.window.urgency_hint property..visible property to all widgets.webview:{show,close}_inspector to show/hide the WebKitWebInspector.extras/convert_formfiller.rb.;B and quickmark follow mode ;M[a-zA-Z0-9].follow.styles.upper which makes all hints upper-case and the matching
process case-insensitive.;S.globals.homepage in binds.lua. Allows user to edit
homepage anywhere in their rc.lua.info() messages to stdout..view property dynamically points to the current visible webview
widget in the notebook of that window. Also caches result cutting out a huge
number of unnecessary calls to the old w:get_current()."(KHTML, like Gecko)" to the default useragent to make Google Plus and
other websites work with luakit out of the box.YYYY.MM.DD format.:noh[lsearch] command to un-highlight the last search results.domain_props table updated to use the new view.<property-name> form.session file in xdg.data_dir. As per XDG spec: cache dir is only
for non-essential files.lousy.util.mkdir paths.luaH_rawfield function returns 1 if given table field is non-nil.token_tostring function returns the string literal for each
luakit_token_t token.luaH_{class,object}_property_signal functions give us simple emitting
of class and object "property::name" signals.Content-Type soup header to determine the mime-type of
WebkitDownload files.luakit_token_t to widget constructor, index and newindex functions.UNUSED(arg) macro to silence compiler warnings about unused arguments.luakit_token_t
tokens directly. Faster lookups, cleaner code.luakit_token_t tokens & add class property
signal emitting functiluaH_unique_is_running ping the other instance to ensure it
is running/responding. Several reports of unique.is_running() returning
true when it clearly shouldn't causing luakit to quit.javascriptcoregtk-1.0 package after WebKitGtk+ split into
two packages.widgets/common.{c,h}.GOBJECT_TO_LUAKIT_WIDGET macro to convert GObject into widget_t*
widget struct in all signal callbacks.g_object_set_data call which saves the widget_t* pointer in
each GObject to the luaH_widget_set_type function.luaH_hasitem, luaH_isloop & luaH_isloop_check
functions (from the awesomewm codebase).
You can download luakit-2012.03.25 in either
zip or
tar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/mason-larobina/luakit