sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] Improved API for query and store config information
- From: Eric Sandall <eric AT sandall.us>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Improved API for query and store config information
- Date: Mon, 22 Mar 2004 09:09:00 -0800
Quoting Vladimír Marek <vlmarek AT volny.cz>:
> > > persistent_load
>
> [ balast ]
>
> > > persistent_save
>
> [ balast ]
>
> > Couldn't Sorcery automatically run those before/after the scripts?
>
> Yes, that is great idea. I have to found exactly where ( = which all
> scripts can be run from the spell ). And it will change with the BUILD
> split too, I think.
>
> Anywhere described what everything can be called from the spell ?
>
> HOWEVER
>
> The problem is that when you call persistent_save, it overwrites whole
> $SPELL_CONFIG. That would broke all spell which are unavare of this new
> system, and write to $SPELL_CONFIG directly. Solutions:
>
> a) Leave spells, prite persistent_load & persistent_load in every file
> we need
>
> b) Rewrite all spells
>
> c) Do as in a) but when most of spells will be using this method,
> reconsider b) :)
>
> I think c) is right
That could be a problem. ;) If we do "c" then we'd have to modify the scripts
twice, once to add persistent_* and again to remove them once all the scripts
are updated, but that's not too big a deal. So "c" may be best.
-sandalle
--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-
Re: [SM-Discuss] Improved API for query and store config information
, (continued)
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/18/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Casey Harkins, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/20/2004
- Re: [SM-Discuss] Improved API for query and store config information, Andrew, 03/20/2004
- Re: [SM-Discuss] Improved API for query and store config information, -={|TooManyMirrors|}=-, 03/20/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/20/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Casey Harkins, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Eric Sandall, 03/22/2004
-
Message not available
- Re: [SM-Discuss] Improved API for query and store config information, Eric Sandall, 03/22/2004
-
Message not available
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Eric Sandall, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Vladimír Marek, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Eric Sandall, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/18/2004
Archive powered by MHonArc 2.6.24.