summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
AgeCommit message (Collapse)AuthorFilesLines
2012-03-24Introduced compile-time option to disable use of C++0xThorbjørn Lindeijer1-1/+1
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-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-10Added a separate label for the download description in the server dialog.Yohann Ferreira1-0/+1
+ Fixe requested by Ablu. Reviewed-by: Ablu
2012-01-10Added a modify button to the server dialog.Yohann Ferreira1-1/+8
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-28/+3
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-5/+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-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-8/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-03-22Add option for sorting servers list (issue 316)Blue Sans Douze1-0/+5
2010-11-02Re-Enable the support of manaserv servers.Yohann Ferreira1-3/+0
Reviewed-by: CodyMartin.
2010-11-02Adding double-click to server dialog and world select dialogStefan Dombrowski1-0/+2
This resolves http://bugs.manasource.org/view.php?id=259 Reviewed-by: Thorbjorn
2010-10-13Hiding Manaserv from the player on TMW-Athena only releaseStefan Dombrowski1-0/+3
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-3/+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-04-06Fix a crash when adding new serversJared Adams1-5/+0
Reviewed-by: Chuck Miller
2010-03-29Add minimum version information to the server listJared Adams1-0/+12
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-13Make removing a server effective even when quitting afterwardsThorbjørn Lindeijer1-7/+5
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-03Connect to a server when it's double clickedJared Adams1-0/+3
Reviewed-by: Bernd Wachter
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams1-2/+9
Reviewed-by: Thorbjørn Lindeijer
2010-02-28Removed a few pointless const qualifiersThorbjørn Lindeijer1-1/+1
Reviewed-by: Jared Adams
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
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-0/+24
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.
2009-12-06Improve keyboard accessibility of login sequenceJared Adams1-0/+4
Enter and Escape now move forward and backwards for all dialogs except ServerSelectDialog (Escape quits) and CharSelectDialog (Enter doesn't do anything special).
2009-10-13Add an asynchronous download classJared Adams1-40/+52
And use it to download news, updates, and the server list.
2009-10-08Added "Add manual server entry" option to server selection dialog for betterAndreas Habel1-4/+7
handling of listentries.
2009-10-07Added sorting to online serverlist by last usage and merge of local andAndreas Habel1-0/+19
remotely listed servers.
2009-10-06Implemented server selection list loaded from online xml file.Andreas Habel1-0/+3
2009-10-04Made sure the server information updates when dragging the server listThorbjørn Lindeijer1-2/+10
It was only updating on click events, due to using ActionListener instead of SelectionListener.
2009-10-03Polish login procedure and fix some bugs with itJared Adams1-4/+4
WorldSelectDialog now works correctly. Buttons for several dialogs have more explainatory text and consistant locations.
2009-09-30Merge login state machines for both clientsJared Adams1-21/+7
Also do some cleanup and refactoring of related code.
2009-04-15Have the DropDown create its ScrollArea and ListBoxBjørn Lindeijer1-2/+0
And also clean them up again. Fixes some memory leaks and simplifies the code. Also got rid of the basically unused "opaque" setting of DropDown.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-1/+1
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-07Used custom widgets where appropriate and some cleanupBjørn Lindeijer1-11/+16
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
2009-03-26Fixes to file headers and header guardsBjørn Lindeijer1-6/+6
Mostly removal of branding for tmwserv related files, as was done for the eAthena client before.
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer1-2/+2
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams1-1/+1
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2007-10-22Plugged memory leak. Simplified code. Removed annoying reset of text fields. ↵Guillaume Melquiond1-27/+0
Changed error message and marked it as translatable.
2007-08-13Fixed svn properties.Guillaume Melquiond1-1/+1
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-3/+2
2006-12-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-1/+1
2006-09-13Forgot to remove TODOS. At last, it is good.Yohann Ferreira1-2/+0
2006-09-13Added a skinned reusable dropdown widget and used it in the server dialog.Yohann Ferreira1-11/+13
2006-09-01Fixed some header issues and updated project filesEugenio Favalli1-8/+16
2006-08-30Windows fix to previous commit.Yohann Ferreira1-1/+1
2006-08-30Added a first version of the server dialog with an unskinned dropdown. ↵Yohann Ferreira1-0/+145
Upgraded also the connection window a bit to handle Cancelling more gracefully.