Skip to content

Upgrade IRC library to Communi 3.5.0#942

Merged
ahmedcharles merged 8 commits intoMudlet:developmentfrom
itsTheFae:upgrade-communi35
Apr 22, 2017
Merged

Upgrade IRC library to Communi 3.5.0#942
ahmedcharles merged 8 commits intoMudlet:developmentfrom
itsTheFae:upgrade-communi35

Conversation

@itsTheFae
Copy link
Copy Markdown
Contributor

This removes the 1.2.1 library completely and inserts the 3.5.0 version in it's place.
Changes in mudlet's src.pro removes all references to the irc library and replaces them with a .pri include at the top of the file.
Changes in the irc dialog involved renaming IrcSession to IrcConnection and the session pointer to connection throughout the other files.
Just for easy reference, the library source, docs, and change logs can be found here: http://communi.github.io/

Removed old entries in INCLUDEPATH, SOURCES, HEADERS and
DISTFILES directives. They are handled in the src.pri file.
CMakeLists.txt for Communi was removed temporarilly (missing from 3.5
source, needs updates.)
Changed header includes.
Updated IrcSession to IrcConnection
Renamed `session` member to `connection`
Updated IrcMessage::fromCommand(...) to cmd->toMessage(...)
@vadi2
Copy link
Copy Markdown
Member

vadi2 commented Apr 22, 2017

Tagging @Mudlet/core-cpp for review

@ahmedcharles
Copy link
Copy Markdown
Contributor

Note, I originally wrote the CMakeLists.txt file, not the communi project. So, it was never part of their distribution.

@vadi2
Copy link
Copy Markdown
Member

vadi2 commented Apr 22, 2017

Would you be able to update it for the new Communi?

@ahmedcharles
Copy link
Copy Markdown
Contributor

I updated it, though my commit probably looks weird since it includes changes from the latest development as well. I'd like to apply this after #943.

Copy link
Copy Markdown
Member

@vadi2 vadi2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely looks weird and not feasible to review so I'll roll with it and any issues found can be fixed up later.

@ahmedcharles ahmedcharles merged commit be73caa into Mudlet:development Apr 22, 2017
@itsTheFae
Copy link
Copy Markdown
Contributor Author

@ahmedcharles Thanks a bunch for the help with this! Sorry if it was a bit of a mess to clean up.

@itsTheFae itsTheFae deleted the upgrade-communi35 branch April 22, 2017 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants