Page 1 of 1

Dragonfly 0.70 Released!

Posted: Tue Mar 23, 2010 2:06 am
by itistoday
Finally! Here are the changes:

Code: Select all

  * all code uses new ++,--,extend,write,read functions (still compatible with older newlisps)
  * added 'extract' and '<-' functions to core utils
  * Route.Resource has been updated with a 'catch-all' function.
  * added documentation for MAX_POST_LENGTH in request.lsp
  * $BINARY can now handle large data (compensated for a newLISP bug in 'read-buffer').
  * DF:activate-plugin can now be used to load all lisp files in a directory
  * db/database_utils includes for-query-with-db, assoc-row-with-db, query-cell-with-db and others
  * db/database_orm - DB.OBJ - a very simple ORM for DF.DB
  * db/database_sqlite3 updated to version 1.2 (see its docs for what's new)
  * fixed Jeff's JSON.lsp plugin (switched to " instead of ' for strings)
  * fixed bug in definition of define-smacro
  * Response:cookie now returns correct value (full cookie as list) when given only key
Download 0.70 from here.

This version should be safe to use with the latest version of newLISP.

Also, Dragonfly has moved off Google Code, its official repository is now located on GitHub:

http://github.com/taoeffect/dragonfly-newlisp

If you prefer using Mercurial (like I do), you can use this.

Re: Dragonfly 0.70 Released!

Posted: Tue Mar 23, 2010 4:48 pm
by itistoday
The new DB stuff can be found here:

http://www.rundragonfly.com/api/db

Re: Dragonfly 0.70 Released!

Posted: Tue Mar 23, 2010 5:44 pm
by cormullion
Cool! I suppose it works well with 10.1 too.

I expect to upgrade when I get some time to examine the files which need updating.

Thanks

Re: Dragonfly 0.70 Released!

Posted: Wed Mar 24, 2010 7:46 pm
by cormullion
Running on newLISP v.10.1.10:

Code: Select all

ERR: symbol is protected in function define : (read source-string)
called from user defined function load-once
called from user defined function load-files-in-dir
Presumably that's due to:

(

Code: Select all

when (< (sys-info -2) 10111)
	(constant (global 'term) name)
	(constant (global 'read) read-buffer)
	(constant (global 'write) write-buffer)
)
and I've defined read elsewhere?

Re: Dragonfly 0.70 Released!

Posted: Thu Mar 25, 2010 1:56 am
by itistoday
Yes, most likely, as the stack trace suggests, you should search your project for "source-string" to try to find where you're using it.

These declarations were necessary to be compatible with the recent changes in newLISP.

Re: Dragonfly 0.70 Released!

Posted: Thu Mar 25, 2010 6:27 pm
by cormullion
Yes - I've found it.

You have to laugh, really - I tried to keep everything on 10.1 and I still got bitten by the not-yet-installed 10.2! :) Still, I like the way you tried to keep compatibility with 10.1 and 10.2.

I'll leave it alone for now - it will only become a problem when something upgrades to 10.2.... :(