summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2010-02-28Some code cleanup regarding the server dialogThorbjørn Lindeijer1-104/+116
Reviewed-by: Jared Adams
2010-02-28Removed a few pointless const qualifiersThorbjørn Lindeijer1-1/+1
Reviewed-by: Jared Adams
2010-02-28Take the URL to the server list from the branding fileThorbjørn Lindeijer1-4/+8
This way, a Mana based game can have multiple servers associated with it (for example with different languages), listed under the same branding. Reviewed-by: Jared Adams
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-5/+6
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Cleanup some memory issuesJared Adams1-0/+4
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-13/+47
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-25Fix a bug when converting strings to server typesJared Adams1-1/+1
2010-01-24Better handle server typesJared Adams1-14/+39
Now they are stored in the config file instead of defaulting to current build type.
2010-01-11Cleanup GUI classesJared Adams1-4/+4
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.