summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-11Removed many pointless comparisons with NULLBjørn Lindeijer1-2/+2
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
2009-02-10Don't make log statements translatableBjørn Lindeijer1-4/+4
The log is mainly used to aid the developers, hence shouldn't be translated to the user's local language. Also introduces unnecessary work for all translators.
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-3/+3
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-16Some small layout tweaks, as well as making a few dialogs moreIra Rice1-2/+2
consistent UI-wise (continue-like functionality is always in the bottom right corner, with canceling to the left of it). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-4/+2
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Style fix for last commitPhilipp Sehmisch1-1/+1
2009-01-09Fixed nonsensical percent values in update dialog.Philipp Sehmisch1-2/+3
2009-01-08Made remaining dialogs translatableBjørn Lindeijer1-15/+16
Most strings are now translatable. Please do report any missing ones. Strings excluded from translation are anything that gets written to the log file or is otherwise not shown in the GUI. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-01-06Adapted the update window to use the layout widget.Ira Rice1-17/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-10/+12
Conflicts: AUTHORS CMakeLists.txt ChangeLog INSTALL README aethyra.cbp configure.ac data/help/changes.txt data/help/commands.txt data/help/header.txt data/help/support.txt src/Makefile.am src/aethyra.rc src/being.cpp src/being.h src/equipment.cpp src/equipment.h src/floor_item.h src/game.cpp src/gui/buddywindow.cpp src/gui/char_select.cpp src/gui/char_server.cpp src/gui/chat.cpp src/gui/chat.h src/gui/equipmentwindow.cpp src/gui/equipmentwindow.h src/gui/gui.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/itemcontainer.h src/gui/minimap.cpp src/gui/ministatus.cpp src/gui/newskill.cpp src/gui/npc_text.cpp src/gui/npclistdialog.h src/gui/ok_dialog.cpp src/gui/setup_video.cpp src/gui/skill.cpp src/gui/skill.h src/gui/status.h src/gui/table_model.h src/gui/updatewindow.cpp src/gui/viewport.cpp src/inventory.cpp src/inventory.h src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/localplayer.h src/logindata.h src/main.cpp src/map.cpp src/monster.cpp src/monster.h src/net/beinghandler.cpp src/net/beinghandler.h src/net/buysellhandler.cpp src/net/equipmenthandler.cpp src/net/loginhandler.cpp src/net/loginhandler.h src/net/network.h src/net/npchandler.cpp src/net/playerhandler.cpp src/net/protocol.h src/net/tradehandler.cpp src/npc.cpp src/npc.h src/particleemitter.cpp src/particleemitterprop.h src/player.cpp src/player.h src/player_relations.cpp src/resources/imageset.cpp src/resources/imageset.h src/resources/itemdb.cpp src/resources/mapreader.cpp src/resources/monsterinfo.h src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h src/tileset.h src/utils/fastsqrt.h src/utils/strprintf.cpp src/winver.h tools/tmxcopy/Makefile tools/tmxcopy/base64.cpp tools/tmxcopy/base64.h tools/tmxcopy/tostring.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Some code reformatting and updated NEWSBjørn Lindeijer1-10/+12
2008-12-07Changed proxy fix to only tell the proxy to no-cacheKraant1-6/+11
for news.txt and resources2.txt. (cherry picked from Aethyra commit 3206b3254a1a9b90bbdbd1a7178e4df043a5ee26)
2008-12-07Set headers for CURL so that proxies won't cache filesKraant1-0/+9
to fix bug that causes resources2.txt to be old and out of sync with the files in the directory. (cherry picked from Aethyra commit ccacde4192268fbf5250e9bd6894d158f957922c)
2008-12-05Fixed MutexLocker to not work on a copyBjørn Lindeijer1-2/+2
The Mutex class wasn't meant to be copied around. Silly last minute refactorings leading to untested code...
2008-12-05Fix race condition with a std::string accessBjørn Lindeijer1-12/+19
The downloading thread was writing to a std::string while the main thread was trying to draw it, for example. Now access to the label caption is guarded with a mutex. Should fix crashes while downloading updates.
2008-12-05Fixed MutexLocker to not work on a copyBjørn Lindeijer1-2/+2
The Mutex class wasn't meant to be copied around. Silly last minute refactorings leading to untested code...
2008-12-05Fix race condition with a std::string accessBjørn Lindeijer1-12/+19
The downloading thread was writing to a std::string while the main thread was trying to draw it, for example. Now access to the label caption is guarded with a mutex. Should fix crashes while downloading updates.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-6/+3
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
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?
2008-10-10Did a little bit of code cleanup (mostly from TMW changes) as well as Ira Rice1-2/+2
properly implemented line wrapping. Now, there are no more visual artifacts for speech boxes, and it always chooses the most optimal box size (which required that npc_text use it also. Do any other gui classes use the textbox class?).
2008-10-07Fixed some compiler warnings. This probably also fixed the logging of severalBjørn Lindeijer1-2/+2
error messages.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-1/+1
2008-08-10Changed proxy fix to only tell the proxy to no-cacheKraant1-6/+11
for news.txt and resources2.txt and added linux to windows cross-compile codeblocks file.
2008-08-10Set headers for CURL so that proxies won't cache filesKraant1-0/+9
to fix bug that causes resources2.txt to be old and out of sync with the files in the directory.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-06-05Added command line argument to specify the update host (-H). Also, to avoidBjørn Lindeijer1-18/+34
problems when files with the same name are served by different update hosts, the updates are now stored in an update host specific directory. Based on a patch by Sanga.
2007-12-21Attempted to fix client freeze when unable to connect to update host, and ↵David Athay1-6/+9
added exit dialog
2007-09-27Merged another bunch of changes from trunk to 0.0 to reduce the difference.Bjørn Lindeijer1-11/+6
2007-08-26Removed home dir from config file to avoid encoding issues.Eugenio Favalli1-1/+3
2007-03-24Cancel button is now disabled after downloading is finished.Philipp Sehmisch1-5/+2
2007-02-20Added support for customdata directory.Philipp Sehmisch1-1/+1
2007-02-17Updated release date and excluded sprites directory from installed files.Bjørn Lindeijer1-5/+6
2007-02-16Fixed update bug (hopefully)Rogier Polak1-5/+19
2007-02-01File handle should be closed before attempting to remove/rename files.Eugenio Favalli1-10/+10
2007-02-01A bit of cleanup and defined a helper function for calculating the alder32Bjørn Lindeijer1-38/+54
checksum of a file. Probably not fixing any bug though.
2007-01-22I thought I had saved it after fixing that little typo...Bjørn Lindeijer1-1/+1
2007-01-22Identify ourselves when requesting files from the update server.Bjørn Lindeijer1-0/+5
2007-01-15Fixed issue where the player stops walking.v0.0.22.1Bjørn Lindeijer1-3/+3
2007-01-14Fixed windows headers issuesEugenio Favalli1-2/+3
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-3/+3
2006-12-12Added Adler32 checksum for updatesEugenio Favalli1-63/+108
2006-12-11Fixed visibility of the update window.Bjørn Lindeijer1-2/+2
2006-11-05Fixed percentage indicator of update window.Bjørn Lindeijer1-1/+1
2006-11-03Updated to the new default updatehost.Bjørn Lindeijer1-1/+2
2006-09-21Made canceling the update process non-blocking (Patch by VictorSan)Eugenio Favalli1-4/+14
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-4/+4
from the 0.1.0 branch.
2006-07-25Fixed updating on Windows (rename was failing when target file existed).Bjørn Lindeijer1-4/+7
2006-07-18Updated the updating system. It will now only load those updatesBjørn Lindeijer1-34/+21
specified in the downloaded resources.txt file, and in the order in which they are mentioned (the top one being the most significant).