newlisp.DLL possible?

Started by HPW, October 13, 2003, 12:30:58 PM

Previous topic - Next topic

Lutz

#90
Uploaded 'sqlite.lsp' bindings for the SQLite database. Works on Friday's upload of newLISP version 7.4.7, which can import libraries compiled for 'cdecl' calling conventions. Also tested on LINUX and FreeBSD. With this file and the new 'cdecl' parameter in newLISP 'import' you don't need a separate wrapper DLL on Win32.



This library import is also a good demo what to do with things like 'char *** pazValue' or 'char **pzErrmsg'. Nested multiple pointers can all be handled with the right mixture of 'get-integer' and 'get-string'.



SQLite fits very good to newLISP, because it is small and  'in process' so it doesn't need a separate database server running. The generated databases are binary compatible on all platforms. Seems to be the ideal database if MySQL still seems to be too much for the task.



http://newlisp.org/download/development/">http://newlisp.org/download/development/

  and

http://www.sqlite.org">http://www.sqlite.org



Lutz

HPW

#91
Lutz,



I aggree with all points. Good example of the new import-feature.



I think you should have made a new thread, because it is not newlisp.dll related alone. It is an important improvement for its own.
Hans-Peter

Lutz

#92
Yes, probably should have made a new thread. Dou you (or anybody else)  have any longer experience with SQLite? I mean what do you think about reliablility, speed etc.?



I want to move a newLISP project with about 20,000 records in a flat text file to SQLite. the flat text file works well, but processing is kind of clumsy, because I cannot use SQL for doing the reports.



Also to an earlier question of yours: newLISP is mainly my hobby but I also use it for work related stuff. For my areas of work see my homepage at nuevatec.com.



Lutz

HPW

#93
I have released hpwNewLISP 1.13:



Action: hpwNewLispFreeDll - Free newLISP.dll from memory



Allow to explicit free the Dll from applications address space.
Hans-Peter

HPW

#94
I have released hpwNewLISP 2.0:



New bidirectional interface which now offer neobook scripting directly from newLISP.



newLISP-function: hpwDllName (Gets the real plugin-filename)

newLISP-function: hpwPlayAction (Play neobook scripts from newLISP)

newLISP-function: hpwGetVar (Get variable from neobook to newLISP)



The imported functions are registered at startup of the plugin.
Hans-Peter

HPW

#95
Just released hpwNewLISP 2.11:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



Command wizards for all commands.

neoLISP.cmd renamed to hpwNewLISP.cfp/hpwNewLISP.cfr

hpwNewLISP.cfr now auto-embedded to allow custom plugin lisp-commands also in web-apps.

hpwNewLISP.ini allows to link an external Lisp-Editor (called from command wizard)

hpwNewLISP.ini allows to config custom command hints.

hpwNewLispCall's command wizard uses syntax-highlighting from newLISP.cfg
Hans-Peter

HPW

#96
Just released hpwNewLISP 2.13:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



hpwNewLispCall's command wizard gets buttons for clipboard support (Cut,Copy,Paste)

hpwNewLispCall's command wizard gets button for 'Select All'

hpwNewLispCall's command wizard gets button for 'Paranthesis check' (HotKey CTRL-B)
Hans-Peter

HPW

#97
Just released hpwNewLISP 2.14:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



hpwNewLispCall's command wizard 'Paranthesis check' supports now subsequend checking

hpwNewLispCall's command wizard CTRL-A now selects all

hpwNewLispCall's command wizard F1 without any selected show newLISP framed doc.

hpwNewLispCall's command wizard F1 with selected newLISP command show newLISP doc about command.

hpwNewLisp.ini has a new entry: NewLispDirectory (Installdir of full version of newLISP)
Hans-Peter

HPW

#98
Just released hpwNewLISP 2.15:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



Bugfix for TaskBarClickAndRestoreOnTop for About-dialog and command wizards

hpwNewLispCall's command wizard CTRL-N now calls 'clear and start new'

hpwNewLispCall's command wizard CTRL-O now calls 'file open'

hpwNewLispCall's command wizard CTRL-S now calls 'file save'

hpwNewLispCall's command wizard ALT-O calls OK-Button

hpwNewLispCall's command wizard ALT-C calls Cancel-Button

hpwNewLispCall's command wizard now supports TAB-key in the source text







http://www.hpwsoft.de/anmeldung/html1/neobook/callwiz.png">
Hans-Peter

HPW

#99
Just upload hpwNewLISP 2.25:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



Action: hpwNewLispDebug - Output debug info from newLISP into neobook debug window.



http://www.hpwsoft.de/anmeldung/html1/neobook/nbdebug.png">



hpwNewLispDebug is a dummy action which does really nothing.

The newLISPer/neobooker can use it to publish debug-info to the debug window.
Hans-Peter

HPW

#100
Just upload a new zip of hpwNewLISP 2.25:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



Demofile: Improved PubViewer 1.09

Added a hpwTreeView for a hierachic view on the pub.

Added a Run-button when CompiledName is set in the pub-source.

When run with a pub-filename as a commandline-parameter the file is displayed on startup.



http://www.hpwsoft.de/anmeldung/html1/neobook/pubviewer109.png">



The neobook-source parser is written in newLISP of course.
Hans-Peter

HPW

#101
Just upload a new zip of hpwNewLISP 2.26:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



The wizards of hpwNewLispCall now has a COM-interface button to <B>RegexBuddy</B>



Note:

RegexBuddy has to be installed and registerd on the developer PC.

Press the wizard-button and edit the selected-regex-string (or create at cursorpos) in RegexBuddy and return with the send-button.

(A great tool and a good value for the money)

More info: http://www.regexbuddy.com">www.regexbuddy.com
Hans-Peter

HPW

#102
Just upload a new zip of hpwNewLISP 2.31:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



New variable in neobook [NEWLISPDIR] readed from enviroment-var NEWLISPDIR from newLISP-install.



This make it easier to use the separate newLISP distribution directly.
Hans-Peter

HPW

#103
Just upload a new hpwNewLISP 2.32:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



New error-handling code for changed newLISP error-function in 10.0.5



(Plugin works with old and new versions)
Hans-Peter

HPW

#104
Just released initial OpenNbNewLISP 1.0:



http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html">http://www.hpwsoft.de/anmeldung/html1/n ... ook14.html">http://www.hpwsoft.de/anmeldung/html1/neobook/neobook14.html



Neobook-forum annoucement:



http://www.neosoftware.com/community/viewtopic.php?f=3&t=20292">http://www.neosoftware.com/community/vi ... =3&t=20292">http://www.neosoftware.com/community/viewtopic.php?f=3&t=20292



This is a stripped-down version of hpwNewLISP released under open-source to meet the needs of open-source developers in terms of license issues. It supports the essential interfacing to the newLISP.dll with callback support.

The delphi-source(D7) is provided on the download page.



Regards
Hans-Peter