Tuomo Valkonen | 1 Jun 16:40 2003
Picon
Picon

ion-devel-20030601


A bug was discovered:

2003-06-01:
  * An off-by-one error in extl_l1_finalize caused references to some
    Lua tables (including large completions) never to be released.

It could be that this bug was causing some other errors in Lua as well.
Sometimes QueryLib bindings failed because some function generators
returned nil although they shouldn't. Adding dummy lines (!) in those
functions fixed the problem and for some reason this patch also seemed
to remove those problems.

One more note: as ioncorelib.lua and querylib.lua are now installed
in $SHAREDIR, you must remove the old files in $ETCDIR if installing
over a previous release or else there will be errors. You should also
not use any possible old copies you have in ~/.ion-devel/. (One of the
reasons for moving these to $SHAREDIR is to stop users from making
copies of them as they are not configuration files.)

--

-- 
Tuomo

Paul Pelzl | 2 Jun 07:07 2003
Picon

Re: ion-devel-20030601


This is the first Lua-based release that I've tried.  I think I will
like it. ;-)  Nice work as always, Tuomo.

At the moment I need to launch ion from the directory
/usr/local/ion-devel/lib/ion-devel/ , otherwise Lua complains that it
can't find the query, floatws, and ionws modules.  Did I miss a
configuration option somewhere that lets one fix the search path?

Paul

Tuomo Valkonen | 2 Jun 07:24 2003
Picon
Picon

Re: ion-devel-20030601

On Mon, Jun 02, 2003 at 01:07:07AM -0400, Paul Pelzl wrote:
> At the moment I need to launch ion from the directory
> /usr/local/ion-devel/lib/ion-devel/ , otherwise Lua complains that it
> can't find the query, floatws, and ionws modules.  Did I miss a
> configuration option somewhere that lets one fix the search path?

Ancient libltdl that doesn't like that lt_dlinit had drifted to be
called after lt_dladdsearchdir:s? Try the attached patch.

-- 
Tuomo
--- ../releases/ion-devel-20030531/ioncore/ioncore.c	2003-05-31 18:04:38.000000000 +0300
+++ ioncore/ioncore.c	2003-06-02 08:19:09.000000000 +0300
 <at>  <at>  -115,6 +115,9  <at>  <at> 

 	libtu_init(argv[0]);

+	if(!init_module_support())
+		return EXIT_FAILURE;
+
 	ioncore_add_default_dirs();
 	
 	optparser_init(argc, argv, OPTP_MIDLONG, ioncore_opts, &ioncore_cinfo);
 <at>  <at>  -402,9 +405,6  <at>  <at> 
 	register_classes();
 	init_hooks();

-	if(!init_module_support())
(Continue reading)

Paul Pelzl | 2 Jun 07:38 2003
Picon

Re: ion-devel-20030601

On Mon, Jun 02, 2003 at 08:24:04AM +0300, Tuomo Valkonen wrote:
> On Mon, Jun 02, 2003 at 01:07:07AM -0400, Paul Pelzl wrote:
> > At the moment I need to launch ion from the directory
> > /usr/local/ion-devel/lib/ion-devel/ , otherwise Lua complains that it
> > can't find the query, floatws, and ionws modules.  Did I miss a
> > configuration option somewhere that lets one fix the search path?
> 
> Ancient libltdl that doesn't like that lt_dlinit had drifted to be
> called after lt_dladdsearchdir:s? Try the attached patch.

Good guess, that fixed it.  I have libltdl3 1.4.2 from Debian Woody.  I
guess that's what I get for ignoring your warning about libtool <
1.4.3...

Paul

Tuomo Valkonen | 2 Jun 07:46 2003
Picon
Picon

ion-devel-20030602

On Mon, Jun 02, 2003 at 01:38:10AM -0400, Paul Pelzl wrote:
> Good guess, that fixed it.

Good. I just released ion-devel-20030602 that fixes this and also
uses lt_dlinsertsearchdir instead of lt_dladdsearchdir to add new
directories properly at the beginning of the path instead of end.

--

-- 
Tuomo

Rasmus Meldgaard | 2 Jun 18:49 2003
Picon

Re: ion-devel-20030602

On Mon, Jun 02, 2003 at 08:46:03AM +0300, Tuomo Valkonen wrote:
> On Mon, Jun 02, 2003 at 01:38:10AM -0400, Paul Pelzl wrote:
> > Good guess, that fixed it.
> 
> Good. I just released ion-devel-20030602 that fixes this and also
> uses lt_dlinsertsearchdir instead of lt_dladdsearchdir to add new
> directories properly at the beginning of the path instead of end.

I trying to get ion-devel-20030602-1 to compile on FreeBSD 4.8 and it
only got libtool 1.3.4 (ego no lt_dlinsertsearchdir),
I am reading up on libtools, but I can't understand what is the
differs between: lt_dladdsearchdir(dir) and
lt_dlinsertsearchdir(lt_dlgetsearchpath(), dir)

--

-- 
Rasmus Meldgaard

Tuomo Valkonen | 2 Jun 19:35 2003
Picon
Picon

Re: ion-devel-20030602

On Mon, Jun 02, 2003 at 06:49:15PM +0200, Rasmus Meldgaard wrote:
> I am reading up on libtools, but I can't understand what is the
> differs between: lt_dladdsearchdir(dir) and
> lt_dlinsertsearchdir(lt_dlgetsearchpath(), dir)

lt_dladdsearhdir: newpath=oldpath:dir
lt_dlinsertsearchdir: newpath=partofoldpath:dir:restofoldpath
in this particular case: newpath=dir:oldpath

Attached is a patch that does it the hard and bloated way if
CF_LTDL_ANCIENT is defined.

--

-- 
Tuomo
--- ../releases/ion-devel-20030602-1/ioncore/readconfig.c	2003-06-02 13:04:00.000000000 +0300
+++ ioncore/readconfig.c	2003-06-02 20:34:20.000000000 +0300
 <at>  <at>  -72,7 +72,28  <at>  <at> 

 bool ioncore_add_moduledir(const char *dir)
 {
+#ifndef CF_LTDL_ANCIENT
 	return (lt_dlinsertsearchdir(lt_dlgetsearchpath(), dir)==0);
+#else
+	const char *oldpath;
+	char *newpath;
+	bool ret;
+	
+	oldpath=lt_dlgetsearchpath();
(Continue reading)

Xavier Maillard | 2 Jun 20:37 2003
X-Face
Picon

Words specification

Hi,

I need some clarification about the words used in Ion. I have read the
ionconf.dvi documentation but I am not still "aware" of all the terms
used there.

In fact I am totally confused :)

Anyone can explain what is what and what is used for ?

Thanx,

zeDek
--

-- 
"Anonym darf auftreten, wer tatsaechlich ein Nichts ist" (Lec)
Xavier Maillard | 2 Jun 20:41 2003
X-Face
Picon

Automatic startup in latest devel release

Hi,

I know this is a recurrent question, but I just have seen that in my
.ion-devel, there was a saves directory containing a backup of my
current workspace setup.

So here is coming the question: is there any possibility to tweak this
file to automatically launch program at startup ?

Currently I am doing so with a call to a ~/.auto_startup and launching
it through the GDM handler but it is not really nice since I also have
to edit the kludge files to tell where I want my application to be
mapped :)

So if I could directly tell in my workspace backup file tell which
program should be running per frame, etc.. that would be cute ;)

Any pointer about that ?

zeDek
--

-- 
"NT == No Thanks"
Xavier Maillard | 2 Jun 09:14 2003
X-Face
Picon

ionws_split and ionframe_split: what is the difference ?

Hi,

All is said in the subject but to clarify the situation, I just want to
add I have tried both solution and both achieves the same task. Is this
normal or did I miss something (again) ? 

zeDek
--

-- 
"Schweigen - mit arrogantem Unterton - schlaegt das schlagenste
 Argument" (Hassencamp)

Gmane