[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Announcements
. . -> [Subject]  Version 4.62 released (with timestamps)
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Version 4.62 released (with timestamps)

Postings by administrators only.

[Refresh] Refresh page


Posted by Nick Gammon   Australia  (19,470 posts)  [Biography] bio   Forum Administrator
Date Tue 28 Sep 2010 01:43 AM (UTC)  quote  ]

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

Message

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

Improvements

  • Major code cleanups. This should make the source easier to maintain in the future.
  • A few new script functions.
  • Some obscure bugs and memory leaks fixed.
  • New option to "timestamp" lines in the output buffer.
  • Much more, too numerous to mention - read the release notes.

Warning: This version has major code changes. Whilst every effort has been taken to check them and test, it may have unexpected bugs. Please back up important files (copy them somewhere safe) - such as your world files and plugins. Be prepared to revert back to a previous version, such as 4.61, if things start going wrong.

Warning - major bugs

We have identified the following bugs in this version. You are advised not to use it except for experimental testing:

  • Saving files in the internal notepad may (probably will) be corrupted.
  • BroadcastPlugin does not work correctly.
  • The "find" feature does not work in the internal notepad.

Download

You can view the release notes for version 4.62

You can download MUSHclient 4.62 now from ...

  • http://www.gammon.com.au/files/mushclient/mushclient462.exe (3.14 Mb).

Note: Not available now. Due to major bugs in saving corrupted data in the notepad, this version has been deleted from the server. Please use version 4.63 or later instead.

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 mushclient462.exe you should get this result:

dd9b8494d955e4e028f837f0d261e18f

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.62

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.61..v4.62 --stat

 .gitignore                                 |   11 +-
 ActivityDoc.cpp                            |   11 +-
 ActivityView.cpp                           |    2 +-
 Color.cpp                                  |    2 +-
 DDV_validation.cpp                         |    2 +-
 Finding.cpp                                |    4 +-
 HyprLink.cpp                               |    2 +-
 Line.cpp                                   |    3 +-
 MUSHclient.cpp                             |   73 +-
 MUSHclient.dsp                             |  156 +-
 MUSHclient.rc                              |    8 +-
 MUSHclient.vcproj                          |  160 +-
 MUSHclient.vcxproj                         | 1452 +++
 MUSHclient_2010.sln                        |   20 +
 MakeWindowTransparent.cpp                  |    4 +-
 MakeWindowTransparent.h                    |    4 +-
 Mapping.cpp                                |    2 +-
 MySplitterWnd.cpp                          |    2 +-
 MyStatusBar.cpp                            |    2 +-
 NameGeneration.cpp                         |    2 +-
 OtherTypes.h                               |  163 +-
 ProcessPreviousLine.cpp                    |   95 +-
 Replace.cpp                                |    2 +-
 StatLink.cpp                               |    2 +-
 TextDocument.cpp                           |    5 +-
 TextView.cpp                               |  186 +-
 TextView.h                                 |    7 +-
 TimerWnd.cpp                               |    2 +-
 Utilities.cpp                              |   24 +-
 accelerators.cpp                           |    2 +-
 activitychildfrm.cpp                       |    4 +-
 art.cpp                                    |    2 +-
 blending.h                                 |   58 +
 chatlistensock.cpp                         |    4 +-
 chatsock.cpp                               |  151 +-
 chatsock.h                                 |    2 +-
 childfrm.cpp                               |    4 +-
 ddx.clw                                    |    5 -
 dialogs/AsciiArtDlg.cpp                    |    2 +-
 dialogs/ChooseNotepadDlg.cpp               |    2 +-
 dialogs/ColourComboBox.cpp                 |    2 +-
 dialogs/ColourPickerDlg.cpp                |    5 +-
 dialogs/ConfirmPreamble.cpp                |    2 +-
 dialogs/CreditsDlg.cpp                     |    2 +-
 dialogs/DebugWorldInputDlg.cpp             |    2 +-
 dialogs/EditDlg.cpp                        |    2 +-
 dialogs/EditMultiLine.cpp                  |    2 +-
 dialogs/FindDlg.cpp                        |    2 +-
 dialogs/FunctionListDlg.cpp                |  138 +-
 dialogs/FunctionListDlg.h                  |   16 +-
 dialogs/GeneratedNameDlg.cpp               |    2 +-
 dialogs/GlobalChangeDlg.cpp                |    2 +-
 dialogs/GoToLineDlg.cpp                    |    2 +-
 dialogs/ImmediateDlg.cpp                   |    2 +-
 dialogs/ImportXMLdlg.cpp                   |    2 +-
 dialogs/KeyNameDlg.cpp                     |    4 +-
 dialogs/MXPscriptRoutinesDlg.cpp           |    2 +-
 dialogs/MapCommentDlg.cpp                  |    2 +-
 dialogs/MapDlg.cpp                         |    2 +-
 dialogs/MapMoveDlg.cpp                     |    2 +-
 dialogs/ProxyServerPasswordDlg.cpp         |    2 +-
 dialogs/QuickConnectDlg.cpp                |    2 +-
 dialogs/RecallDlg.cpp                      |    2 +-
 dialogs/RecallSearchDlg.cpp                |    2 +-
 dialogs/RegexpProblemDlg.cpp               |    2 +-
 dialogs/ScriptErrorDlg.cpp                 |    2 +-
 dialogs/SendToAllDlg.cpp                   |    2 +-
 dialogs/Splash.cpp                         |    2 +-
 dialogs/TextAttributesDlg.cpp              |    2 +-
 dialogs/TipDlg.cpp                         |   12 +-
 dialogs/WinsockInfoDlg.cpp                 |    2 +-
 dialogs/chat/ChatCallDlg.cpp               |    2 +-
 dialogs/chat/ChatDetailsDlg.cpp            |    2 +-
 dialogs/chat/ChatListDlg.cpp               |    2 +-
 dialogs/chat/ChatToAllDlg.cpp              |    2 +-
 dialogs/chat/EmoteToAllDlg.cpp             |    2 +-
 dialogs/cmdhist.cpp                        |    4 +-
 dialogs/global_prefs/GlobalPrefs.cpp       |    4 +-
 dialogs/global_prefs/GlobalPrefsSheet.cpp  |    2 +-
 dialogs/logdlg.cpp                         |    2 +-
 dialogs/password.cpp                       |    2 +-
 dialogs/plugins/PluginsDlg.cpp             |   59 +-
 dialogs/welcome.cpp                        |    2 +-
 dialogs/welcome1.cpp                       |    2 +-
 dialogs/world_prefs/ButtonColour.cpp       |    2 +-
 dialogs/world_prefs/CommandOptionsDlg.cpp  |    2 +-
 dialogs/world_prefs/EditVariable.cpp       |    2 +-
 dialogs/world_prefs/MissingEntryPoints.cpp |    2 +-
 dialogs/world_prefs/PrefsPropertySheet.cpp |    2 +-
 dialogs/world_prefs/TabDefaultsDlg.cpp     |    2 +-
 dialogs/world_prefs/TimerDlg.cpp           |    2 +-
 dialogs/world_prefs/TreePropertySheet.cpp  |   13 +-
 dialogs/world_prefs/TreePropertySheet.h    |    9 +-
 dialogs/world_prefs/aliasdlg.cpp           |    2 +-
 dialogs/world_prefs/configuration.cpp      |    2 +-
 dialogs/world_prefs/editmac.cpp            |    2 +-
 dialogs/world_prefs/genpropertypage.cpp    |    2 +-
 dialogs/world_prefs/prefspropertypages.cpp |   18 +-
 dialogs/world_prefs/themeglue.h            |   68 +
 dialogs/world_prefs/triggdlg.cpp           |    2 +-
 doc.cpp                                    |  749 +--
 doc.h                                      |   77 +-
 doc_construct.cpp                          |   11 +-
 evaluate.cpp                               |   42 +-
 exceptions.cpp                             |    2 +-
 format.cpp                                 |    2 +-
 genprint.cpp                               |    2 +-
 globalregistryoptions.cpp                  |    4 +-
 install/mushclient.nsi                     |  242 +-
 install/readme.txt                         |   12 +-
 lsqlite/lsqlite3.c                         |    3 +-
 lua/Automatic_Backup.xml                   |   60 -
 luacom/LuaCompat.h                         |   12 +
 luacom/readme.txt                          |   17 +
 luacom/tCOMUtil.cpp                        |    3 +
 luacom/tUtil.cpp                           |    2 +
 mainfrm.cpp                                |    2 +-
 mcdatetime.cpp                             |   14 +-
 miniwindow.cpp                             |   18 +-
 mushclient.clw                             | 1386 ---
 mushview.cpp                               |  337 +-
 mxp/mxp.cpp                                |    2 +-
 mxp/mxpClose.cpp                           |   67 +-
 mxp/mxpCloseAtomic.cpp                     |    3 +-
 mxp/mxpDefs.cpp                            |   25 +-
 mxp/mxpEnd.cpp                             |    2 +-
 mxp/mxpEntities.cpp                        |    2 +-
 mxp/mxpError.cpp                           |   27 +-
 mxp/mxpMode.cpp                            |    2 +-
 mxp/mxpOnOff.cpp                           |   25 +-
 mxp/mxpOpenAtomic.cpp                      |    4 +-
 mxp/mxpStart.cpp                           |   28 +-
 mxp/mxpinit.cpp                            |    2 +-
 mxp/mxputils.cpp                           |    2 +-
 pcre/readme.txt                            |   25 +-
 plugins.cpp                                |  532 +-
 plugins.h                                  |  240 +
 plugins/ATCP_Mapper.xml                    |    1 +
 plugins/Automatic_Backup.xml               |   60 +
 plugins/Config_Option_Changer.xml          |   50 +-
 plugins/Lua_Sapi.xml                       |  144 -
 plugins/Messages_Window.xml                |   14 +-
 plugins/Omit_Blank_Lines.xml               |   41 +
 plugins/Text_To_Speech.xml                 |  144 +
 plugins/Timestamps.xml                     |  153 +
 plugins/chat.xml                           |  832 +-
 plugins/lua_chat.xml                       |  965 --
 png/readme.txt                             |    5 +
 regexp.cpp                                 |    7 +-
 resource.h                                 |    4 +-
 scripting/bits.c                           |  127 +-
 scripting/functionlist.cpp                 |   39 +-
 scripting/lbc.c                            |   22 +-
 scripting/lpeg.c                           |   26 +-
 scripting/lrexlib.c                        |   11 +
 scripting/lua_compress.c                   |   20 +
 scripting/lua_methods.cpp                  |   47 +-
 scripting/lua_progressdlg.cpp              |   16 +-
 scripting/lua_scripting.cpp                |  300 +-
 scripting/lua_utils.cpp                    |  231 +-
 scripting/methods.cpp                      |14991 ----------------------------
 scripting/methods/methods.cpp              |   99 +
 scripting/methods/methods_accelerators.cpp |  216 +
 scripting/methods/methods_aliases.cpp      |  835 ++
 scripting/methods/methods_arrays.cpp       |  619 ++
 scripting/methods/methods_chat.cpp         | 1257 +++
 scripting/methods/methods_clipboard.cpp    |   29 +
 scripting/methods/methods_colours.cpp      |  256 +
 scripting/methods/methods_commands.cpp     |  586 ++
 scripting/methods/methods_database.cpp     |  621 ++
 scripting/methods/methods_defaults.cpp     |  185 +
 scripting/methods/methods_info.cpp         | 1825 ++++
 scripting/methods/methods_infobar.cpp      |  169 +
 scripting/methods/methods_logging.cpp      |  135 +
 scripting/methods/methods_mapping.cpp      |  140 +
 scripting/methods/methods_miniwindows.cpp  | 1394 +++
 scripting/methods/methods_notepad.cpp      |  515 +
 scripting/methods/methods_noting.cpp       |  631 ++
 scripting/methods/methods_output.cpp       |  774 ++
 scripting/methods/methods_panes.cpp        |  204 +
 scripting/methods/methods_plugins.cpp      |  586 ++
 scripting/methods/methods_sending.cpp      |  146 +
 scripting/methods/methods_sounds.cpp       |  441 +
 scripting/methods/methods_speedwalks.cpp   |  557 ++
 scripting/methods/methods_spellchecker.cpp |  348 +
 scripting/methods/methods_timers.cpp       |  918 ++
 scripting/methods/methods_tracing.cpp      |   79 +
 scripting/methods/methods_triggers.cpp     |  894 ++
 scripting/methods/methods_udp.cpp          |  173 +
 scripting/methods/methods_utilities.cpp    |  633 ++
 scripting/methods/methods_variables.cpp    |  137 +
 scripting/methods/methods_worlds.cpp       |  106 +
 scripting/methods/methods_xml.cpp          |  265 +
 scripting/number.c                         |   16 +-
 scripting/scriptengine.cpp                 |   10 +
 scripting/scripting.cpp                    |    8 +-
 scripting/scripting.h                      |   44 +
 scripting/spellchecker.lua                 |  397 +
 scriptingoptions.cpp                       |    9 +
 sendvw.cpp                                 |  130 +-
 serialize.cpp                              |    4 +-
 sqlite3/readme.txt                         |   18 +-
 stdafx.h                                   |  158 +-
 telnet_phases.cpp                          |  105 +-
 textchildfrm.cpp                           |    4 +-
 timers.cpp                                 |  405 +
 winplace.cpp                               |   17 +-
 world_debug.cpp                            |   94 +-
 worldsock.cpp                              |   16 +-
 xml/xml_load_world.cpp                     |  120 +-
 xml/xml_save_world.cpp                     |   10 +-
 xml/xml_serialize.cpp                      |   15 +-
 xml/xmlparse.cpp                           |    5 +-
 zlib/readme.txt                            |    9 +
 214 files changed, 22011 insertions(+), 20681 deletions(-)
 

Commit log (date order)


$ git --no-pager log --pretty=oneline --reverse --abbrev-commit v4.61..v4.62


cd92b45 Updated version number to 4.62
5e10d92 Added spellchecker.lua to Git
a8c7c30 Added Write-Ahead-Logging to spellchecker.lua
bfaea92 Added Write-Ahead-Logging to ATCP_Mapper.lua
0f2d70c Changed Messages_Window.xml to load the font and then check it
347fdc1 Fixed bug in GetTracebackFunction
a9ec61a VS2010 compatibility changes
985c360 Moved Automatic_Backup.xml from lua directory to plugins directory
3a06ff1 Removed some old fairly useless plugins from installer
1fbac65 Made chat.xml the Lua version, removed VBscript version
30d726f Renamed  Lua_Sapi.xml as  Text_To_Speech.xml
a95c8de Changed internal name of Text_To_Speech plugin
4d88d3d Changed a couple of global defaults
08361f3 Added check for proper version of MFC to fix lua_Number, may cause (unexpected) data loss.
f1b3613 Fixed unnecessary loss of precision in HSL calculations.
5db91d8 More colour-related typecasts made explicit.
a2fb8ea Added explicit typecast to height calculation.
533b31f Fixed warning about possible operator precedence mistake.
303f440 More warning fixes, most dealing with signed/unsigned in some way.
c043e3c More typecast juggling while attempting to keep types most appropriate to the current scope.
3fff4c5 More explicit typecasts.
a0d2cd3 Got rid of compiler warnings, bumped warning level to 4
5f711c8 Fixed bug where world filename was not known during plugin install
fb920a3 Merge commit '3fff4c532c363ac933c9'
5af96f8 Revert "More explicit typecasts."
07792ac Revert "Merge commit '3fff4c532c363ac933c9'"
e2ecc40 Fixed some more warnings
ec10d6c Fixed a couple of warnings, and a small bug
8363e59 Fixed bug where MUSHclient would crash on startup if prefs database locked
54797dc Tidied up plugin scripting callbacks
13411c1 Bugfixes and code cleanups
a03c93b Fixed bug, removed *.clw files from git
06d4a43 Changes to plugin callbacks to support miniwindows
d1b453f Attempted to fix path for MUSHclient startup in installer
e38cf98 Moved plugin definitions to plugins.h
b1b2ab6 More code cleanups
fdf8af1 Fixed warnings, saved 1Mb of executable size by moving something
6256688 Added comments, fixed warnings
0f1e591 Moved some warning pragmas around
5de14b9 Moved 'do to all' plugins functions to plugins.cpp
00fa603 Changed plugins list from an MFC list to a STL list
2fb56ad Left out a plugin counter add
96b7775 Improvements per Twisol commit a18fce9be294
2a32a4d Code cleanups per Twisol commit d922a9537
93994ad DatabaseError now returns a message for codes -1 to -7 (internal errors)
9bc7e9c Added Lua script function: utils.filterpicker
4bede38 Altered utils.filterpicker to put the table as the 1st argument
34e9dbb Improvements to utils.filterpicker to allow filter function
1fa37b3 Added Lua function utils.timer
4a20b70 Added GetInfo (297) - frequency of high-resolution timer
3998532 Moved blending defines from stdafx.h to blending.h
b20dffe Updated to XP look-and-feel, more stuff re moving blending defines
9306b5d Added Omit_Blank_Lines.xml plugin to the distribution
2a145be Fix ups on the change to the visual appearance
eae4020 Sorted plugins into alphabetic order in installer
549e662 Added stuff for output window line preamble
35a26d1 Fixed problems with selected text and line preambles
645bd7f Updated Config_Option_Changer plugin to handle new timestamps
5120d0c Renamed output_line_preamble_xxx options as timestamp_xxx
907f93c Added Timestamps plugin to the distribution
7e32bd7 Code cleanups
98bfbc3 Moved timer processing to separate file
b0dd824 More code cleanups
c3a73e4 More code cleanups - more comments
6880075 More code cleanups
e8b5c97 Added VS2010 project files
d83b280 More code cleanups (comments)
cb209c5 Fixed bug where mousedown etc. would not work near end of lines with timestamps
d65fc5a Fixed bug where plugins would not save their state
814d672 Reorganised source, put methods in subdirectory
0665664 Fixups related to moving the files to a subdirectory
24e3b52 Fixed (?) bug where notepad windows might load garbage
e362b37 More source cleanups, added nice comments in methods_xxx files
b4128d4 Added Lua script function utils.infotypes
5e97cdf Fixed bug where saving notepad windows didn't work correctly
5070ae9 Fixed spelling error in comment
a258f7f Mentioned availability of source in the readme.txt file
c2d77b0 Fixed config property sheet themes per Worstje commit 9b3d8e5aae
f1b12cc Fixed config property sheet glitch per Worstje commit 3f1bece83a
7b35548 Fixed memory leak on loading state files
c038158 Fixed bug with garbled text in the notepad window
105c37b Attempting to locate memory leaks
536c79b Fixed themeglue.h/methods.cpp references, added all other method_*.cpp files to project.
da90327 Closed UxTheme.dll library
4782711 Removed scripting/methods.cpp from the VS2005 project and added the scripting/methods/*.cpp files as well as timers.cpp
99333f2 Fixes for different versions of Visual Studio
00826f8 Merge branch 'vs2005_methods_fix' of http://github.com/Twisol/mushclient into Twisol-vs2005_methods_fix
5ba9316 Added comments to show special date options.
1a5ad22 Can't use multiple hyphens in XML comments
27bfdae Added microseconds to timestamps: %e %D
0ea8512 Added comments re microseconds in timestamps
3210dac Remembered when document started in high-precision time
9068bac Added elapsed time for GetLineInfo
e9d712f Redraw output window the moment timestamps are changed
3671e7e Made some stuff compiler-specific
890d720 Some more mucking around
b17c5b9 Opened Lua libraries in a more correct way
c529fba Fixed a couple of memory leaks
8576525 Final changes before release


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


1,192 views.

Postings by administrators only.

[Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]