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 ➜ Development ➜ Reorganisation of script methods in the source

Reorganisation of script methods in the source

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Nick Gammon   Australia  (23,132 posts)  Bio   Forum Administrator
Date Sun 26 Sep 2010 03:19 AM (UTC)

Amended on Sun 26 Sep 2010 03:51 AM (UTC) by Nick Gammon

Message
For those who are following the source code, I have made a major revamp of the way the scripting methods are stored. Previously they were all in the rather large and unwieldy (about 15,000 lines) file methods.cpp.

Now they have been moved into separate files based on the general nature of the script function, and all of them have been moved into a subdirectory scripting/methods.


  deleted:    methods.cpp
  new file:   methods/methods.cpp
  new file:   methods/methods_accelerators.cpp
  new file:   methods/methods_aliases.cpp
  new file:   methods/methods_arrays.cpp
  new file:   methods/methods_chat.cpp
  new file:   methods/methods_clipboard.cpp
  new file:   methods/methods_colours.cpp
  new file:   methods/methods_commands.cpp
  new file:   methods/methods_database.cpp
  new file:   methods/methods_defaults.cpp
  new file:   methods/methods_info.cpp
  new file:   methods/methods_infobar.cpp
  new file:   methods/methods_logging.cpp
  new file:   methods/methods_mapping.cpp
  new file:   methods/methods_miniwindows.cpp
  new file:   methods/methods_notepad.cpp
  new file:   methods/methods_noting.cpp
  new file:   methods/methods_output.cpp
  new file:   methods/methods_panes.cpp
  new file:   methods/methods_plugins.cpp
  new file:   methods/methods_sending.cpp
  new file:   methods/methods_sounds.cpp
  new file:   methods/methods_speedwalks.cpp
  new file:   methods/methods_spellchecker.cpp
  new file:   methods/methods_timers.cpp
  new file:   methods/methods_tracing.cpp
  new file:   methods/methods_triggers.cpp
  new file:   methods/methods_udp.cpp
  new file:   methods/methods_utilities.cpp
  new file:   methods/methods_variables.cpp
  new file:   methods/methods_worlds.cpp
  new file:   methods/methods_xml.cpp

- Nick Gammon

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

Posted by WillFa   USA  (525 posts)  Bio
Date Reply #1 on Sun 26 Sep 2010 05:05 AM (UTC)
Message
So much for not refactoring. ;)

Bad Twisol! Bad!
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #2 on Sun 26 Sep 2010 05:26 AM (UTC)
Message
Nick has caught the bug for sure.

Seriously though, awesome work. That'll definitely help to make things more accessible.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #3 on Sun 26 Sep 2010 05:32 AM (UTC)
Message
Awesome work!

WillFa said:
So much for not refactoring. ;)

Bad Twisol! Bad!

Huh?

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
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.


17,070 views.

It is now over 60 days since the last post. This thread is closed.     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.