summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-01-29Apply C++11 fixitsThorbjørn Lindeijer1-6/+5
modernize-loop-convert modernize-deprecated-headers
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-10/+10
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-26Added support for the "persistentIp" server info settingThorbjørn Lindeijer1-2/+11
This option was added in ManaPlus and support for it is required to connect to The Mana World as it is currently set up, since the server sends 127.0.0.1 for the character server and map server IP. Can't play yet, because of an unknown packet 0x226 being received once connecting to the map server.
2013-05-09Changed default serverlist.xml URL to avoid redirectThorbjørn Lindeijer1-1/+1
Previously the redirect was from www.manasource.org to manasource.org.
2012-03-24Merge branch '0.6'Thorbjørn Lindeijer1-2/+2
2012-03-24Introduced compile-time option to disable use of C++0xThorbjørn Lindeijer1-2/+2
This is in order to still support older compilers, in particular GCC 4.2.1, so that Mana may be compiled for Maemo 5. Reviewed-by: Yohann Ferreira
2012-03-21Added default ports when connecting to a custom server.jurkan1-14/+2
When creating a custom server entry, the default port is used if no other port is specified. Reviewed-by: Thorbjørn Lindeijer Mantis-issue: 464
2012-02-26Fixed display of server descriptionErik Schilling1-0/+1
Reviewed-by: bjorn.
2012-02-18Fixed manaserv-enabled buildsThorbjørn Lindeijer1-2/+2
Wrong define was used in the code.
2012-02-12Restored manaserv-less buildsYohann Ferreira1-3/+11
I made sure the manaserv based custom server don't get deleted when running a manaserv-less client session. Reviewed-by: Thorbjørn Lindeijer
2012-01-31Fixed saving the selected server at server connection level.Yohann Ferreira1-1/+3
I also change the serverInfo to use a deque to permit the use of the push_front function. Spotted and reviewed-by: Erik Schilling
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-1/+1
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira
2012-01-10Added a separate label for the download description in the server dialog.Yohann Ferreira1-10/+13
+ Fixe requested by Ablu. Reviewed-by: Ablu
2012-01-10Added a modify button to the server dialog.Yohann Ferreira1-12/+41
This was righteously requested by Ablu as missing when dealing with one's own entries. Reviewed-by: Ablu
2012-01-10Made addition of custom servers be done in a separate window.Yohann Ferreira1-122/+54
Now the first window the user can see is a list of servers which can double-clicked, making it all less cluttered. This commit also makes custom servers able to now have their own titles and their own description, just as the official ones. I also fixed the add entry button being registered twice to the action listener, and the fact that the description wasn't updated properly at windows loading and when adding/removing an entry. Resolves: Mana-Mantis #237. Reviewed-by: Ablu
2011-04-30Revert "Add option for sorting servers list"Stefan Dombrowski1-53/+0
This reverts commits e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6 and e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6. Sometimes the text fields and the list show different server selected, so you don't see to what server you connect. It is a big security risk sending your user name and password to the wrong server. Reviewed-by: Freeyorp, Bertram
2011-03-25Merge branch '0.5'Thorbjørn Lindeijer1-1/+1
Conflicts: CMakeLists.txt po/pt_BR.po po/ru.po src/winver.h
2011-03-22Fix a warning on serverdialogBlue Sans Douze1-2/+1
2011-03-22Add option for sorting servers list (issue 316)Blue Sans Douze1-0/+54
2011-03-05Fixing removal of custom serverStefan Dombrowski1-1/+1
The server got selected from a list that still contained the unwanted server.
2010-11-02Re-Enable the support of manaserv servers.Yohann Ferreira1-51/+0
Reviewed-by: CodyMartin.
2010-11-02Adding double-click to server dialog and world select dialogStefan Dombrowski1-0/+10
This resolves http://bugs.manasource.org/view.php?id=259 Reviewed-by: Thorbjorn
2010-11-01Merge branch '0.5' of gitorious.org:mana/manaYohann Ferreira1-11/+51
Conflicts: src/being.cpp src/client.cpp src/commandhandler.cpp src/gui/setup_video.cpp src/gui/socialwindow.cpp src/gui/viewport.cpp src/gui/widgets/browserbox.cpp src/gui/widgets/itemcontainer.cpp src/imageparticle.cpp src/localplayer.cpp src/localplayer.h src/map.cpp src/net/tmwa/beinghandler.cpp src/particle.cpp src/particle.h src/player.cpp src/player.h
2010-10-13Hiding Manaserv from the player on TMW-Athena only releaseStefan Dombrowski1-0/+51
With the preprocessor definition MANASERV_SUPPORT the manaserv support is avaible as before. * Removing server type from server dialog GUI. * Ignoring Manaserv entries in serverlist.xml. * In order not to lose Manaserv CustomServers from the config.xml, they get stored in mManaservServers. * The entries in mManaservServers are saved in config.xml again. But they are now behind the TMWA-Athena servers. * For custom server the GUI sets 6901 as default value for port. * If the server type is unknown, then we use TMW-Athena. This is relevant, if the client is started with command line options for server. Reviewed-by: Bertram
2010-09-28Removing click-countStefan Dombrowski1-11/+0
Click-count is not double-click, because it does neither check if the clicks happen on the same object nor if the clicks happen in rapid succession. * In the server dialog it can happen that you can get connected by just selecting a server. * In the social window it can happen that you open a chat by just clicking once on a name. * In the inventory window you better only select useable items if you want to use them, because they might get used by just selecting them. * And in case you actually want to use double-click, it often does not work, because click-count is already larger than 2. This reverts the commits: 8b4d9f9b5eaf175baf0c4209c312133bb457742c b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925 4c27bfbf6ca84546e5b914b7909df14dd2966081 Reviewed-by: Thorbjorn
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer1-1/+1
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-09-11Fixing misspelling in Setup_Video and removing empty lines from logStefan Dombrowski1-1/+1
Reviewed-by: Jaxad0127
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-2/+2
Reviewed-by: Yohann Ferreira
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-06-13Merge remote branch '1.0/1.0'Jared Adams1-6/+12
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-13Handle char-server login errors betterJared Adams1-0/+1
Also fix a small compilation error sometimes reported. Reviewed-by: Chuck Miller
2010-06-12Add error.xml to client repository and move error.pngJared Adams1-0/+2
There is no reason why error.xml shouldn't be in this repository, as it is used when no sprite data is present and is a very small file anyways. Servers can still replace these if they want to. error.png is only used in sprites, so should be in the new sprites folder too. Reviewed-by: 4144
2010-06-03Cleanup some logging statementsJared Adams1-7/+1
Reviewed-by: Thorbjørn Lindeijer
2010-06-03Ignore unknown server types in the server listJared Adams1-0/+9
Problem reported by Sokon. Reviewed-by: Ignoring server entry with unknown type:
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer1-0/+2
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-05Fix showing the type of the default serverJared Adams1-0/+2
Reviewed-by: Thorbjørn Lindeijer
2010-05-01Add chat logging.Andrei Karas1-0/+3
Add option in players setup page. Add command line option. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-8/+8
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-12Fix error in server list download when download has problemsJared Adams1-2/+5
2010-04-06Fix a crash when adding new serversJared Adams1-23/+9
Reviewed-by: Chuck Miller
2010-03-29Add minimum version information to the server listJared Adams1-29/+141
Use it to hilight entries that we don't meet. Also make the entries in that list higher, put server name and location on different lines, and use the description below the list. The dialog is also resizable now. Reviewed-by: Freeyorp
2010-03-15Fix some branding issuesJared Adams1-12/+2
Reviewed-by: Chuck Miller
2010-03-15Fix button overlap issues in login dialogsJared Adams1-1/+11
Reviewed-by: Thorbjørn Lindeijer
2010-03-14Fix saving the selected serverJared Adams1-3/+3
Reviewed-By: Freeyorp
2010-03-13Make removing a server effective even when quitting afterwardsThorbjørn Lindeijer1-69/+84
The custom server list was only saved when connecting to a server. Instead, removing a server from the list should be effective regardless of what is done afterwards. Reviewed-by: peavey
2010-03-03Fix ServerDialog server selection change handlingJared Adams1-2/+1
Reviewed-by: Thorbjørn Lindeijer
2010-03-03Connect to a server when it's double clickedJared Adams1-3/+15
Reviewed-by: Bernd Wachter
2010-02-28Fix inital state of server delete buttonJared Adams1-1/+1
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams1-7/+28
Reviewed-by: Thorbjørn Lindeijer