Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Announcements ➜ Version 4.60 released with LuaCOM and LuaSocket

Version 4.60 released with LuaCOM and LuaSocket

Postings by administrators only.

Refresh page


Posted by Nick Gammon   Australia  (23,162 posts)  Bio   Forum Administrator
Date Sun 05 Sep 2010 03:28 AM (UTC)

Amended on Sun 31 Oct 2010 10:29 PM (UTC) by Nick Gammon

Message

I am pleased to release version 4.60 of MUSHclient. See the release notes for more details.

Improvements

  • Upgraded SQLite3 library from 3.7.0.1. to 3.7.2
  • Fixed some bugs and tidied up code.
  • Fixed bug where on a new installation, the default state file was incorrectly assigned to be in the MUSHclient execution folder.
  • When saving a plugin's state, it now checks that the state folder exists, and if not offers to let you either find or create it.
  • Improved the "directory picker" to have a more modern GUI.
  • Added Lua_Sapi.xml plugin to the distribution. This lets you do text-to-speech using Lua.
  • Added utils.sendtofront and utils.shellexecute script functions to the Lua script space.
  • Added LuaCOM into the code (so you can access COM objects from Lua).
  • Added LuaSocket to the distribution (so you can access web pages, etc.)
  • Fixed bug where if you created a new world, and went to save it the suggested directory to save in could be wrong.
  • Added the module sandbox.lua to the distribution.
  • Added the module show_loaded.lua to the distribution.
  • Changed the way Lua is initialized.
  • Added script function SetScroll - this lets you show or hide the scroll bar for the output window.

Download

You can view the release notes for version 4.60

You can download MUSHclient 4.60 now from ...

You are strongly advised to backup (make a copy of) your existing MUSHclient world files before upgrading. Just in case.

If there are any problems, please post messages to the Bug Reports, Suggestions, or General parts of this forum.


MD5 sum for the installer

If you do an md5sum on mushclient460.exe you should get this result:

13ecb47bf91db30a5910d11457d53d8d

The forum post a small script to sumcheck the MUSHclient download shows how you can write a small script in MUSHclient to do the sumcheck. It also lists some places you can download md5sum.exe to do the sumcheck (if this is the first time you have downloaded MUSHclient).

One way of doing an md5sum is to download the Installer_sumcheck plugin from the Plugins page (RH click that link and "save link as" to get the plugin). Then install the plugin (see the File menu -> Plugins) and type "md5sum" which lets you browse to the installer file, load it, and display the sumcheck.


Message about "Failed to load resources file"

Some users are reporting getting a message like "Failed to load resources file: C:\Programme\MUSHclient\locale\DE.dll - trying English file" when starting MUSHclient (the DE.dll part might be another language like FR.dll).

This will be because you have customized the "locale" of MUSHclient to other than EN (English). See the How to localize MUSHclient messages into other languages forum posting for more details about localization.

To fix this, find the directory you installed MUSHclient into (eg. "C:\Program Files\MUSHclient\") and then locate the subdirectory "locale". In that you will find a file en.dll. Copy or rename that file to match the missing file in the message (eg. copy en.dll to de.dll).

Alternative suggestion: Go into the File menu -> Global Preferences -> General, and change the field "Locale code" back to "EN" (English) and then it should look for EN.DLL next time.


Warning about Lua 5.1 upgrade

MUSHclient version 3.80 upgraded the Lua script engine from Lua 5.0.2 to 5.1.1. If you are upgrading to this version from an earlier version than 3.80, you should read Version 3.80 released - with Lua 5.1 script engine - this post has recommendations about what is required if you use Lua scripting or Lua plugins. Note: Since version 3.80 was released, the version of Lua has been upgraded. It is currently 5.1.4. Some versions (versions 4.49 to 4.52 of MUSHclient) may incorrectly report they are using Lua 5.1.1 when you open a world.


Warning about upgrading from versions prior to 3.21

MUSHclient version 3.85 (onwards) no longer reads the old "binary" world files produced by versions prior to 3.21. For more information about this please read the forum post Versions 3.85 onwards no longer support world files created prior to version 3.21 - this post has recommendations about how to upgrade your world files if you are upgrading from a version earlier than 3.21.

Note that version 3.21 was released quite a few years ago (May 2002), so people who have recently installed MUSHclient should not have any problems.


Source code

The source code for this version is available from GitHub:

http://github.com/nickgammon/mushclient/tree/v4.60

You can directly download the source from the Downloads page (http://github.com/nickgammon/mushclient/downloads), or preferably install Git and use the appropriate commands to clone or pull the source. For some suggestions about getting the source from Git see MUSHclient source being made available on GitHub forum posting.

If you install Git, subsequent downloads (of new versions) will be much faster as it only needs to download the changes, not the whole source. Also by using Git you can find out exactly what has changed from version to the next.

Summary of changes in this version

$ git --no-pager diff v4.59..v4.60 --stat

 MUSHclient.dsp                                 |  282 +++-
 MUSHclient.rc                                  |    8 +-
 MUSHclient.vcproj                              |  534 +++++-
 OtherTypes.h                                   |  300 ---
 Utilities.cpp                                  |    9 +-
 credits.txt                                    |   69 -
 dialogs/global_prefs/GlobalPrefs.cpp           |    9 +
 dialogs/world_prefs/prefspropertypages.cpp     |    3 +
 doc.cpp                                        |   46 +-
 doc.h                                          |    7 +-
 doc_construct.cpp                              |    1 +
 docs/JSON License.txt                          |    1 +
 docs/Lua Colors LICENSE.txt                    |    2 +
 docs/LuaSocket_documentation/dns.html          |  132 ++
 docs/LuaSocket_documentation/ftp.html          |  289 +++
 docs/LuaSocket_documentation/http.html         |  333 +++
 docs/LuaSocket_documentation/index.html        |  208 ++
 docs/LuaSocket_documentation/installation.html |  163 ++
 docs/LuaSocket_documentation/introduction.html |  333 +++
 docs/LuaSocket_documentation/ltn12.html        |  430 ++++
 docs/LuaSocket_documentation/luasocket.png     |  Bin 0 -> 11732 bytes
 docs/LuaSocket_documentation/mime.html         |  476 +++++
 docs/LuaSocket_documentation/reference.css     |   54 +
 docs/LuaSocket_documentation/reference.html    |  239 +++
 docs/LuaSocket_documentation/smtp.html         |  417 ++++
 docs/LuaSocket_documentation/socket.html       |  404 ++++
 docs/LuaSocket_documentation/tcp.html          |  533 +++++
 docs/LuaSocket_documentation/udp.html          |  416 ++++
 docs/LuaSocket_documentation/url.html          |  329 +++
 docs/LuaSocket_license.txt                     |   21 +
 docs/luacom.pdf                                |  Bin 0 -> 215427 bytes
 globalregistryoptions.cpp                      |   22 +-
 install/mushclient.nsi                         |   95 +-
 install/readme.txt                             |    4 +-
 lua/checkplugin.lua                            |    2 +-
 lua/com.lua                                    |    7 +
 lua/json.lua                                   |    2 +-
 lua/json/decode.lua                            |    4 +-
 lua/json/decode/array.lua                      |    2 +-
 lua/json/decode/calls.lua                      |    2 +-
 lua/json/decode/number.lua                     |    4 +-
 lua/json/decode/object.lua                     |    2 +-
 lua/json/decode/others.lua                     |    2 +-
 lua/json/decode/strings.lua                    |    2 +-
 lua/json/decode/util.lua                       |    2 +-
 lua/json/encode.lua                            |   10 +-
 lua/json/encode/array.lua                      |    6 +-
 lua/json/encode/calls.lua                      |    4 +-
 lua/json/encode/number.lua                     |    2 +-
 lua/json/encode/object.lua                     |    6 +-
 lua/json/encode/others.lua                     |    2 +-
 lua/json/encode/output.lua                     |    4 +-
 lua/json/encode/output_utility.lua             |    2 +-
 lua/json/encode/strings.lua                    |    2 +-
 lua/json/util.lua                              |    4 +-
 lua/ltn12.lua                                  |  291 +++
 lua/mime.lua                                   |   86 +
 lua/mw.lua                                     |   40 +
 lua/sandbox.lua                                |  163 ++
 lua/show_loaded.lua                            |   25 +
 lua/socket.lua                                 |  132 ++
 lua/socket/ftp.lua                             |  280 +++
 lua/socket/http.lua                            |  333 +++
 lua/socket/smtp.lua                            |  246 +++
 lua/socket/tp.lua                              |  122 ++
 lua/socket/url.lua                             |  298 +++
 luacom/LuaAux.cpp                              |  144 ++
 luacom/LuaAux.h                                |   41 +
 luacom/LuaCompat.c                             |  393 ++++
 luacom/LuaCompat.h                             |   74 +
 luacom/luabeans.cpp                            |  179 ++
 luacom/luabeans.h                              |   44 +
 luacom/luacom.cpp                              | 2712 ++++++++++++++++++++++++
 luacom/luacom.h                                |   37 +
 luacom/luacom5.lua                             | 1001 +++++++++
 luacom/luacom_internal.h                       |   55 +
 luacom/tCOMUtil.cpp                            | 1012 +++++++++
 luacom/tCOMUtil.h                              |   69 +
 luacom/tLuaCOM.cpp                             |  793 +++++++
 luacom/tLuaCOM.h                               |  110 +
 luacom/tLuaCOMClassFactory.cpp                 |  131 ++
 luacom/tLuaCOMClassFactory.h                   |   43 +
 luacom/tLuaCOMConnPoints.cpp                   | 1683 +++++++++++++++
 luacom/tLuaCOMConnPoints.h                     |  284 +++
 luacom/tLuaCOMEnumerator.cpp                   |  274 +++
 luacom/tLuaCOMEnumerator.h                     |   42 +
 luacom/tLuaCOMException.cpp                    |   76 +
 luacom/tLuaCOMException.h                      |   86 +
 luacom/tLuaCOMTypeHandler.cpp                  | 2225 +++++++++++++++++++
 luacom/tLuaCOMTypeHandler.h                    |  124 ++
 luacom/tLuaControl.cpp                         | 2223 +++++++++++++++++++
 luacom/tLuaControl.h                           |  228 ++
 luacom/tLuaDispatch.cpp                        |  777 +++++++
 luacom/tLuaDispatch.h                          |  155 ++
 luacom/tLuaObjList.cpp                         |   41 +
 luacom/tLuaObjList.h                           |   32 +
 luacom/tLuaObject.cpp                          |  331 +++
 luacom/tLuaObject.h                            |  100 +
 luacom/tLuaTLB.cpp                             |  862 ++++++++
 luacom/tLuaTLB.h                               |   74 +
 luacom/tLuaVector.cpp                          |  530 +++++
 luacom/tLuaVector.h                            |   69 +
 luacom/tStringBuffer.cpp                       |   58 +
 luacom/tStringBuffer.h                         |   26 +
 luacom/tUtil.cpp                               |  366 ++++
 luacom/tUtil.h                                 |   45 +
 miniwindow.h                                   |  299 +++
 mushclient.cnt                                 |    1 +
 mushclient.odl                                 |   17 +-
 mushview.cpp                                   |   16 +-
 plugins.cpp                                    |   93 +
 plugins/Lua_Sapi.xml                           |  144 ++
 scripting/bits.c                               |   10 +-
 scripting/functionlist.cpp                     |    1 +
 scripting/lbc.c                                |    2 +
 scripting/lpeg.c                               |   15 +-
 scripting/lua_compress.c                       |   10 +-
 scripting/lua_methods.cpp                      |  136 +-
 scripting/lua_progressdlg.cpp                  |   14 +-
 scripting/lua_scripting.cpp                    |   34 +-
 scripting/lua_utils.cpp                        |  215 ++-
 scripting/methods.cpp                          |   56 +
 sqlite3/readme.txt                             |    4 +-
 stdafx.h                                       |    7 +-
 worldsock.cpp                                  |    2 +
 zlib/.gitignore                                |    8 +-
 126 files changed, 26270 insertions(+), 621 deletions(-)

Commit log (date order)


$ git --no-pager log --pretty=oneline --reverse --abbrev-commit v4.59..v4.60


fb3f0d6 Added the solution directory to the include path for the VS2005 project file.
0233091 Fixed undefined-identifier error by moving the declaration of "POSITION pos" outside the for-loop initializer.
c5c5537 Updated .gitignore with new zlib files.
d12e73f Updated VS2005 project files.
91abdc7 Merge branch 'master' of git://github.com/nickgammon/mushclient
f39528e Updated version number to 4.60
df52107 Added file LuaJSON.txt
b73608c Fixed installer problems regarding JSON files
d7bacf6 Updated version number to 4.60
9a31d93 Upgraded SQLite3 library to 3.7.2
f22be21 Fixed a couple of LPEG bugs, see Lua mailing list
ff972ae Merge branch 'master' of http://github.com/Twisol/mushclient
a6559b8 Changes to help compilation under VS2005
bdb4fda Tidied up JSON Lua code so comments work better in Crimson Editor
7e29caa Fixed bug where default state file directory was wrong
c765a89 Sorted some functions internally into alphabetic order
a9b71cb Check plugin state file exists, offer to browse for it if not
afe8a57 Directory pickers now use the more modern dialog
90802c7 Added 'disconnecting' to list of known connection states
e3a77d5 Fixed bug where title would not change to 'closed' after world disconnect
97ab92e Moved miniwindows structures to miniwindow.h
4de987d Deleted out-of-date file
5403644 Changed Lua Colors LICENSE.txt to DOS line endings
3848e28 Changed JSON License.txt to DOS line endings
adc4c7d Added Lua_Sapi plugin to distribution
f77e7ca Added utils.sendtofront and utils.shellexecute script functions
0ff94ad Improved comments for utils.shellexecute
17955ef Added luacom.dll to the distribution
5b3c261 Changed Lua_Sapi plugin to speak the word 'plugin' better
fb5d70d Added LuaSocket to the distribution
a56d677 Added com.lua to distribution to help load luacom
7224469 Added luacom documentation to the distribution
3d54010 Added LuaSocket documentation to the distribution
ed42c95 Added ColoursToStyles to mw.lua
44bfbf1 Added luacom 1.3 to the Lua script space
37547fb Fixed minor Lua stack issue
e46e241 Set up package.preload.luacom *before* calling the sandbox
5489d89 Updated as per Twisol's suggestion
109b9e6 Updated to use new way of getting luacom
1e85109 Forgot to disable precompiled headers on the zlib files in Release mode.
8de0b53 Fixed bug where saving new worlds would not go to worlds directory
5896fc7 Changed the way tLuaControl::DoVerb handles the default branch
a5d0f36 Again changed tLuaControl::DoVerb in the default branch
3913335 Upgraded luacom to commit 91fc0722 from github.com/davidm/luacom/
fdf2772 Yet another fix to the problem with DoVerb (David Manura)
5bb6c97 Added script function SetScroll
081a531 Added module sandbox.lua
7dd4255 Added module show_loaded.lua
5914bd8 Changes to the way Lua is initialized



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,538 views.

Postings by administrators only.

Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.