263 Commits

Author SHA1 Message Date
Mark de Wever
83abc62e0b Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2009-10-02 19:25:56 +00:00
Jörg Hinrichs
c04b40db46 Fixes bug #14241...
...(mp campaigns: timer settings do not carry over to next
scenario). This (again) breaks mp savegame compatibility with all
previous releases. Campaigns shouldn't be affected.
2009-09-22 17:52:33 +00:00
Tomasz Śniatowski
c503f92a83 support for passworded games in new lobby 2009-08-01 00:26:51 +01:00
Tomasz Śniatowski
59a04d94a7 another bit of the new lobby.
Shows the minimap, more useful info in the gamelist and also fixed
preferences dialog display glitch
2009-07-07 19:49:35 +01:00
Tomasz Śniatowski
a44ebce1e9 Yet another new lobby WIP, this time with crude but working create/join game. 2009-07-05 18:49:11 +01:00
Tomasz Śniatowski
5c380490ef more new lobby WIP 2009-07-04 17:24:35 +01:00
Tomasz Śniatowski
714b2c60fb Reapply "show the not-functional-yet lobby dialog when --new-widgets is used" 2009-07-01 10:30:42 +01:00
Tomasz Śniatowski
c04bf21eb5 Revert "show the not-functional-yet lobby dialog...
...when --new-widgets is used" for 1.7.1
2009-06-28 16:27:24 +01:00
Tomasz Śniatowski
4e414301b5 show the not-functional-yet lobby dialog when --new-widgets is used 2009-06-28 01:11:21 +01:00
Gunter Labes
b825474ddc process network data first...
...so user actions work on as uptodate data as possible

should fix some rare race conditions (as far as is possible)
2009-06-21 01:36:27 +00:00
Mark de Wever
7d5b7f8da9 Convert show_error_message calls form gui to gui2. 2009-05-22 14:59:19 +00:00
Thomas Baumhauer
9f02a2724b fix bug #13478 introduced in 2009-04-04T17:51:20Z!guillaume.melquiond@gmail.com 2009-05-06 11:42:49 +00:00
Tomasz Śniatowski
a84b04ff90 fix some msvc warnings 2009-05-01 23:30:21 +01:00
Guillaume Melquiond
789736ac91 Removed specialized domains from log.hpp,
...so that adding a new domain no longer forces to recompile the whole
game.
2009-04-24 23:18:31 +00:00
Guillaume Melquiond
8065d803d2 Removed unused variable. 2009-04-05 18:03:03 +00:00
Guillaume Melquiond
60808a88ba Got rid of pointers to config objects. Removed code duplication along the way. 2009-04-04 17:51:20 +00:00
Thomas Baumhauer
c6590bc850 cleanup of the password hashing code and the login protocol...
...(thus breaks compatibility)
2009-03-29 16:53:42 +00:00
Thomas Baumhauer
8c3b441752 fix unregistered nick error: remove untranslatable space 2009-03-19 15:03:33 +00:00
Thomas Baumhauer
415de6014c remove line that does nothing 2009-03-19 14:57:58 +00:00
Thomas Baumhauer
2b8f297201 made error message for unregistered nicks translatable 2009-03-19 14:46:38 +00:00
Thomas Baumhauer
c7c16d4272 fix: making the characters <>"& work in passwords 2009-03-17 19:22:14 +00:00
Thomas Baumhauer
a2d4cfffcb added the possibility to disable login of unregistered...
...users to the mp server per Soliton's request
2009-03-11 18:43:11 +00:00
Gunter Labes
c4c439e7e2 send lobby diffs seperately;...
...fixes bug #13099: MP lobby player list becomes inaccurate over time
2009-03-03 09:28:16 +00:00
Gunter Labes
2c7234d680 give server moderators the option to observe any game...
...(server still needs to allow it)
2009-02-25 01:45:48 +00:00
Thomas Baumhauer
e0833da90b removed unneeded mp error code 2009-02-13 19:42:49 +00:00
Gunter Labes
62a219857a typo fix 2009-02-12 10:16:04 +00:00
Gunter Labes
7dc056daa2 uniformly used 'nick' instead of 'username' and display the nick in question 2009-02-11 23:16:10 +00:00
Thomas Baumhauer
da84ed2454 Make the error messages of the login procedure translatable:
...error messages are created on the client side from error codes sent
by the server.
2009-02-11 21:54:16 +00:00
Gunter Labes
f14954ab5b use an already existing string for the ghost kick confirmation dialog 2009-02-11 18:59:21 +00:00
Thomas Baumhauer
cb952b47b4 fix for the login procedure:
...added a confirmation dialog to prevent users from accidentally
kicking themselves.
2009-02-10 18:23:03 +00:00
Thomas Baumhauer
f34034cc42 made password reminder requests work again...
...(thanks to zookeeper for finding this bug)
2009-01-31 10:57:29 +00:00
Thomas Baumhauer
5941c9bce8 reenable people to write their own user handlers:
...only let the client encrypt the password using phpbb's algorithm if
the server has asked it to do so.
2009-01-29 17:17:16 +00:00
Ignacio R. Morelle
86b55949c3 Hide the "Network Player" option for Local MP games (bug #12596) 2009-01-21 00:30:01 +00:00
Ignacio R. Morelle
1100a9961e Indentation change. 2009-01-21 00:29:33 +00:00
Ignacio R. Morelle
695b2e4bc5 Removed more references to the 1.0.x internal server. 2009-01-21 00:29:16 +00:00
Ignacio R. Morelle
8287823446 Renamed mp::start_server() to mp::start_local_game(),
...and removed a few references to the 1.0.x internal server code.
2009-01-21 00:28:58 +00:00
Thomas Baumhauer
b17c7ff63f made the login dialog smarter:
if the server asks for a password automatically select the password box
2009-01-18 18:39:19 +00:00
David White
98234b052d removed perverse explicit destructor call 2009-01-16 19:11:29 +00:00
Thomas Baumhauer
798e0a1001 Added a textbox widget that displays its input as stars to be used...
...in the mp login dialogs.
2009-01-15 17:38:23 +00:00
Thomas Baumhauer
61fc432f9b somewhat clearing the multiplayer login dialog mess:
- added the possibility to provide a password in the mp method selection dialog

- merged all dialogs that displayed erros or allowed entering the
  username or password into one dialog.

- password is now saved in preferences (todo: add option to turn this off)
2009-01-13 20:46:19 +00:00
Thomas Baumhauer
1cfc820ee4 slight improvement of the login dialog mess:
...remove the dialog that displays an error message and display the
error in the dialog for choosing a new username instead
2009-01-12 20:08:38 +00:00
Thomas Baumhauer
40125bf122 grey out the moderation buttons in the command wrapper dialog...
...if the client is not authenticated as a mod
2009-01-10 19:19:21 +00:00
Thomas Baumhauer
0b3a73bdd6 removing redundant vector 2009-01-06 10:15:29 +00:00
Mark de Wever
973a0a7d5c Remove trailing whitespace. 2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Thomas Baumhauer
06cf6bdf04 redoing the login dialog with the new widgets 2008-12-30 19:41:58 +00:00
Sergey Popov
495f481fdf Split off formula_string_utils from string_utils.
Break the dependency of string_utils.cpp on formula ai since it pulls
in practically everything else as result. Since servers use
string_utils.cpp this is unacceptable.
2008-12-21 15:26:11 +00:00
Eric S. Raymond
9223460daa Remove unused headers. 2008-11-09 04:35:13 +00:00
Thomas Baumhauer
4f47bfe2b6 Fixing error handling for invalid username+password hashes 2008-10-08 18:53:18 +00:00
Mark de Wever
3bf25202d8 Update doxygen comment style. 2008-09-19 15:30:32 +00:00