Tuomo Valkonen <[EMAIL PROTECTED]> writes:
> On 2006-05-18, csant <[EMAIL PROTECTED]> wrote:
>> Yes, that fixed it:
>
> Now I just need a darcs patch...
Here it is, sir :-)
New patches:
[Use -lm and -ldl in the test for -llua
[EMAIL PROTECTED] {
hunk ./configure.ac 247
+AC_CHECK_LIB([m], [exp], [lua_extra_libs="$lua_extra_libs -lm"], [])
+AC_CHECK_LIB([dl], [dlopen], [lua_extra_libs="$lua_extra_libs -ldl"], [])
hunk ./configure.ac 251
- [LUA_LIBS="$LUA_LIBS -llua$with_lua_suffix"],
+ [LUA_LIBS="$LUA_LIBS -llua$with_lua_suffix $lua_extra_libs"],
hunk ./configure.ac 254
- [$LUA_LIBS])
-AC_CHECK_LIB([dl], [dlopen], [lua_extra_libs="$lua_extra_libs -ldl"], [])
-AC_CHECK_LIB([m], [exp], [lua_extra_libs="$lua_extra_libs -lm"], [])
+ [$LUA_LIBS $lua_extra_libs])
}
Context:
[bugfix in lua 5.1 + other usefull checks
[EMAIL PROTECTED]
The test for the liblua version was completely buggy. Sorry.
Tests added for other headers:
X11/SM/SMlib.h, X11/Xresource.h and libintl.h
(with error messages pointing to the name of Debian packages)
Test for xmessage (with a warning only, since ion can probably still
work without xmessage)
]
[Update configure.ac for lua 5.1
[EMAIL PROTECTED]
[sigusr2
Sergej Pupykin <[EMAIL PROTECTED]>**20060516183934
Allows to create lua hook for SIGUSR2.
Can be usefull (for example) for status line changing from media player...
Usage example:
ioncore.get_hook("ioncore_sigusr2_hook"):add(
function(reg)
mod_statusbar.inform("status_name", "SIGUSR2 catched")
mod_statusbar.update()
end
)
]
[README etc. updates.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060516173216]
[Fixed string.gsub issues with Lua 5.1.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060516172437
Lua 5.0:
"... If the value returned by this function is a string, then it is
used as the replacement string; otherwise, the replacement string is the
empty string."
Lua 5.1:
"If the value returned by the table query or by the function call is a string
or a number, then it is used as the replacement string; otherwise, if it is
false or nil, then there is no replacement (that is, the original match is
kept in the string)."
]
[Few more missing table-iteration changes.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060516162001]
[lua5.1 incompatible changes
Etan Reisner <[EMAIL PROTECTED]>**20060324001923
The _LOADED variable became package.loaded.
The contents of lualib were merged into lua itself, so remove -llualib from the build line.
Debian now uses pkg-config for the lua stuff not lua-config.
]
[lua5.1 backwards compatible changes
Etan Reisner <[EMAIL PROTECTED]>**20060324000942
Whether intentional or not lua 5.1 no longer allows
tab={}
for k,v in tab do
...
end
and requires
for k,v in pairs(tab) do
...
end
instead.
]
[Do not spew out stack traces all the time when warn() is called.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060506211848]
[framed_transients is on by default now.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060426174917]
[Added WFrame.toplevel and WMPlex.toplevel binding maps.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060426174521
- These are not used by frames for transients.
- Changed the default bindings accordingly.
]
[Added toggle for showing tab numbers.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060422160831
- WFrame:set_numbers with the usual 'set'/'unset'/'toggle' parametrisation.
]
[Removed obsolete references to -i18n flag.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060420191909]
[The frame_add_last option had been broken.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060413220508
- Since switching to use of placeholders for initial management
setup, the flag was no longer checked.
]
[Added stuff for accessing regions with activity/urgency bit set.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060402193647]
[Extended Mod1+K K binding.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060402193345
- Go to first region demanding attention or previously active region:
"ioncore.activity_goto() or ioncore.goto_previous()".
]
[Separated and cleaned up some stacking code from mod_floatws.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060401143807]
[Changes in default_ws_type lookup.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060331181416]
[Use SIZEPOLICY_FULL_BOUNDS for client windows in mplexes.
Tuomo Valkonen <[EMAIL PROTECTED]>**20060328201807
- Needed to communicate available area for transients.
]
[TAG ion-3ds-20060326
Tuomo Valkonen <[EMAIL PROTECTED]>**20060326093710]
Patch bundle hash:
2bc8fda4d878d6b6313f4d1a08fddbdfc4b1c032
--
Matthieu