+2009-01-09 22:19 UTC Tuomo Valkonen <tuomov@iki.fi>
+ tagged ion-3-20090110
+
+2009-01-09 22:19 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Release notes
+
+2009-01-09 22:17 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Year changed
+
+2008-12-30 17:11 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Apply FRAME_SHADED_TOGGLE hack in WFrame.maximize_vert
+ for correct unshaded size hints to rqgeom handlers.
+
+2008-11-16 10:56 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * A few strings were missing translation wrapper
+
+2008-11-15 16:02 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Shouldn't open queries in frame if message box is open.
+
+2008-11-15 16:01 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * WMPlex focus code fixes/improvements.
+ (Once again, maybe... this being focus code we're talking about.)
+
+2008-11-10 16:49 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Oops
+
+2008-11-06 22:54 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * PHOLDER_ATTACH_RETURN_CREATEROOT flag to pholder_do_attach.
+ It's a non-API breaking hack that allows the unsqueeze code
+ to find out the root of the created hierarchy, instead of
+ just the attached client window being returned. This way
+ windows are unsqueezed in their newly created frames.
+
+2008-11-03 22:07 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Unsqueeze fixes
+
+2008-10-16 14:20 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * Oops
+
+2008-10-16 13:55 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * WInfoWin.set_text didn't check for null string
+ (that user scripts can pass to it).
+
+2008-10-09 17:50 UTC Tuomo Valkonen <tuomov@iki.fi>
+ * ioncore_warn_nolog uses usual warn if not in OPMODE_INIT.
+
2008-10-02 15:29 UTC Tuomo Valkonen <tuomov@iki.fi>
tagged ion-3-20081002
-Copyright (c) Tuomo Valkonen 1999-2008.
+Copyright (c) Tuomo Valkonen 1999-2009.
Unless otherwise indicated in components taken from elsewhere, this software
is licensed under the GNU Lesser General Public License, version 2.1 ("LGPL",
Ion
===
-Copyright (c) Tuomo Valkonen 1999-2008.
+Copyright (c) Tuomo Valkonen 1999-2009.
tuomov at iki.fi
+ion-3-20090110
+--------------
+
+This is yet another maintenance release.
+
+
ion-3-20081002
--------------
/*
* config.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/brush.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/brush.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/colour.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/colour.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/draw.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/font.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/font.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/fontset.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/init.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/init.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/private.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/style.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/de/style.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
Context:
-[TAG ion-3-20081002
-Tuomo Valkonen <tuomov@iki.fi>**20081002152911]
+[TAG ion-3-20090110
+Tuomo Valkonen <tuomov@iki.fi>**20090109221932]
/*
* ion/ion/ion.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/activity.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/activity.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/attach.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/attach.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/basicpholder.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/basicpholder.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/binding.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/binding.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/bindmaps.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/bindmaps.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/classes.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/clientwin.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/clientwin.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/colormap.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/colormap.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/common.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/conf-bindings.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/conf-bindings.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/conf.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/conf.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/cursor.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/cursor.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/detach.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
void do_unsqueeze(WRegion *reg)
{
WSizeHints h;
- WRegion *mgr=REGION_MANAGER(reg);
if(OBJ_IS(reg, WScreen))
return;
}
ioncore_detach(reg, SETPARAM_SET);
-
- if(REGION_MANAGER(reg)==mgr)
- return;
-
- do_unsqueeze(reg);
}
void ioncore_unsqueeze(WRegion *reg, bool override)
{
if(ioncore_g.unsqueeze_enabled || override)
- do_unsqueeze(region_groupleader_of(reg));
+ do_unsqueeze(reg);
}
/*
* ion/ioncore/detach.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/dummywc.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/event.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/event.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/eventh.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/eventh.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/exec.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/exec.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/extlconv.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/extlconv.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/extlrx.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/float-placement.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/float-placement.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/focus.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/focus.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame-draw.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame-draw.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame-pointer.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame-pointer.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/frame.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/framedpholder.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
watch_setup(&ph->frame_watch, (Obj*)frame, NULL);
}
- return ap.reg_ret;
+ return (flags&PHOLDER_ATTACH_RETURN_CREATEROOT
+ ? (WRegion*)frame
+ : ap.reg_ret);
}
/*
* ion/ioncore/framedpholder.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/framep.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/fullscreen.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/fullscreen.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/global.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/gr-util.h
*
- * Copyright (c) Tuomo Valkonen 2007-2008.
+ * Copyright (c) Tuomo Valkonen 2007-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/gr.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/gr.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
* ion/ioncore/grab.c
*
* Copyright (c) Lukas Schroeder 2002,
- * Tuomo Valkonen 2003-2008.
+ * Tuomo Valkonen 2003-2009.
*
* See the included file LICENSE for details.
*
* ion/ioncore/grab.h
*
* Copyright (c) Lukas Schroeder 2002,
- * Tuomo Valkonen 2003-2008.
+ * Tuomo Valkonen 2003-2009.
*
* See the included file LICENSE for details.
*
/*
* ion/ioncore/group-cw.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/group-cw.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/group-ws.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/groupws.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/group.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/group.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/grouppholder.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
{
WRegionAttachData data2;
WPHolder *root, *rph;
- WGroup *grp;
+ WRegion *res;
RP rp;
rp.ph_head=get_head(ph);
data2.u.n.fn=recreate_handler;
data2.u.n.param=&rp;
- grp=(WGroup*)pholder_do_attach(rph, flags, &data2);
+ res=pholder_do_attach(rph, flags, &data2);
- if(grp!=NULL){
- assert(OBJ_IS(grp, WGroup));
+ if(res!=NULL){
rp.ph_head->recreate_pholder=NULL;
/* It might be in use in attach chain! So defer. */
mainloop_defer_destroy((Obj*)rph);
}
- return rp.reg_ret;
+ return (flags&PHOLDER_ATTACH_RETURN_CREATEROOT
+ ? (WRegion*)res
+ : rp.reg_ret);
}
/*
* ion/ioncore/grouppholder.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/infowin.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
{
bool set=FALSE;
- if(maxw>0 && p->brush!=NULL){
- char *tmp=grbrush_make_label(p->brush, str, maxw);
- if(tmp!=NULL){
- infowin_do_set_text(p, tmp);
- free(tmp);
- set=TRUE;
+ if(str==NULL){
+ INFOWIN_BUFFER(p)[0]='\0';
+ }else{
+ if(maxw>0 && p->brush!=NULL){
+ char *tmp=grbrush_make_label(p->brush, str, maxw);
+ if(tmp!=NULL){
+ infowin_do_set_text(p, tmp);
+ free(tmp);
+ set=TRUE;
+ }
}
+
+ if(!set)
+ infowin_do_set_text(p, str);
}
- if(!set)
- infowin_do_set_text(p, str);
-
infowin_resize(p);
/* sometimes unnecessary */
/*
* ion/ioncore/infowin.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/ioncore.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
static const char *progname="ion";
static const char ioncore_copy[]=
- "Ion " ION_VERSION ", copyright (c) Tuomo Valkonen 1999-2008.";
+ "Ion " ION_VERSION ", copyright (c) Tuomo Valkonen 1999-2009.";
static const char ioncore_license[]=DUMMY_TR(
"This software is licensed under the GNU Lesser General Public License\n"
va_list args;
va_start(args, str);
- fprintf(stderr, "%s: ", libtu_progname());
- vfprintf(stderr, str, args);
- fprintf(stderr, "\n");
+
+ if(ioncore_g.opmode==IONCORE_OPMODE_INIT){
+ fprintf(stderr, "%s: ", libtu_progname());
+ vfprintf(stderr, str, args);
+ fprintf(stderr, "\n");
+ }else{
+ warn_v(str, args);
+ }
+
va_end(args);
}
}
if(mbtowc(NULL, NULL, 0)!=0){
- warn("Statefull encodings are unsupported.");
+ warn(TR("Statefull encodings are unsupported."));
return FALSE;
}
return TRUE;
integr_err:
- warn("Cannot verify locale encoding setting integrity "
- "(LC_CTYPE=%s, nl_langinfo(CODESET)=%s). "
- "The LC_CTYPE environment variable should be of the form "
- "language_REGION.encoding (e.g. en_GB.UTF-8), and encoding "
- "should match the nl_langinfo value above.", ctype, langi);
+ warn(TR("Cannot verify locale encoding setting integrity "
+ "(LC_CTYPE=%s, nl_langinfo(CODESET)=%s). "
+ "The LC_CTYPE environment variable should be of the form "
+ "language_REGION.encoding (e.g. en_GB.UTF-8), and encoding "
+ "should match the nl_langinfo value above."), ctype, langi);
return FALSE;
}
/*
* ion/ioncore/focus.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
--
-- ion/share/ioncore-bindings.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_efbb.lua -- Minimal emergency fallback bindings.
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_ext.lua -- Ioncore Lua library
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_luaext.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/ioncore/ioncore_menudb.lua -- Routines for defining menus.
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_misc.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_quasiact.lua -- Frame quasiactivation support
--
--- Copyright (c) Tuomo Valkonen 2007-2008.
+-- Copyright (c) Tuomo Valkonen 2007-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_tabnum.lua -- Ioncore tab numbering support
--
--- Copyright (c) Tuomo Valkonen 2007-2008.
+-- Copyright (c) Tuomo Valkonen 2007-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_wd.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/share/ioncore_winprops.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
/*
* ion/ioncore/kbresize.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/kbresize.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/key.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/key.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/llist.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/llist.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/manage.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
WPHolder *ph=NULL;
int swf=(param->switchto ? PHOLDER_ATTACH_SWITCHTO : 0);
bool ok, uq=FALSE;
+ WRegion *createroot=NULL;
/* Find a suitable screen */
scr=clientwin_find_suitable_screen(cwin, param);
return FALSE;
/* Not in full-screen mode; use the placeholder to attach. */
-
- ok=pholder_attach(ph, swf, (WRegion*)cwin);
-
+ {
+ WRegionAttachData data;
+ data.type=REGION_ATTACH_REPARENT;
+ data.u.reg=(WRegion*)cwin;
+
+ createroot=pholder_do_attach(ph,
+ swf|PHOLDER_ATTACH_RETURN_CREATEROOT,
+ &data);
+ }
+
destroy_obj((Obj*)ph);
- if(uq && ok)
- ioncore_unsqueeze((WRegion*)cwin, FALSE);
+ if(uq && createroot!=NULL)
+ ioncore_unsqueeze(createroot, FALSE);
- return ok;
+ return (createroot!=NULL);
}
/*
* ion/ioncore/manage.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/modules.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/modules.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/mplex.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/* 1. Try keep focus in REGION_ACTIVE_SUB.
- * 2. Try given `node`.
- * 3. Choose something else, attempting previous in focus history
- * (unless `node` was set).
+ * 2. Choose something else, attempting previous in focus history.
*/
-static WStacking *mplex_to_focus(WMPlex *mplex, WStacking *node)
+static WStacking *mplex_to_focus(WMPlex *mplex)
{
WStacking *foc=NULL, *fallback=NULL;
WRegion *reg=NULL;
- bool within=FALSE;
- WStacking *st;
foc=maybe_focusable(REGION_ACTIVE_SUB(mplex));
- if(foc==NULL && node==NULL){
+ if(foc==NULL){
/* Search focus history if no specific attempt set.*/
for(reg=ioncore_g.focus_current; reg!=NULL; reg=reg->active_next){
foc=has_stacking_within(mplex, reg);
}
if(foc!=NULL){
- /*fallback=mplex_find_to_focus(mplex, foc, NULL, NULL);*/
/* In the history search case, 'foc' might point to a group,
* since we don't properly try to find a stacking within it...
*/
- fallback=mplex_do_to_focus_on(mplex, foc, NULL, NULL, NULL);
- if(fallback!=foc)
- foc=NULL;
+ return mplex_do_to_focus_on(mplex, foc, NULL, NULL, NULL);
+ }else{
+ return mplex_find_to_focus(mplex, NULL, NULL, NULL);
}
-
- if(foc==NULL && node!=NULL)
- foc=mplex_do_to_focus_on(mplex, node, NULL, NULL, &within);
-
- if(foc==NULL || !within)
- foc=fallback;
-
- return foc;
}
void mplex_do_set_focus(WMPlex *mplex, bool warp)
{
if(!MPLEX_MGD_UNVIEWABLE(mplex)){
- WStacking *st=mplex_to_focus(mplex, NULL);
+ WStacking *st=mplex_to_focus(mplex);
if(st==NULL){
st=(mplex->mx_current!=NULL
static void mplex_refocus(WMPlex *mplex, WStacking *node, bool warp)
{
- WStacking *foc=mplex_to_focus(mplex, node);
+ bool within=FALSE;
+ WStacking *foc=NULL;
+
+ if(node!=NULL)
+ foc=mplex_do_to_focus_on(mplex, node, NULL, NULL, &within);
+
+ if(foc==NULL || !within)
+ foc=mplex_to_focus(mplex);
if(foc!=NULL)
region_maybewarp(foc->reg, warp);
/*
* ion/ioncore/mplex.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/mplexpholder.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
WRegionAttachData data2;
WFramedPHolder *fph;
WPHolder *root;
- WRegion *frame;
+ WRegion *res;
RP rp;
rp.ph_head=get_head(ph);
data2.u.n.fn=recreate_handler;
data2.u.n.param=&rp;
- frame=pholder_do_attach(fph->cont, flags, &data2);
+ res=pholder_do_attach(fph->cont, flags, &data2);
- if(frame!=NULL){
+ if(res!=NULL){
rp.ph_head->recreate_pholder=NULL;
/* It might be in use in attach chain! So defer. */
mainloop_defer_destroy((Obj*)fph);
}
- return rp.reg_ret;
+ return (flags&PHOLDER_ATTACH_RETURN_CREATEROOT
+ ? (WRegion*)res
+ : rp.reg_ret);
}
/*
* ion/ioncore/mplexpholder.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/mwmhints.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/mwmhints.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/names.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/names.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/navi.c
*
- * Copyright (c) Tuomo Valkonen 2006-2008.
+ * Copyright (c) Tuomo Valkonen 2006-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/navi.h
*
- * Copyright (c) Tuomo Valkonen 2006-2008.
+ * Copyright (c) Tuomo Valkonen 2006-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/netwm.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/netwm.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/pholder.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/pholder.h
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
#define PHOLDER_ATTACH_SWITCHTO 0x0001
+#define PHOLDER_ATTACH_RETURN_CREATEROOT 0x0002
/* Note: PHolders should be destroyed by their acquirer. */
/*
* ion/ioncore/pointer.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/pointer.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/presize.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/presize.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/property.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/property.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/rectangle.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/rectangle.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/regbind.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/regbind.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/reginfo.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/reginfo.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/region-iter.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/region.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/region.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/resize.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
int oy, oh;
if(frame->flags&FRAME_SHADED || frame->flags&FRAME_MAXED_VERT){
+ if(frame->flags&FRAME_SHADED)
+ frame->flags|=FRAME_SHADED_TOGGLE;
if(frame->flags&FRAME_SAVED_VERT)
rqh(frame, frame->saved_y, frame->saved_h);
- frame->flags&=~(FRAME_MAXED_VERT|FRAME_SAVED_VERT);
+ frame->flags&=~(FRAME_MAXED_VERT|FRAME_SAVED_VERT|FRAME_SHADED_TOGGLE);
return;
}
/*
* ion/ioncore/resize.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/return.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/return.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/rootwin.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/rootwin.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/saveload.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/saveload.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/screen-notify.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/screen-notify.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/screen.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/screen.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/selection.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/selection.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/sizehint.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/sizehint.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/sizepolicy.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/sizepolicy.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/stacking.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/stacking.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/strings.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/strings.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/tags.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/tags.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/window.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/window.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/xic.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/xic.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/xwindow.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/ioncore/xwindow.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
Context:
-[lua 5.1 updates to mkexports
-Tuomo Valkonen <tuomov@iki.fi>**20080318210900]
-
[Do not remove proxy from cache in object destroy watch handler.
Tuomo Valkonen <tuomov@iki.fi>**20071215143858
The GC can remove it. Just have the pointer to the actual object be
-- Helper functions {{{
-function errorf(...)
- error(string.format(...), 2)
+function errorf(fmt, ...)
+ error(string.format(fmt, unpack(arg)), 2)
end
function matcherr(s)
error(string.format("Parse error in \"%s...\"", string.sub(s, 1, 50)), 2)
end
-function fprintf(h, ...)
- h:write(string.format(...))
+function fprintf(h, fmt, ...)
+ h:write(string.format(fmt, unpack(arg)))
end
function trim(str)
end
param=trim(param)
if string.len(param)>0 then
- for p in string.gmatch(param .. ",", "([^,]*),") do
+ for p in string.gfind(param .. ",", "([^,]*),") do
local spec, objtype, varname=parse_type(p)
idesc=idesc .. spec
table.insert(itypes, objtype)
/*
* ion/libmainloop/defer.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/libmainloop/defer.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mainloop/exec.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/libmainloop/exec.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mainloop/hooks.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mainloop/hooks.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/libmainloop/signal.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mainloop/signal.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
* Ion dock module
* Copyright (C) 2003 Tom Payne
* Copyright (C) 2003 Per Olofsson
- * Copyright (C) 2004-2008 Tuomo Valkonen
+ * Copyright (C) 2004-2009 Tuomo Valkonen
*
* by Tom Payne <ion@tompayne.org>
* based on code by Per Olofsson <pelle@dsv.su.se>
/*
* ion/mod_menu/grabmenu.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/main.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/main.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/menu.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/menu.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/mkmenu.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_menu/mkmenu.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
--
-- ion/mod_menu/mod_menu.lua -- Menu opening helper routines.
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
/*
* ion/mod_query/complete.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/complete.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/edln.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/edln.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/query.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/fwarn.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/history.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/history.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/input.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/input.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/inputp.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/listing.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/listing.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/main.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/main.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
--
-- ion/query/mod_query.lua -- Some common queries for Ion
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
wedln:complete('prev', 'normal')
end
- -- Check that no other queries are open in the mplex.
- local ok=mplex:managed_i(function(r)
- return not obj_is(r, "WEdln")
+ -- Check that no other queries or message boxes are open in the mplex.
+ local ok=mplex:managed_i(function(r)
+ return not (obj_is(r, "WEdln") or
+ obj_is(r, "WMessage"))
end)
if not ok then
return
--
-- ion/query/mod_query_chdir.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
/*
* ion/mod_query/query.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/query.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/wedln-wrappers.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/wedln.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/wedln.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/wmessage.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_query/wmessage.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_sm/sm.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_sm/sm_mathcwin.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* Based on the code of the 'sm' module for Ion1 by an unknown contributor.
*
/*
* ion/mod_sm/sm_mathcwin.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* Based on the code of the 'sm' module for Ion1 by an unknown contributor.
*
/*
* ion/mod_sm/sm_session.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* Based on the code of the 'sm' module for Ion1 by an unknown contributor.
*
/*
* ion/mod_sm/sm_session.h
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* Based on the code of the 'sm' module for Ion1 by an unknown contributor.
*
/*
* ion/mod_sp/main.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_sp/main.h
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/draw.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/draw.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/main.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/main.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
--
-- ion/mod_statusbar/mod_statusbar.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
/*
* ion/mod_statusbar/statusbar.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/statusbar.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_statusbar/statusd-launch.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/main.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/main.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
--
-- ion/mod_menu/mod_tiling.lua -- Tiling module stub loader
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- Ion is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License as published by
/*
* ion/mod_tiling/ops.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/panehandle.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/panehandle.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/placement.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/placement.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/split-stdisp.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/split-stdisp.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/split.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/split.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/splitext.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/splitfloat.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/tiling.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/mod_tiling/tiling.h
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/pwm/pwm.c
*
- * Copyright (c) Tuomo Valkonen 1999-2008.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/utils/ion-statusd/exec.c
*
- * Copyright (c) Tuomo Valkonen 2005-2008.
+ * Copyright (c) Tuomo Valkonen 2005-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/utils/ion-statusd/extlrx.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* See the included file LICENSE for details.
*/
/*
* ion/utils/ion-statusd/ion-statusd.c
*
- * Copyright (c) Tuomo Valkonen 2004-2008.
+ * Copyright (c) Tuomo Valkonen 2004-2009.
*
* See the included file LICENSE for details.
*/
static const char statusd_copy[]=
- "Ion-statusd " ION_VERSION ", copyright (c) Tuomo Valkonen 2004-2008.";
+ "Ion-statusd " ION_VERSION ", copyright (c) Tuomo Valkonen 2004-2009.";
static const char statusd_license[]=DUMMY_TR(
--
-- ion/mod_statusbar/ion-statusd/statusd_date.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/mod_statusbar/ion-statusd/statusd_load.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
--
-- ion/mod_statusbar/ion-statusd/statusd_mail.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2008.
+-- Copyright (c) Tuomo Valkonen 2004-2009.
--
-- See the included file LICENSE for details.
--
-#define ION_RELEASE "3-20081002"
+#define ION_RELEASE "3-20090110"
#define ION_VERSION ION_RELEASE
#define ION_API_VERSION "3"