fix: using unbindaction for a command without parameters will unbind all matching commands. e.g. "unbindaction specteam" works like "unbindaction specteam 1", "unbindaction specteam 2" etc.
adds python script to output ctrlconstnats.h from spring input
add a jinja2 template for ctrlconstants.h to be filled with actual defaults from spring
compile fix for older wxwidgets versions (ubuntu natty in my case)
(springsettings) default invertmouse to 0
lock boost filesystem to v2
fixed ifdef for mac ( thanks daftalx )
fixed deprecated function
fixed double +
fixed function that changed args from wxString to const char* in wx2.9
fixed crash by assignment ( damn you compiler for not spotting incompatible data types )
renamed old launch method to alternative launch, and added warning to prevent people from fiddling with it
now bundle mode is controlled by a config variable instead of being hardcoded for mac, and it's forced off for other platforms
added gui elements to pick bundle path on mac
fixed compile errors
always return false about being in a bundle outside of mac
fixed multi spring version search broken from introduction of bundles
refactored a bit of settings code for clarity, now GetSpringbinary & GetUnitsync load directly from bundle path on mac, skipping weird forking logic afterwards
added GetCurrentUsedBundle function
now there's an option to ignore spring bin from same bundle, and loading external one
GetPathSeparator -> sep variable in settings.cpp for code compactness added functions to detect if SL is in a bundle on mac added functions to get/set external bundles paths on mac added functions to hardcode bundle paths inside sl
hopefully changed for good the official server url
add cppcheck make target
fixed WRITABLE definition
SetTickFreq( int, int ) is deprecated as of wx 2.9.2 (second parameter never used on archs but win, and anyway cannot be other than the arch-specific value)
removed speedup any++ from default profile. makes no sense to me, seems equivalent to any+=. problems arise when converting to local characters and back
make a couple of scripts more portable wrt interpreter location
fix chatlog not working with wx2.8
fix disappearing menu
fixed map summary info refresh after download
remove old simple interface launch code
make config header regen more portable
applied patch by abdo, fixing some wx 2.9 issues / deprecation warnings (fixes #1466)
removed us translation: it was breaking compile and i cba to fix and it doesn't make much sense to keep a translation for the subtile differences between british & american
fix std::exception override again
fix include paths
fix a couple of gettext warnings
complete input file list to xgettext
fixes for clang compile
msgmerge stuff
fix update-pot
new update-pot target
fix
support for meta modifier
todos...
select new key after adding a new key
fixed command sorting bug
support "keyset" in uikeys
fixes
fixes
putting multi line strings back in place
keysym support added
ordering and any issues solved for now
fix type mismatch in std::max calls
fix conflict resolution error
Revert "hotkeys: adds a define for missing wxACCEL_ANY, seeing the result in hotkeys tabs i'm pretty sure tho that was not what it is intedted to be"
added missing virtual wxACCEL_ANY
hotkeys: adds a define for missing wxACCEL_ANY, seeing the result in hotkeys tabs i'm pretty sure tho that was not what it is intedted to be
hotkeys: add missing source files to build
hotkeys: some build fixes
updated vcproj
fixed ordering
changed settings structure for hotkeys
added support for "any"-modifier which breaks the ordering system to be continued...
bug report added
vstudio project updated (/MP in debug)
ordering hopefully ok now
springsettings settings changed
more command order stuff
Command order Dialog integrated into wxkeybinder
command order form added
forms file renamed
added support for command ordering
-cleanup missings
-added support for command ordering -clean up unneeded stuff from wxkeybinder
added content after rename
rename of spring_command to wxSpringCommand
fixed size_t/int confusion
project file deleted (sln)
started command ordering
Project file updated
copy paste garbage removed
Exception changed back to wxString. hopefully compiles on gcc this time
fixes
visual studio project files cleaned
visual studio 2008 files for springsettings added for convenience
fixes #1395, link detection code not recognizing https
adds a 'host new' button to broomTab, fixes #1418
relocate host battle dialog showing
pretty- and simplyfy intro dialog
prettyfi reconnect dialog a little
fixes #1402 : SpringSettings not exiting event loop
avoid another possible segfault
fix springsettings segfaulting if hotkey tab wasn't created
fix the fubared multiline string generated by 2436a8b0e2058b2f15e2200e4e27a858fbc66fb3
new default mw size
stabilize the new global config
Settings: use the PathGuard everywhere
slConfig: implement group/entry enumeration
use a Exists replacement that checks both local and global config
semi-forward more calls to global_conf
make Read functions work by casting away constness. Yes it's ugly, but since the base class already does it (and MUCH,MUCH worse) I think I'm ok.
indent
note to self to never overwrite Exists
fix semantics of 'bool Read()' series of functions
stupid format error fixed
fix a nonPOD error
gitignore qtcreator files
license template
should fix default config not picked up on msw
fixes msw compile fn_str never returns const char* as advertised
this fixes compile errors in hotkeys when building against wx 2.9.x
fix win build
refactor custom dialogs, mw to use customizations for app icon
fix a couple missed appnames
use appname to buld the config filename
allow passing application name override as param
more warnings fixed
fix tons of the same warning
possibly fix msw compile
this completes slConfig implementation
mostly implemented slConfig
new config class
don't use hardcoded (user visible) application name (part 2)
don't use hardcoded (user visible) application name (part 1)
springsettings: added Very Bad Soldier credit
fixed autohost mode in windows
Restored ignore-of-##-lines behavior when fetching chatlog's last-lines.
Fix for issue #1364 (long log file slows channel join)
Cleaned up, documented (most of) ChatLog
resolving the better half of CppCheck hints (including one error) * Member variable not initialized in the constructor * Redundant condition. It is safe to deallocate a NULL pointer * The function XXX can be const * Function parameter 'xxx' is passed by value. It could be passed by reference instead. * (error) Class WindowAttributesPickle which is inherited by class XXX does not have a virtual destructor
exclude sound files from doxygen build
fix too many sides displayed in GUI
Fixed empty VERSION #define due to CMake variable-name inconsistency
Corrected some file modes -- source files are NOT executable, nor should they be!
Fixes compilation error when wxLogDebug is undefined
part2 from prev commit
app icon fixed by visual studio resource path
Auto-detection of uikeys.txt location
todo updated
Hack to make correct path to unitsync on windows. the driver character has to be upper case otherwise unitsync's init function wont return when called.
key string fix
-modification notifier on save for hotkey panel -speedups -key format consistency
writing of uikeys.txt implemented
-fixed default profile -loading & saving in springsettings conf -detection of current profile based on uikeys.txt
remove our ancient debian/ files to make live easier for our actual debian packagers
show 'n/a' instead of 0ghz if no cpu info is available (replays,etc); fixes 1358
don't even ask to report spring crashes if statistics reporting is disabled in preferences
fix upload script
hardwire libcurl flags into toolchain file on msw
Revert "change mingw binary names for new server"
cpu speed detection patch by dansan applied, thanks! (fixes 582)
don't count yourself when checking if everyone is ready
change mingw binary names for new server
use autoclosemsgbox and a timer to not reconnect to soon after a disconnect (which the server would refuse)
new autoclosemessagebox that endmodals after N seconds
let people rename from tools menu
complete a TODO: remove helpstring suggesting ability to join multiple channels at once via /join
add mammadori's manpages, fixes 1182
fixes 838: no message on trying to join locked battle from nicklist context menu
fixes 308: ctrl-tab is no longer intercepted in chat enter box. tabbing with (shift) ctrl+tab is now possible inside the same 'row' (or split) of tabs, including wrap around
fixes 1343: empty lines in chat enter history
fixed 1372: crash on closing all chat tabs
fix report url for new SL hosting setup
closes 1367 by explicitly linking boost lib, thanks go to aurelien@bompard.org for the patch
use a vector to hold start positions instead of array
fix tabs duplication in options
made sett().RefreshSpringVersionList() aware of GetSearchSpringOnlyInSLPath mode, also fixed spring & untisync config paths not being init'ed before getting scanned
new script to easily add existing source files to git adn buildsystems
new files for simple greeeter frontend
additionally save time_t from replay header to use in sorting
fix wrong label for replay/savegame tab
my own little wx29 build config for c::b
fix cmake compile of settings
fix NO_TORRENT compile and springsettings
Corrected base class in BattleListTab event table declaration
fix two warnings about possible ambigous "else"
now builds against wx-trunk
actual bugfix
fix for gcc 4.3
some minor fixes to build against wx-trunk
Reworked, centralized string-based filters in the battle list filter.
Simple rightclick popup menu + a couple minor fixes
Fixed battle status filters (checkboxes) behavior.
fixed some programming-at-2AM code, changed column widths
do not load unitsync if updating only
filter out seeds that aren't actually uploading
revamp getting somewhere usable
Fixed segfault, updated comments
replaced code in event.h with new from dize
updatermainwindow now beahving nicely
trying to fix window display
trying to get updater win to behave correctly
notify update mainwin when update has finished
fix msw compile
make all win OS use the seperate instance for updating
adds nonModal variant of timed messagebox
new timedMessageBox, that is uncloseable for X seconds
- move openbrowser to uiutils so i can use it w/o creating mainwindow - revamp act. notice for definable gauge size - add a changelog button to updatermainwin
testing updaterwin
new member win in springlobbyapp
new files for showing a toplevelwindow while updating
seperate activity notice into own header/source
move custom dialogs to a better place
minor cleanup
trying with auto pointer, scoped notice still not working
remove examples
simplfy static box deconstruction, add one forgotten
fix gcc build
text change
Fixed refresh a bit
moved event stuff from IUnitSync to SpringUnitSync
remove unnecessary header
WiP - porting torrentlistctrl to virtlistctrl
getting weird abort on torrent complete
simplfy maplist filling
remove obsolete files
trigger all unitsync reloads via events
trying events for triggering unitsync reload
resolve deadlock
reduce compile time by 17% when only doing a single change in Ui.h all Ui member refs removed in favor of the global, all unnesseray ui.h includes gone
remove extra updates of battle/minimap, those do themselves now
all unitsync reloading replaced with events
some more classes converted
same as last
make dize's code more readable
more of teh same for other event subs
fixes a very subtle nming issue by introducing seperate namespace
interface works
prototype unitsync sink interface
fix build
rename files so autofools are happy
forgot two files
ported unitsync reload event example from dysfunctional events branch
translation update1
another dupe in potfiles, sigh
fix potfiles list
don't ask don't tell fix for distcheck
Revert "some changes for my new test env"
fix autofool for libt update too
fixes gcc 4.4 compile
fixed libt cmake file list
another libt compile fix
some changes for my new test env
updated to libtorrent 0.14.4
Signed-off-by: Rene Milk
added the notice to some usync funcs, isn't showing much for me tho :/
do not set window title when using vista update mechanism
re-arrange init for less clutter, do not start GUI logic when updating only
change tooltips to translateable strings
IconImageList::GetBattleStatus: better tooltips
refactor: IconImageList::GetBattleStatus{,Icon}
refreshing only visible items seems to have a problem on win, now we'll redraw the entire list instead
implements cleanrock's patch http://springlobby.info/issues/show/872#change-2118 with tobi's cache class
fix debug messages appearing on win
linux compile fix
fixes a few startbox issues
fixed build with torrent off
seems vista update with uac is somewhat working
fix non-POD warning
fix non-POD warning
now logwindow's parent frame is set after logging is setup, thereby making the nulllog hack obsolete
fix springsettings for new logging init / command line params
cache version bump
cache archive path for all files cache archive unchained checksum for all files use unchained checksum for the map positions & map pic to avoid recaching on every spring release
update ready status checkbox when required
re-enable some opts
working ok
new funcs only were called after calling BAse::OnInit
refactor to use default setup from wx
disable not working cli parms for now
fixed build
don't disable i'm ready check in the battleroom for the host
removed obsolete vc project files, the project should be generated using cmake now
Fix to bug958, chat highlight words not getting deleted from conf file.
fixed possibly undefined compiler behaviour
Fix to bug958, chat highlight words not getting deleted from conf file.
added checkbox to disable usage of irc colors
fixed compile
option to disable irc colors
Fix string formatting typos(?). glibc oddly doesn't choke on this while msvcrt gives a big fat crash.
Fix apparent typo forward declaring TorrentInfos as class (it's a struct). Gcc accepts this but msvc does not.
msvc build fixes
translation support is default off in cmake now until it gets fixed again
chatlog enabled by default for new users
move sample code, move UAC recog func to utils
manifest, sample code temp elevation in mainwindow
new template param to customvirtlistctrl base class: the second template param is actually just a dummy to ensure the compiler generates distinct code in case we have different listctrls with same datatype
mingw build set to O2, seems to have been lost....
cache side icon index in User too, this saves a couple of usync calls _every_ redraw
don't block sorting on col click
remove wx 26 compat macro
fix sideicons not being cached in mapctrl
block sort while mouse is movin
use proper method for setting wrong tooltips
unify AddItem
unify item removal
correct errors of bd's merge
stabilize selection on sort
fixed GetIndexFromData search
clamp seekpos in case vec size changed
nicklist
battleroomlistctrl
begin improving GetDataFromIndex performance - battlelistctrl
added missing default ctor
preliminary, ugly version to support irc color strings
fixed channels command
new cli param not working correctly
logging targets not quite working
params for springsettings init logger
fixed order of logging
improved logging switching
fixed codeblocks project, removed useless #define and removed obsolete include dirs in win
forgot to fix the command line flag in the c::b project
improved console launching a bit
now command line switches doesn't stops the app, gui console doesn't work yet
not working attempt to add command line options to control logging to SL
my bad, didn't see the push before that reverted this already
revert temp setting of diff base class
fix compile
partial revert of changes to customlistctrl
fixed buildsystems
downloading actually works now
fix template stuff
noncompiling buggy attempt to make downloader class use templates to get parent class
add cmake cross compile step to buildbot
libtorrent fix to compile correctly in MingW on win32
fix msw compile
Fix for router issues
minor cmake fix
do not try to use gcc4.4 if not present
Added more crosscompile checks so sound support works
Made sure crosscompiling still works with changes to cmake script (hopefully)
automatically load the map defaults when hosting
possibly fixed server kicked at random when removing boxes
fixed map preset boxes being saved flipped
addbox arguments now range from 0 to 200 instead from 0 to 100
automatically save boxes & startpostype on spring start, recall on map change if you're not the host
fixed addbox command
don't try to add the same box twice
actually sends the starts rects changes to clients with !addbox !removebox
compile fixes
now !set actually broadcasts the option change to the clients
addded !addbox and !removebox commands
added keyExist command in options interface that checks for a key existance in all containers made !ring command accept an optional user to ring added !set command to set a battle value fixed !help command
removed useless command duplication in autohost, added !map command
skip ring all question on start press, ask directly for force start
Some cleanup, made libtorrent a separate lib target, better wxWidgets detection
use proper method for setting wrong tooltips
mingw build set to O2, seems to have been lost....
don't block sorting on col click
block sort while mouse is movin
remove wx 26 compat macro
CMake and compile fixes under windows
attempt to make unitsync init spew it's errors to a popup dialog instead of stdout
fixed side icon not being displayed in battleroomlistctrl
try to search on jobjol directly for the map/mod name
use wxFileConfig class explicitly on mac
prepend a path separator when preparing the app bundle path for spring
fixed config file for mac, now mac users can use the portable mode too
even more fixes for mac build
fixed mac build
removed useless icon fetch
return default icon 2 for all icons >= 2
now that the getsideicon function never returns -1, all -1 checks can be skipped
removed useless part of code that was never reached anyway
in mac, append app bundle's inner path if spring bin path ends with .app
sanitize in-cache-map check for side image
greatly improve sort order reversion efficiency
added additional file mask to unitsync search on mac
don't disable relayhost functionality if stat report is off
Fixes to make Springlobby successfully build on windows using msvc and mingw out of the box
allow splitting to change at runtime
implemented optional horizontal splitting of broomtab
fix windows only logging bug
prevent a segfault with autojoin enabled and server unreachable
show the ready button properly in replay&savegame MP auto set properly the ready button when hosting
closes 759
correctly parse incoming bitfields for offerfile, fixed build error
almost finished automatic spring update
initial support to make SL auto update spring
fixes 938
now has optional unzip argument
actually compiles now
removed obsolete file
noncompiling refactor of threaded downloader so i can be resued in multiple places
don't send/recieve aitype to/from server, don't load ai options if aitype is unset
don't crash if there is no savegame
removed popup message & brought back disconnect message to all chats
redirect now doesn't popups failed to connect message
fixes changeing topic with GUI
load bot options after adding it
yet another autofools fix
locally store AI type
fixed typo in user status check, added aitype to the user struct
*BEEP* autofools
added function to fetch AI option list
fix autofools compile
fix autofools compile
set isfromdemo flag to server users to false
parse script.txt when hosting a replay
post merge fixes
use new unitsync RemoveAllArchives API
simplified & improved script.txt generation
more timeout disconnect fixes
empty buffer before connecting
empty socket's buffer after disconnect
fixed c::b project, cmake project, makefile
fixed a bit tab layout, still needs new icon for savegame tab
script parsing has to be issued from within the battle itself added functions to send/recieve the battle script from/to clients removed useless separate script parse file
Revert "noncompiling, gui-less first attempt to allow users to set their own ranks for players"
Revert "fixed codeblocks project, now it compiles & auto loads ranks when available"
Revert "now trust & rank can be set in the battleroom"
Revert "now everything but battle list & GetBalanceRank can handle ranks for different mods"
Revert "now autobalance uses per mod rank if available, added gui to display rank, trust & rank accuracy ( needs more eyecandy )"
Revert "changed force rank to set rank"
Revert "fixed cmakelist & makefile"
Revert "add separators in right click popup menu in the battleroom"
Revert "actually save & load to disk the ranks"
Revert "forgot an #include"
Revert "hopefully compiles now"
fixed function name
don't crash when trying to convert old UAC users settings
fixed unit detail name in springsettings, & range, fixed also send debug to console name
use --config command line flag in windows too
fixed ping woes for good now
install xdg menu item and icon
attempt to fix cmake+gettext build&install
enable id tagged transmission only after logininfocompleted to workaround a tasserver idiocy
more sane ping behaviour
now ping thread is done in server class instead of socket, added ping round trip check
fixed unmute command
added isfromdemo user battlestatus property, will be written to script.txt added functions to store/recall script.txt for battles added functions to set replay/savegame path to write into script.txt
remove superflous highlight update and freeze/thaw
fix crash in replaylist reload
fix for VC++ build
remove some lingering wx26 ifdefs
fixed hash sign with torrent downloads
hopefully compiles now
forgot an #include
actually save & load to disk the ranks
add separators in right click popup menu in the battleroom
fixed cmakelist & makefile
changed force rank to set rank
now autobalance uses per mod rank if available, added gui to display rank, trust & rank accuracy ( needs more eyecandy )
now everything but battle list & GetBalanceRank can handle ranks for different mods
now trust & rank can be set in the battleroom
fixed codeblocks project, now it compiles & auto loads ranks when available
noncompiling, gui-less first attempt to allow users to set their own ranks for players
don't perform needless ( and wrong ) operations to countrycode in battleroom listctrl tooltip
fixed server's data containers not getting flushed on disconnect
fixes 837 (partially, other part is on bbot itself)
bleh, forgot to commit this
call torrent resume only when TLISTDONE arrived from torrent tracker
fixed addbotdialog not working with luaai & next version of spring
possibly fixed luaai problems with next spring version
registration failed because of connection failure now brings a prompt to switch server
server switching code actually works now
this can actually happend now
possibly fixed some dtor crashes
register socket doesn't attach handler -> no more disconnect messages during register
use GetServer() instead of m_serv->
register works with single server now
have a single server instance for now instead of keeping new'ing & deleting it
compile fix
don't leak a server class while registering
don't rely on sendcmd to register
forgot to commit
create a special temp socket for registration pourposes
delete all the (now) useless socket checks
socket should live as long as server class exist, not be spawned before and delete separately
fixed message dialog having inverted title & message
on connection failure prompt the user to reconnect, do nothing or swtch to next server made default server be saved only on connectionm success & oly if it's not a fallback server fixed server name in server tab displaying hardcoded "TAS Server"
correctly handle infohashes in unsigned format
fixed 587
fixes 835
fixed registration
fixed case
changed how highlighted words are stored internally ( no more ; separated list ), now on successful login if the user isn't in highlight list it gets auto added
fix user status icon not updated
added back misteriously disappeared for loop
fix periodic auto sort in broomlistctrl
how could this slip trough? :/
fixed build with old libtorrent versions
fixed screenshot lister to use the new find files function
fix non working dl button, wrong save path and dialog name
added locks on torrent wrapper, woo!
- status icon works too - removed some warnings in listctrls
fixed include paths
sorting and highlighting works, status icon broken
fixed comment
reverted the change that removed reference fetch in replaylist when adding a new replay ( was creating pointers leading nowhere )
- remove extra parameter from http://thecoccinella.org/about - implement highlight for broomlistctrl
refactor done (minus sorting and highlighting)
got text in the listctrl and no more warnings
done with text items
converting setting list items to GetItemText usage
changed battleroomlistctrl to virtual style. compiles, but not more
fix possible crash with not fully parsed mapinfos
removed useless space
don't let 2 concurrent replay threads to run
fixed replay thread crashing when being called more than once
made the find function in unitsync return an array directly, removed lot of duplicate code
fix layout and missing include
fixes crash
fixed useless segfault check
accidentally committed removal of const
rewrote huge chunk how replays gets loaded
move intial load of replays
fix utterly stupid mistake
run thread from unitsync reloaded
pass filenames to relaylist thru thread
fix springsettings segfaulting
- not stupid imp almost works - decoupled replaylist from replaytab - constify data handling in replaytab
stupid imp works
added stubs for new replaythread, also entries in buildsystem
remove extra includes
fixed #include path
remove old includes
use splitter window
layout tweaks
trim extra vars
fix ratio and bg clearing in imageviewer
rework ui layout a lot
keeping ratio doesn't work yet
got rid of additional popups
refactor imageviewer
fix windows crash
fix linking
implemented mini wrapper for wxHtmlWindow so i can control link clicking behaviour in widget info panel
sort after populate
implement sorting
fix compile err
user a bot rather than #autohost topic to list relay managers
now clicking on a map in a battleroom as client suggests it to the host
check for queued status, not success to remove to resume lists
initial work to thread maintenance jobs for torrent system, misses all locks so espect it to lock almost always :P
Signed-off-by: Rene Milk
- implemented resetcolumn sizes - added moreinfo to colInfo
tokenize chglog into servermessage box
fix window size remembernace
moved to wxhtmlwindow
set coulmn width on insert
fixed most of the layout issues
moved widgets dialog to torrentpanel
- implement view changelog - remove update button
remove works
create directories before DL
can install files if dir already present
move data funcs into widget class
removed custom jpegloader
changed mask for finding screenshots in VFS to *.*
reversed button order, added save as
add default for title arg
add default for title arg
viewing screenshots works
remove third type of newlines
remove windows newlines too
- menu item for LUA widgets downlaods - 2 step creation for info panel
added info panel beloew listctrl
removed infodialog
panel works almos in dialog
added delete button
screenshots viewer working
buttons
not using custom jpeg handler works well enough it seems
stuff
moved functionality from dialog to a new panel
successfully open dialog and display image
new classes
copied custom jpeghandler from other branch
i has downloaded teh widgets images
some more new stuff
new classes
populating list is working, except for issues with description content rendering
now SL uses again internally unsigned hashes, and converts from/to signed while stringly sending signed where , when receiving it's flexible and can accept both
Revert "remove the luaui checkbox in springsettings"
remove the luaui checkbox in springsettings
better logic flow in relay host open
fixed autojoin channel conversion putting channel name in password field is password wasn't set for the channel
implement /clear and euqiv menu entry to clear current chatpanel
remove now obsolete presets.cpp
fixes 816
all good
sorting kinda works
commented reload time notice
filter works again
sorting still does not work
fix 807 and get further along wiht refact
type changed to virt, no explosion, no replays in list either
fixes #772
made text control remember text entered before skipping thru history
Signed-off-by: Rene Milk
SL license fix part 2 -- fixes #810
SL license fix part1
springsettings license fix
fixed torrent protocol comment
i will test bash scripts before pushing i will test bash scripts before pushing i will test bash scripts before pushing ...
missed a "then"
more finesse for the win builds
fix script for running on server
properly decode hash quries requests from torrent tracker
use proper case to decode incoming hash queries from torrent manager
added support for hash queries in torrent system
make register answer check be \r\n tolerant too
convert incoming \r\n from buffer into \n if the server is acting retarded
better behaviour of sending socket so it handles nonblocking properly
fixes 754
use fixed button size to prevent segfault in ctor
use right color
segfaults on load, but should create color selection button in sp + windows :P
fix suse build idiocy
enable switching back to english
convert action color too
fixed idiotic assignment
check for queued status, not success to remove to resume lists
moved dependency check queue to torrenttable, changed from vector to set
typo >_>
hopefully fixed 64 bit problems
automatically convert old color format for options to new
2 more missing functions
forgot to fix a function
fixed revert error
Revert "Named chat colors WIP"
Revert "Completed inital changes for color getting/setting"
Revert "Implemented (Get|Set)ChatColor functions, added default color map"
Revert "Changed GetChatColor* calls to new format"
fixed updater message
added automatic removal of torrent seeds who didn't transfer any data in the last 2 minutes
access the torrentwrapper using GETtorrentwrapper, also remove the queued torrents/seed from the copyloop rather than join function
check for leech count, not seed
don't use linux specific socket code for other OS such as BSD
better layout
now leech & seed count are handled interally in torrenttable class
remove seed request when you cancel a torrent too
all torrents are now queued by default rather than joined directly on fail they get auto removed from the queue/seed list remove torrent now removes queued torrents too
fix some warnings
fixes 674
changed the way colors are loaded/saved in the options, this breaks retro compatibility but should fix all the 64 bit woes
temp disabled prefetching in windows, TODO: revert this
bumped options version, removed SL channel autojoin for old users, replaced with #main ( can always be added back afterwards )
add #main autojoin for new users, not springlobby or #springlobby would become new main -.-
added tooltip on options summary
no more crash on ok on options popup
fixed popup layout
typo
send host info on ok
added new files to c::b project wrt option popups
don't show the dialog for invalid options
dialog shows
experimental options popup window on list double click, it should work, but doesn't atm
put \\n <-> \n conversions on tasserver class, fixed relay host functionality
use correct background for options summary, size correctly columns so they never get an horizontal scollbar
minor layout adj.
some layout improvements in battleroom
added button to pick map from main battleroom
added preset managing from the main battle panel too
removed useless int option type, switched startpostype to list, now options summary uses full name rather than shortname
cleanup in relay hosting code
fixed mixed doxygen vs c++ comments in the repo
fixed comment types
disable token mode by default, not enable -.-
forgot to commit c::b project changes
fixed segfault on login ( missing iterator init )
moved token table from tasserver class to separate header file
bixed ban & unban command syntax
fix compile err due to move to template class
fix template class
don't consider internally that box expanded when hovering player in MP
enabled accumulated metal map generation in SP too, this will generate small slowdown the first time but should perform identically to MP now ( plus someday the feature could be used in SP too )
don't let the user move the positions in read only mode
correctly parse teams
only generate a new pos if you're the host
send correctly player start pos
use UserPos properly
send to users their position on join
server lowercases incoming tags, fixed parsing
free teams, ally & color shouldn't be searched for bots
new users don't override the host's ally, color, handicap, etc
experimental support to send/recieve user positions on the server
use enums, not constant ints
fixed function naming wtf
forgot to commit a rename
renamed function & removed useless code
fixed users overriding color / team of host when joining
fixed segfault in wxTranslationHelper dtor if locale wasn't initialized
show tooltip infos for subkeys in mm options
now modoptions handle newlines gracefully rather than stripping them
move tip window above cursor
now using flat button
use tipwindow instead of messagebox
fix layout a little
remove button on reload
new mapping works
bleh mapping Ids to ifo doesn't work; ids aren't unique
use map for info strings (so itfunctionality won#t be affected by tooltip setting)
proof of concept impl
more cleanup
fix locale copy error
remove debug code
fixes subdir extraction / copying locale dir
clear start rects when leaving a battle
adds copydir function and re-organizes includes
remove the lang selector from optionstab
locale working on win
enable sorting while ingame too
fix path error in new scipt
addded new bbot script
go back to win2k build flag
fix default language id to be system default
fixed segfault on cancel on locale select
fix freeze on exit
workaround for locale lookup path on linux
fixes no scrollbars in mmoptionstab
- fixes gettext not found on my box - set req. gettext version to 0.17 - ran gettextize in top dir - that updated m4 macros
fix merge error
hopefully fixed rank problems for good
server ranks start by 0, not 1
fixed minrank detection
remember filter radio choice too
better default color for join/part
create defaults when reading values & they aren't present
typo
mapsel: Fixed applying sort order as early as in OnInit.
- remember maspel dialog size - make dtor wxsmith compatible
move setting the labels on sort direction buttons to OnInit
remembers direction and seleced key
remove users from channels too when they leave the server
show multiple chained newlines in topics
fixes MP too
fixes preset loading in SP
Signed-off-by: Rene Milk
Some minor readability improvements
Started reworking some MapCtrl stuff for sanity, clarity
changed some labels to align centered vertically on their textctrls
harmonize sizer spacing throughout option tabs
fix minor layout issue inmmoptionstab
even better layout of script.txt
improved slightly generated script.txt on readbility
fixed script generation troubles when there are spectators and there is no team0
don't show spectators in startpos4 mode
fixed script generation for spectators in lone teams
layout fix
only draw one box per team in startpos4 mode
update minimap on startpos4 player status changes
attempt to remove player info window expansion on hover in startpos 4 & MP ( locks pos if too close to edge )
re-enabled startpos 4 in MP
some experiments with mapctrl to allow startpos4 in MP to work smoother
put select language in diff places. the button in lobbyoptionstab needs to be move or sth
removed some missing files from cbp
by using custom getSinglechoiceindex method, have the dialog preset selected item
fixed loading
save lang choice after dialog closed
tweaked searching for mo files to fit actual path structure produced my cmake builds
alternative lookup method
test implementation
changed SL init to use new translation helper
removed some unnecessary funcs + tewaked layout
settings interface
includes fixed
added new files
added handshake with TOKENIKE and TOKENIZED to enable support for tokenized transmission
don't write useless infos in script.txt when not being host
don't forget it's an AI on status change
now bot changes get shown in battleroom
use reference
use reference not copy
workaround to not invalidate pointers/iterators when adding elements until a more proper fix is added
fix compile issue with missing std header/namespace
implement the functionality of unsetting mod in battle ctor if Self was in that battle w/o making it segfault
func is a keyword in gawk (not in mawk)
comment out code that segfaults OnDisconnect
added -Wno-strict-aliasing to c::b target in order to get rid of wxWdiegts warnings (same setting is used in autotools compile)
write ranks in script.txt
fixed script generation, not very elegant but works
tiny speedup
fixed UnitReplySoundVolume ---> UnitReplyVolume in springsettings
fixed so it doesn't use a function which source ui() in a ctor ( was violating initialization order )
default battlestatus should NOT be spectator
fixed GetFreeColour and now
fixed highlight not working
improvements on bot leaving battle
removed conflicting check
fixed my battlestatus not being updated properly
use correct functions in battleroomtab
better structure for if checks in force events in server
removed needless code duplication
use correct icon for bot
not's show cpu for bots in battleroom
don't crash on add bot >_>
use IsEmpty, empty is deprecated
update owner & ailib when updating battlestatus
onbotadded now calls onuseradded and only takes name & battlestatus as argument
hopefully fix temp upload again
added -Wno-strict-aliasing to c::b target in order to get rid of wxWdiegts warnings (same setting is used in autotools compile)
try to keep read perm for other when uploading
ssh config didn't take, diff approach now
trying to use diff scp setup
- added a function OnSelfLeft to IBattle maybe useful for clearing up variants (does UnsSetCurrentmod atm) - call this func on Ui::UserLEftBattle, should fix side not loaded properly issue after being kicked
push status updates trough the gui
fixed actions not being applied on server / gui
don't display ( ) with humans in battleroom
return reference to class member, not local object
fixed startpostype in SP
refactored mapctrl, now there is little to nothing difference between SP & MP
temp fix
fixed stickyness to mouse cursort of player icon in SP
don't crash on SP mod change
more decent me& in singleplayerbattle
unified SP & MP script generation, fixed some signed<->unsigned warnings
don't segfault on replay parse >_>
write unitsync name, not mod archive in script.txt
ZOMG IT FINALLY LINKS
fixed tons of warnings :p
forgot to commit a file
moved offlinebattle to be child of ibattle, removed more linker errors
removed distinction in many places from bot to player
moar linker fixes
fixed some compile & linker errors
compiles but not links
almost compiles
some progress
preliminary not compiling work to merge user and battlebot classes
fixed unitsync loading in springsettings standalone windows
fixed msw compile
run source formatter on globals manager
clamp saved window sizes to screen size
osdir should be low prio when searching paths
fixed uac detection in first time wizard
added couple search paths
removed useless includes from settings.h, splitted path search detection into multiple functions, improved uikeys.txt search in first time wizard, added support for vista's UAC in first time wizard
use variables rather than hardcoded indexes in first time dialog ( adding entries won't screw up indexes )
fixed torrent port not switching to defaultspringport+1 from old configs
temp removed thread from settings class to fix buildsystem wtf ( not used atm anyway )
fixed springsettings build
fixed #if checks
Signed-off-by: Rene Milk
moar libtorrent fixes
some changes hoping to reduce libtorrent build errors with old libtorrent versions
layout fix
now SL forces spring into portable mode too if available, refactored spring launch functions to get less code duplication
added get/set spring config file path calls for unitsync
fixed springsettings build
disable caching thread while getting unitsync versions
added option to disable catchall for network
pause / resume unitsync thread while fetching unitsync versions
some more c::b project fixes
fixed silly mistake ( empty vs clear )
no more crash in autobalance, fixed c::b project
added safeguard catch all on net code, might make random clitches but at least won't crash the app entirely on malformed messages
use defaultspringport + 1 as default torrent port
fixes 667
put preset frame before options frames
fixed comments style: don't use doxygen for normal comments
made CMakeLists.txt build a bundle on OSX, since this is required by wx on mac. I haven't figured out how to avoid the developer warning yet, doesn't seem to be documented
indentation fixes and fixed merge problems related to libtorrent-0.14.1 patch
made SL build with libtorrent-0.14.1
don't add unnecessary borders
first attempt at GUI side, no nested sections yet
changed all section values to lowercase when creating option containers
deelte the temp file if we're not debugging
remove nested for loop
use temp filename for config in section tree
finally handle multi-level nesting of sections
possibly made parsing smarter
fix compile error and remove deprecated function reloadMapoptons
added clearing of trees on unloading options
fix tree parsing
fix empty cache entries for sections/styles
added parsing of cahced sections in wrapper, not working
add trees for sections to wrapper
completed section caching
added wxfileconfig to store section keys in a tree
moved some management buttons into a popup menu in the battleroom
added lock balance changes button, changed look of ui to use togglebutton instead of checkbox for admin stuff (saves lil space) but may still need refactoring
move comsharesd players too when doing autobalance
Disallow copying of uninitialized_array
added dialogs when trying to start a game with more players that spring supports
reused autobalance gui dialog to add fix teams choices, added option to chose team size manually
fixed math wtf in random pick of relay host manager
finally spectator detection code should work :P
fixed tooltips for spectators and players in battle list
now SL should cont spectators correctly
now SL shoudl count correctly spectators
fixids now works to make teams unique too
error code handling for relay host bot
Better color scheme (linear interpolation)
layout fix
use num start pos of the map to clamp if fixed start pos or random is being used
added arguements to fixids to make autobalance for comshare, needs refining and testing
added autolock if numusers > 31 in battle
heightmap display
correctly mark the boxes as added/removed as client
tons moar try/catch
don't allow removeuser with yourself as argument
fixed order in leave channel
who the hell addeed disconnect on DENIED ?????
WIP refactoring
handle more gracefully non existing managers
use autohost manager list from #autohost
added missing try/catch, fixed script generation to write hashes in signed int format
include map hashes in script.txt
fixed options not loading in relayed host mode
append space between timestamp and topic messages
call init for springsettings when loading unitsync in standalone mode
now behaves normally in windows
re-added freeze & thaw
better handling for limiting history backlog
removed some junk from text ctrl handling
fixed compiling
typo
wipe the vector upon chat append
got rid of rich text ctrl for good
only download updates in windows
fixed compiling
more decent fallback for linux & win to detrmine datadir
fixed path creation and torrent so it handles folders creation more gracefully
missed remivong the last obsolete file in cmakellist, now going on 10th try on buildbot :/
another po update, another obsolete file removed
one more garbage file removed, jeez
bleh, ended up with garbage in potfiles.in
updated po files
fix yet another include path
hopefully fixed cmake compile
removed obsolete file from cmake build
changed name for channel chooser menu item
use new window pos/size interface to save/load better default sizes for dialog
changed to use new pos/size interface from settings
further simply window size interface
refactor settings interface for window sizes
fix missing close button on msw
fix hedaer alignemt issues on msw
implemented filter
introduced new dialog class to hold chooser panel
removed icon column, changed sort order accordingly
basic functionality done
- channel info is passed from server to dialog - changed data storage to include topic
moved strictly channel related files to own subdir
fixed compile errors after merge
- removed osbolete commen - chaned url HL color do chatAction - fixed compile error with no-richtext-chat
added show mutelist to channel context menu
remove some missing files from cbp
fix mute message
move to directly displaying mutes in new MuteWindow isntead of storing mutelist in channel
new static mutelist window
mutelist is working, as long as one doesn't request the list for a channel one isn't in. forgot that there won't we be a channel object for those to hold the mutelist
fixes really bad regression in right-click menu for nicklist
fixes 650
remove obsolete files
delete the style object in ~ChatPanel
Styled URLs, fixed URL link extraction
use the right path for script.txt in SP mode
added optional argument to specify how big is the ally team when balancing
added /replacehostip to allow to manually override host ip for local/lan battles
now passing the exit code of both launch methods for spring around as event payload so it's available in Ui::OnSpringterminated
fixed logic vs runtime errors
closes http://trac.springlobby.info/ticket/556
ups, wrong comparison
simplified show/hiding code
fixed start command
fixed compiler error
send !startgame to relay bot
removed reset button in SP tab, added stub for handler
use nick, not ip to join the battle :p
fixed case message for relay hsot bot
fixed typo in options
fixed layout
added gui option to enable relayed host mode
forgot to set proxy flag for relayed battles
added support for AutoHostManager
drop messages if no relay bot is set
autojoin & leave relayed host games
now SL generates script.txt for the relay bot and sends to it
started adding net part of relaye host mode
Revert "even better syntax"
fix perm. err when file already exists
fix script error
fix script error
get branch name from buildbot
fixed perm. err after upload
hoepfully fixed script error in temp upload script
added branchname to exe for temp bulds
Fix download move-on-completion, add log messages
new script to upload temp. win builds
even better syntax
magically fixed multiline paste in windows?
fixed wrongly named assert
fixed hole punching for good now
When moving downloaded files, use name from libtorrent
hide port control when hosting with nat traversal
fixed hole punching
added exit 0 to update script for translations
first draft of update script for translations
fixed autohost mode in windows for good
show highlight color for server messages only in server tab
fixed server tab not getting icon hightlights (now it does but with an ugly color)
fixed crash when having invalid unitsync in current settings (uncaught assertion)
fixed column headers not being translated
fixed main tab's strings not being translated
fixed translations string concatenations, use moar format string
removed obsolete file
fix msw compile for SS
fix msw compile for SL
Fixed ChatPanel member initialization order
GetTorrentDir and GetTorrentDataDir now return wxFileName
Fixed tiny but important mistake, forgot to return true .
Create the temporary subdirectory if it doesn't exist.
First try on temp. download directory
Fixed tiny but important mistake, forgot to return true .
Prefer dynamic libraries (avoids missing link deps issues)
Rewrote tools/update-potfiles.sh
keep it simple, stupid!
improved seed/leech gui show in torrent listing
better logic and a bit more decent logging
fixed double declaration of path
removed silly looped clear
fixes 626
- sneak the requested hash into resume list when disconnected - this fixes ticket 600
switch swords and red bg on ICON_STARTED_GAME_LOCKED
changed return value when torrent is missing in table (when requested)
Signed-off-by: Rene Milk
moved enum FileStatus into stupidly named, but seperate namespace
moved Downloadrequest enum to class scope
removed code duplication
- fixed typo
-fixed minor layout inconsitency -fixed lobbyoptions tab not being scrollalble
fixes disappearing context menus
fixed singleplayer battle
Added 'Save options' to file menu.
now SL saves battle autolock status
added MyPlayerName support
added IsHost tag to script.txt
fixed spring launching
fixed spring version not being detected in replay tab
don't reset filter enable on disconnect
now the replay tab handles spring version check
remove bots from single player when switching mod
safeguards to avoid unitsync being de-init'ed
now SL detects properly spring versions
now SL auto switched to the right profile when connecting to a server
force portable mode only for win :P
added back forcing of portable mode for springsettings
fuck buildsystems
moar buildsystem fixes
forgot to commit buildsystem changes
fixed susynclib returing reference and not a pointer, added DoInit param to SpringUnitsyncLib to specify whenever init should be auto-run after load
now springsettings shares the static config class with springlobby (removed tons of code duplication)
call GetPrimaryModCount() before GetPrimaryModName() or might crash
fixed springsettings
added compatibility layer to temporaney make old spring paths to work
fixed crash on setchanneltopic for non existing channels
added support for multiple spring versions, need some tweaks in order to be able to change them on the fly and auto pick the correct one when connecting to the server
fixed libtorrent so it renames files in torrent descriptor before seeding (will allow more seeds) (untested)
fixed torrent creation so it uses VFS to find the archive path
now SL gets datadir directly from unitsync the "proper way"
removed springdatadir gui from SL, soon will start fetching from spring itself
refined element auto hiding in battle list
possibly fixes 634
automatically hide battle info panel if the battle list is too small
added code for new stle of unitsync error handling
preserve sorting in started games
missed to rename file in code too
properly renamed file
show percentage of total metal instead of absolute amounts
precalculate cumulative metal distribution
added new files
added new files to buildsystem
sorting works
proof of concept for channel chooser, lets you join by double click on listitem
clamped cpuspeed to prevent possible error on neg number
fixed type error on msw
fixed cpu detection
fixes include pathe rror when building with cmake
fixed build in mingw
fixed compile errors in win
set new artprovider on all notbooks
fixed compiler errors
use custom artprovider for mainwindow tabs too revert back to native listctrl on win
Different icons for ingame and ingame locked.
Cleaned up and fixed /proc/cpuinfo parsing (much simpler now).
makefiles fixed, error in updater.cpp fixed
Added new exception GlobalRecursiveError, thrown by GlobalObjectHolder when trying to access global that is being constructed. Replaced m_ui with ui() in some classes, to minimize risk of dangling references.
Catch GlobalDestroyedError when destroying SpringUnitSync on exit.
updated CMakeLists.txt
added GlobalsManager
tweaked layout a little
tweaked layout a little layout
fixed nick column so it takes all the available space left in the control
added option to autolock battle on game start
fixed order of tabs (options and restrictions )
moved checkbox of random start pos to singleplayer tab
removed (most of ) engine settings, gave a swept trought the gui, still needs work especially in the gui
fixed hangs when trying hole punching
fixed apllying new bd text color to all tabs
fixed compiler error, attempt at auto creating a different color in aui if font & background are too similar
added missing files
removed own notebook impl moved auiutils added text to top tabs
fixed disconnect detection in chatpanel
fixed fixedallies option
deliberate segfault inserted
copied auinotebook works
moved auimanager
hopefully fixed autohost mode in windows
the whole shit events fucker ain't working
print file and line number on assertion message
derived a new auinotebook moved SLtipwindow to uiutils
catch libtorrent::invalid_encoding in TorrentWrapper::JoinTorrent
fixed compile error after merge
implemented "fuzzy" tab completion thanks to tobi's getbestmatch implementation
- moved neareast match funcs to utils - new settings function for getting completeion mode
allow switching to metalmap in readonly mode (but not in battlelist)
MAPCTRL
some more defines removeed
changed to const_iterator
renamed mmtopionwrapper and removed global types there
server
tasserver types/define
userlist types
user enum
important change of default host port in battle
iunitsync types
iunitsync enums
defines into constants
settings default
removed define of tooltip delay in favor of "real" var
GUI enums (button/event ids and such)
battöeist types
battle constants
battle enums
last part of header moving
yet more headers removed
moved more headers away
moved more includes out of headers
moved #include out of utils header
fixed function names in unitsync calls for the lua parser
fixed login dialog to use more proper sizer for buttons
fix crash when metalmap isn't loaded
show metal in start rect
fix caching of maxMetal, it is a float not a long!
added GetMinimap/GetMetalmap methods which return native size image
added support for AUX_VERSION in the #defines, if defined will get appened to the version string with a space as separator
commented some unnecessary stuff, tweakek mem handling a little
fixed another crash on close.
copied defaulttabartprovider from wx source and made it compile. copy was needed, not my idea
Possibly fixed close crash in springunitsynclib (segfault in critical section lock or unlock, on win32)
dammit introduced compile error, fixed
reverted fubared merge/oush/whatever
Fixed wxAUI related part of close crashbug. From now on code must check GetAui().manager for null before doing stuff. Now the GetAui().manager is set to null before destruction, so that destructors of panels and stuff dont try to detach themselves from it when its destroyed (leaded to crash).
fixed icons highlights in channels now showing correctly
reload works properly (removing data from list as well as gui elements)
no more loading of maps/mods on adding replays
no more random crashes ( no init )
disable replayfilter by default fix a "off-by-one" possibly causing duplicates
removed wrong tab added
fixed replay icon
all listctrls respect the tooltips enabled setting
smaller icons for func tabs
ensure consistent EOL over multiple OS for multiline messages
removed file from potfilst that cuased error
added cmake buildstep
updatet potfiles
Added new source files to CMakeLists.txt
fixed class names after merge
fixed mixed up file modes (most of them anyways)
Possibly fixed zombie bug
Fixed some minor build probs and removed some warnings
Fixed Makefile
Fixed rank limit bug when user rank is unknown and you host with no rank limit.
Fixed crashbug when setting color of user that left battle.
Fixed groupoptions reload bug
Minor changes
Fixed some crash bugs and update bug in groupoptions
Corrected variable name in libt-not-found error message
TITANIC work of wrapping unitsync's lua parser in unitsync wrapper class
Revert "valid mod maps uses caching now"
valid mod maps uses caching now
Fixed crash/zombie bug in torrent system
added GetModValidMapList to unitsync wrapper
renamed customListCtrl to CustomListCtrl to follow class naming convetions and fixed some bugs in groupoptions
Profiles are matched using Levenshtein edit distance
typo
Feature based check for GetInfoMap (instead of version based)
save the settings after the first time startup
Signed-off-by: Rene Milk
Signed-off-by: Rene Milk
moved replay files to subdir hopefully added all files to all buildsystems
changed lodmod assert to exception instead of logic
make filter layout 2 coulmns
added mod/map download notice
country codes for users get parsed too now
show users in replay tab
all filters work
filtering works halfway
implemented replay filter settings funcs
renamed battle filter settiings funcs
settings funcs
gui elements in place
partial replay filetrirng
implemented replay delete
moved functions into class scope
done with onTimer load of replays in chunks
added reload (including time output if > 0 seconds)
some minor fixes to displayed info
meh, added wrong control to new sizer; fixed
moved show tooltips setting from menu to genral options tab
changed some defaults
fixed a warning
completely decoupled springsettings from using uitls.h/cpp
added TE wrapper to tooltips
disable works
nothing really yet
improved a lot blend function, now works with non squared pics, doesn't need to have size as param and return result in a different object
fixes segafults in minimap update cause by invalid pointers
adds download map/mod by right click
fixed playernum and filename column
rescaled main window icons to 32*32
SaveOptionsPreset and DeletePreset are now case insensitive too
fixed compile error due to visibility change in mapcontrol
date format respects locale now
LoadOptionsPreset is case insensitive now
save settings after starting game in autohost mode
hopefully fixed for good the boxes not being removed in the server
some more attempts to actually remove boxes on profile load
added filesize
properly get gametime from replay
possibly fixed box load for profiles
fixed filename parsing in replays
added "" around replayname in launch command
/ingame can fetch other nicks too when admin
skip no script replay files
removed dbg output
minimap pic showing
infos in list correctly displayed
halfway thru parsing the script from replay
Convert wxstring to stringstream directly (rather than to std::string first)
Fixed false error reports in TDF parser.
parser not working
forgot a teeny bit ofc
last part (i hope)
Rewrote explicit buffer allocation using new uninitialized_array class
part 3
Fixed some minor build probs and removed some warnings
second part of battle refactor
first part of battle refactor
Fixed Makefile
refactored "offline" functionality in user class out to OfflineUser intermediate class
fixed memleaks
Show metalmap in green instead of red (consistency with spring)
Mousewheel changes between minimap/metalmap
Fixed bug in SelectUsersDialog related to sorting
Fixed bug in SelectUsersDialog sorting
Add GetMetalmap method to SpringUnitSync
Add GetMetalmap method to SpringUnitSyncLib
Fixed filter in SelectUsersDialog
Added new generic dialog to select users
fix scroll on listcontrols while tipwindow is displayed
changed windows version, so win compile will work on w2k upwards
Add users to group
Added new group options gui
Whitespace cleanup and some SDL (sound)-related fixes in CMakeLists.txt
Add missing incl. path for config.h; remove trailing whitespace
Move generated config.h to the build directory; simplify check for it
removed useless update calls
added !fixids and !spectunsynced commands to autohost
temporanely disabled unitsync thread until it's stable
updated cmake & autotools buildsystems to thread files
Added Thread class, which overrides fails of wxThread. Only joinable threads is possible with it. Gracefully stops when destroyed. Sleep method returns bool (true if sleept false if woken up) and wakes up when therad wants to exit. Call WakeUp() to wake from Sleep()
Changed unisyncthread to use new thread class.
Added Thread class, which overrides fails of wxThread. Only joinable threads is possible with it. Gracefully stops when destroyed. Sleep method returns bool (true if sleept false if woken up) and wakes up when therad wants to exit. Call WakeUp() to wake from Sleep()
refactored loop sorting, now battle gets auto sorted too anb by team first (to show comshare)
call sort on nick list ctrl column click
fixed crash on app startup
Signed-off-by: Rene Milk
some working stuff
drop useless battle status updates
now nicklist sorts are cyclic too (and off when ingame)
lots speedup in status updates, no more loops
cyclic sort doesn't tries to sort when no updates were made in battlelist
now battlelist sorts only every 5 secs
renabled icon
More friendly access functions added to TDFParser.
Signed-off-by: Rene Milk
TDF parser works. Todo: add more usable wrappers for common functions such as getting value by name.
disabled unitsync thread for testing purposes.
fix listctrl background for (semi-) transp lists
fixed typo
actually meaningful error message to the user on unitsync load failure
marked a possibly wrong merge conflict resolution
Added Thread class, which overrides fails of wxThread. Only joinable threads is possible with it. Gracefully stops when destroyed. Sleep method returns bool (true if sleept false if woken up) and wakes up when therad wants to exit. Call WakeUp() to wake from Sleep()
Changed version string
increased map cache delay to 20 sec
split the map caching and mod chaching in 2 separate thread, i've set 15 sec daly for maps and 67 for mods
now caching thread progress gets reset if cache version gets bumped
fixed tiny copypasta error
added couple debugging messages to the caching thread
cache thread now pauses / resumes when spring is launched
no more crash on app close
first attempt at unitsync background caching thread, needs testing and atm crashes on app close
fixed build
fix cmake/cb build
fixed accidentally committed merge symbols
fixed merge mistake
fixed options panel in aui
fixed typo in cmake buildsystem
how could i miss this one?
added one missing file to cmakelists
forgot to commit buildsystem changes
finished reverting user PM icon
Revert "new icon trial"
most panels should auto-register/unregister in aui manager now
forgot to commit a thing
aui manager works!
lazy fix: put func inside class scope
now it's commited
forgot to commit a file >_>
attempt to move aui manager to it's own class
trying with derived notebook
added aui manager to mainwindow
replaced ui n replaylist with global
Fix ids after autobalance, tested.
forgot to commit an #endif
fixes channel leaving on chat tab closed
now channel is left on chatpanel tab closed
just to make it compile
duh, merge confilct in there
Signed-off-by: Rene Milk
Added autopointers.h
fixes 519
adds functions for setting/getting layouts in settingshandler
now i got em
all panels should be scrollwin now
some scrolledwindows
added aui dep to cmake buildsystem
fixed id of events for options notebook
now SP tabs uses wxaui notebook
skip listbook and notebook include if using wxaui
now options tab uses wxaui
join panel uses aui tabs
fixes autotools build
wrote ifndef instead of ifdef :P
disabled behaviour of close tab in the chat tabs
fixed code not catching notbook change events
started adding wxAui controls to the left sidebar and chat tabs, broke showing connect dialog on tab highlight and channel highlight
adding parser. incomplete.
fixes format warning
fixes qutotools build
file weirdness
reads rubbish from demo file
cleanup
starting a replay works
Took away an annoying misspelled tooltip and fixed a warning
adds files to cbp
replaytab is there (still empty tho) also added icon for replay in sidebar
added unitsync function to list spring replays, added function to extract replay data from filepath
reverted back translation names so autotools work again
fixed minimap infos in battleroom not getting updated properly when loading a preset
fixed battle options not being sent when loading a profiles
added Battle::MakeTeamsUnique that assignes to each user a different team number
updated translations
settings gets saved instantly when a new profile gets created
fxied SL crashing when drawing start rectangles outside map boundaries
fixed small commit mistake
refresh gui signal sent from ibattle rather than every single gui control which changes(removes lot of duplication)
fixed box profile saving
added !lock & !unlock commands, in autohost mode SL auto unlocks when all other players leave, fixed welcome message being displayed in non-autohost mode too
typos and string fixes
added !fixcolors command
typo
add welcome message in autohost mode
implemented !help, !ring !listprofiles and !loadprofile in autohost mode
implemented !help command in autohost mode
updated cmake and c::b projects files
now when using the first time wizard the spring dir gets correctly visualized in the settings
gettings segfault on adding user to group Signed-off-by: Rene Milk
moved std::runtime errors to subclass std::excpetion to allow selective catching
pass extra commandline params to spring in autohost mode
made autohost functionality optional (checkbox in battleroomtab)
forgot the new file, ofc
much better with class internal typedefs
working, albeit butt-ugly
first step to factoring out usermneu
simple spam protection
sanity checks before starting battle
refactored autohost logic into separate class
prototype autohost code
fixed map update for good
added buttons to option profiles errror boxes
removed wall of text on autobalance
removed silly message >_>
now SL remembers correctly the colour between battles
removed duplicate call
small ui improvement in options summary in battle list
removed unneeded mm options entry
forgot braces and breaks so the mmoptions don't get added to unneeded cathegories
fixed save & load of battle starboxes in profiles
fixed rank limit in games
removed code rendundancy
forgot to commit the rest of the fix
fixed mapinfos not getting updated in battleroomtab
loads of fixes + battle profiles should also save map, map boxes & restrictions now
removed loads of junk from the code, added private options section to mmoptionswrapper to hold data to save in the profiles
fixed problems when mod didn't ship sidepics
add link flags for libt on my system, _again_
made preset selection in battle room not editable, added sidepic besides mod sidename selection
typo fix
now deleted presets don't get listed anymore if were previously active
now refresh events are generated correctly by the gui
refactored LOt of code to use try/catch and added function to refresh preset list
preset gets auto loaded in SP mode too
committed dizekat's events header
added battle options gui to add/save/remove/set preset
added drop down box to load saved options presets
moved the "i'm ready" button to the center of battleroom, togheter with all other buttons regarding the self
speeded up battle hosting by a lot, added core code to support battle settings defaults and profiles
reworked 2 functions to use returns, not accept pointers to return stuff
fixed not always being able to add bots > max players and code complaing multiple bots in same team when total players > max players
forgot a file
fixed doubled locale dir in package
some minor cmake fixes
hopefully fixed minimap caching algo for good
made minimap caching a bit more robust
fixed minimap not getting resized when not being loaded from cache
fixed minimap pic loading, now it's slightly slower but it's much more failproof and better pic quality, bumped cache version
changed all git commands to "new" style
trying to ignore build and some others when making source package
resource files get compiled and included in exe properly
fix some build issues, put locales in windows zip and adjust catalog path to load them
seems to be working now
Signed-off-by: Rene Milk
Use .CmpNoCase instead of .MakeUpper and operator < >
Fixed disconnect and close times issue, now close is instaneous. (Changed ping thread to use wxSemaphore::WaitTimeout instead of Sleep, changed thread kind to joinable thread, PingThread::Wait() posts to semaphore ending the "sleep" in the thread. Cleaned up code a little)
Fixed layout of download manager tab.
removed CloseAllChats function (one was causing crashbug and got obsoleted, another was unimplemented anyway)
now lobby folders gets checked everytime called and if not existant they get created
removed useless var
now all the folder the lobby needs to write to should be based on the setting GetLobbyWriteDir()
fixed cache dir not created regression
improved a bit first time wizard
now SL uses standard lobby paths to avoid forum drama, improved slightly the portable mode, now the paths in the options panel are ignored when using it rather then overwritten everytime (panels in the options gets grayed out)
added what could become the toolcahin file for cross compiles, however using that wx ain't found
cmkae builds again
fixed fubared merge resoltuoin for real this time, possibly fix mixup in hl in brroomtab
bleh, fubared merge resolution
new docs script for buildbot/site
fixed missing '=' and unsigned warnigs
fixes layout issues in battleoptionstab; controls of same type are h-aligned, proper scrolling behaviour and siozer grwoth prevents overflow
added missing file to makefile (my curse hit me again)
added spec icon as png for alpha and some missing image header
cahnged status icons in battleroomlist to have on the fly overlays, spec image still missing (lacking alpha currently)
Rewrote URL handling code in chatpanel
fixed some socket problems at app close ( crashes, hangs and deadlocks)
fixed mod sync status check by hash
now even mod hash check gets cache speedup
fixed side caching for good
forgot to add files Signed-off-by: Rene Milk
fixed makefile
Signed-off-by: Rene Milk
fixed makefile
fixed sidename caching
removed unnecessary code
foxes 568
fixed codeblocks file
sorting in user add dialog (again? didn't i do that already?)
Signed-off-by: Rene Milk
sayver on springlobby channel join checks for reportstats set
show notice on first run
move autoconnect to new tab alongside disabling stats option
Signed-off-by: Rene Milk
fixes NO_TORRENT on windows and add windows to version string
removed degub variable
ups, missed a bracket
removed windows only coloumn sizes
fixes http downloader on windows
added somewhat crude nickname checing
theoretically added tooltips to action checkboxes, only they don't show
fix possible ground for segfault
create a new group via right-click innicklist and add user to it in one step
don't segfault when not connected and setting to show only highlighted
added filter only ighlighted battles
differentiate ignore chat/pm
ups, compiles again
moved setting of image lists to base class
Signed-off-by: Rene Milk
no more listctrl issues, nuff said
fixed filename of mapoptions cache
fixed some unitsync problems
bumped cache version
minimap cache uses standardized path now
standardized more unitsync caching behviours, now all routine operations are cached when trying to access unitsync
mod options cached to disk, same for sidepics, sidenames, side numbers, added standardized way to cache files to disk for unitsync
fixes weird bg in colorbuttons on windows
fixes battlelist highlights not updating properly
bah, what the last commit said + changed notif for hosted battle to say user opened battle xyz
bleh, changed behaviour again to avoid color flicker. host is still checked first, then on first return after highlighting the first user
changed highlighting behaviour in battlelist to prioritize highlighting the host over other users, if host isn't in any group all players are checked for highlight, with last player highlight color taken precedence
instead of crashing, display a warning when not connected and opening the adduser dialog
fixes color buttons
added settings versioning
bad things happening
added files to buildsystem
- added pre group buttons for dialogs - dialogs don't work when offline
add dialog wokrs completely
almost completely rewrote data storage/handling in dialog, now stuff works!
mass adiing users works somewhat
can't use nicklist to display not online users
yay, dialog shows ok
list population
a shitload more of const
removed Ui param from nicklist in favor of the global ui()
inital funcs
Signed-off-by: Rene Milk
now SL copies uikeys.txt to user folder at first time startup in linux
better layout of mgmn panel
fixes render aerror on add/delete
fixed #include paths
ui updates for existing actions complete (and no more segfaults)
- battleroom updating - fixes possible segfault in nicklist upfdteing
now PM icon colour change works correctly
new icon trial
new icon trial
new springoptions tyb icon
Signed-off-by: Rene Milk
removing highlight action from group reflects in bg change in lists
getting the changed color into battölelist works
updaehighlights not working, as expected
move to new way of handling highlight thru customlist control
moved the highlight stuff to customlistctrl -_> less code in child classes
Signed-off-by: Rene Milk
- new files added - also, for the first time, i did add them to buildsystem right away ;-)
nicklist highlight works on adduser/user status change
removing users works
- added item for remove to nicklist ctx menu (unahndled) TODO: deleted groups don't get removed from submenu
- prevents doing actions on myself - prevents adding myself to a group
implemented delete group
setting hl colors for groups work
added new files to buldsystems
ups, mixed up the ifdef
- new colorchooser for battleromlist - added notice to non msw builds about only 16 colors being saved
-HUGE reduction in code redundancy -changed to use the new color chooser
colorbutton for chatoptions and maintorrenttab
new color chooser that saves color palette
-swapped colorbutton in battleroom -new ctor for colorbutton: ability to directly set color without second call to setcolor
introducing new ColorButton class as replacement for wxButton with color bg hack
adds all palyers already in a battle to textcompletion db
moved textcompletion to the new textctrl fixed tab handling, so textcompletion and history work both now \o/
added new files + thanks currently it's either history OR text completion
ups, accidentally cached ALL actions for ALL groups... fixes actions not being properly applied
adding users per context menu now works properly
yay, get the event
setting highlight colors works
implement ignore
implemented autokick
own box for user notifs
Signed-off-by: Rene Milk
added logout event and actions: _T("notify hosted battle"),_T("notify status change")
those fucking events ain't getting called no more
disables firewall check by default (hopefully) fixes torrent resume (maybe even random downloads)
renamed bogus hh (in source this time) another map in useractions storing user --> group
removed traces of useractions from Ui renamed bogus hh
yay, stuff works
setting actions works
proto handlers
sigh, another global for useractions seemed neccessary also protopype gui elements for groups
new files, yay
added new files to makefile,cmakelist
Signed-off-by: Rene Milk
adding users to group with popup works
need a way to get group name from event in popup menu, atm it segfaults
added menu items for groups, reading groups from file works
changed all the handling to support an arbitray num of groups (ie not just friends) and a limited num of actions. not tested at all :P
saving of friends fixed
really ugly battöelist notif for friends
basic friends support, can add user to a list per userlist context menu, will be notified per servermessagebox if he logs on
firewall test off by default
added settigns stuff
Signed-off-by: Rene Milk
Signed-off-by: Rene Milk
fixed doubled/wrong path seps in windows buld
wrong sep in download destination fixed
reset to right url for ota-content
i "fixed" a segfault by not deleting the pointer to the downloader thread, no idea why that's happening even with a valid pointer.
download and unzip works again
checks if boxes have been deleted in script generation, thereby fixes 561
refactor of lisctrls: - event handling for mousmotion completely moved to base class - child classes only need to implement the SetToolTipText function and have the mousemotion func in event table - this is all kinds of awesome ;-)
tooltips are only displayed for a defined duration in listctrls
docs for customlistctrl moved tooltip delay define to customlistcttrl header
now torrents don't always try to get resumed
Run autoreconf instead of true. ;)
cancel button should work now
Fixed some mistakes in autogen.sh
Added proper error handling to autogen.sh, tools/get-revision.sh
resuming torrents between sessions works again
ops forgot to commit part of the fix
fixed an old error when trying to remove unexistant torrent, i wonder why i never noticed before
slightly better code when going ingame to perform actions on torrent wrapper
splitted fixtorrentlist function, now it's much clearer to read and use
removed all threading/locking crap from towrent wrapper since it was TOTALLY useless, now code is 3x clean, shorter and better
Updated VC9 project file.
new channel prefix for windows/linux logs
don't highlight/ req attention if user is talking from IRC
user can now specify if he wants full blinking/sound on highlighted lines or just the color change
added new chkbox to make highlight notifs more flexible
adds words highlight
Add some brief docs to some of the IUnitSync methods
commented out sorting functions in map/mod chosing controls since they were messing up indexes for map/mods
now lobby uses the map/mod cache arrays to populate mod & map choices controls in gui for huge speedup at lobby startup and battle join/host
fixes warning in BattleListTab
fixes a warning
now carriage returns gets displayed/converted correctly when setting chat topics
now connect window does remember about autoconnect state
- fixes 475 by allowing to pass custom textctrl flags to Ui::AskText, default is old behaviour wxOK | wxCANCEL | wxCENTRE
force saving of pw on autoconnect
fixes layout of connect window
ups, didn't commit the changes for autojoin to work
adds autoconnect support (disabled)
fixed chat font not changing in windows
changed no bot behaviour to ask instead of refuse
adds informative tooltip to minimap in sp
changed failure condition
makes firewall text results more verbose
adds tooltip pointing to autojoin
makes the host button in host dialog have focus after creation of dialog
fixes 467
fixes 476
- Correct the hardcoded Path to the PkgConfig Modul of CMake - Added a Versioncheck for libtorrent where we at least require Version 0.13 - If no sufficient Option is found the OPTION_USE_TORRENT Variable is automatically set to 0
- Extended the CMake Build System by a first optional Parameter for SpringLobby: - OPTION_USE_TORRENT_SYSTEM: Enables the Torrent System - Minor Corrections in the Context of the Torrent Build System
added IUnitSync GetMapArchive and GetArchivePath methods
don't call GetNumMaps/GetNumMods in each loop iteration
- Added Testframework for testing pressing/releasing of Keys, but wxTextCtrl is shadowing/catching Key_Down Events. :(
default sort order:name --> percent completed --> mb donwloaded changed two todos
added sorting for eta (needed additional field in torrentinfo)
non functioning torrentsystem status update via event
- Readded disappeared Code for TextCompletion Support of the Playernames in the current Channel
now the first column of nicklist has fixed size in win (50 pix)
fixed typo in luaai load
fixed segfault on recieveing msg in server / battle chat while not focused
refactor pt1
this should be it
more stability for selection
some selection improvements
refactored some stuff to list parent class
this should be it
more stability for selection
some selection improvements
fixes #494
removed todo
removed comment
updated makefile for missing header *sigh*
updated translations and removed mo files
updated potfiles.in
added missing files to buildsystem
works
strange things happen in mingw compile
removed useless #include from header
made configure to fail if libtorrent not found
fixed missing file in makefile
removed missing files
fixed copypasta error in color replacing
now it should be working
changed configure to default to NO_TORRENT_SYSTEM
updated cmakefile, now the download is prompted only at first time startup
fixed fileexist search method in unitsync not closing file handlers
testing usync exist check
changed option panel icon for torrent
create the torrent folder in SpringData in case it's missing, otherwise the app crashes
fixed updated triggering refresh in sections they didn't belong in SP tab
now chat panel uses HSV instead of RGB to produce new notification icons ( still distorts the colour tho)
added translations from launchpad
renamed boundry to CLAMP
load the mods before fetching luaais ( wasn't threadsafe also could fail in case of MP + SP usage)
changed color replace to real clamp
fixes ansi build
notification colours working for PM too and added 3 different colours for highlight, normal chat and join/leave
forgot to release files on system disconnection
prevent the torrent system to connect twice
more todos updated
updated some todos
added todo
manually added ebuild
- TextCompletionDatabase: - Changed the Matching a bit - chatpanel: - Now pressing Tab never writes Tab's into the Message Line anymore - If no Matches are found the System-Bell gets rung. - If the Match is exactly the Abbreviation that was asked for Completion, nothing happens.
made script writing and tdf container unicode-aware
trying ebuild01
added internal code to call torrent wrapper passing archive unitsync name instead of hash
checks if a bot was added in sp before starting game
now or never
now it fixes compile error, really also warning fixed about m_chatlog == 0 having no effect
hopefully fixes compile error
fixes cpu report on win
fixed cmakefile
Fixed segfault (caused by erasing iterator in map and then trying to increment it)
updated cmake file
amended cbp and makefile.am
removed all those insane signed <-> unsigned hash coversions, now unitsync class always returns signed, moved mod/map local list caching to unitsync class
- TextCompletionDatabase: - Feedable with Pairs of (Abbreviaton, Completion) so one could complete for Example "lol" -> "Laughing out loud!" - Features: - The TextCompletionDatabase is able to return all Abbreviations and their corresponding Completions, that contain the requested Abbreviation: - Example: Querying for "ao" returns all off the following Pairs: - ("Kaot", "Kaot") - ("Kaos", "Kaos is in my Room") - ("Lao", "Lao is a Country" - Chatpanel: - Insert/Remove Completion-Pairs to/from the TextCompletionDatabase with Nicks, as User join/leave a Chanel - Nicks just have the same Abbreviation as their Completion, so for Kaot the Pair would look like: Insert(Kaot,Kaot)
added status display, update isn't working correctly tho
added a menu entry for clearing channel text
added base to wx lib explicit dep
now SL autosizes columns automagically
was lost in conflict resolution dammit
applied wrong merge resolution
fixes two warnings
DO ADD _ALL_ include files in MAkefile.am goddammit
astyle config added in tools/
hide lot of gui controls which don't have logic behind, made columns autosize in listctrl
win and ansi build fixes
- added dizekat as dev in about - updated thanks for icons - links to wiki/mailinglists in NEWS/UPDATES
fixes autotools build for icons stuff
removed arm & core icons from repo
removed arm & core icons from lobby, need to be replaced with generic side 1 & 2 icons, made while colour to be replaced with 0 alpha in sidepics
added two numbers icon
again, new icons and sources, also provision in mainoptionstab for torrent icon
changed broom + added source files
gui beautufics
added logic for options
gui mods in place
- Added tdfcontainer to the CMakeLists.txt File in order to be able to successfully compile Springlobby
now springlobby doesn't broadcast chat lines which starts with / and are not found in it's internal command list
forgot commenting not working code >_>
now cancel button in the torrent gui works
added torrent multiple suspend modes core code and settings part
made thread class protected in downloader itslef
- renamed updateprogressbar to httpdownloaderthread (that's what it is now) - added switch to disable notifications on downloadevents - added possibility for custom notification texts
replace enable torrent settings with autostartmode, changed program logics accordingly, needs gui yet
changed text of ota downlaod
fixed leeching vs seeding col header
fix xpm
fixed uknown distrubtured sources gui message, fixed unlocalized strings, fixed segfault on app close, changed leech display & logic to be seed instead
auto leeching torrents works
added function to remove (cancel) torrents
small adjustment
moar gui fixes
some gui fixes
fixed removing seeded torrents decreasing open leeched torrents
numbers fixed
fixed numbers in list (i hope)
fixed torrent speeds reporting sizes instead of actual speeds
removed the (useless since duplicate) check if file was already present locally before leeching
forgot a ;
forgot to commit changes in the gui section
fixed passing params to the gui, added filesize and changed hash container to be wxString
guesswork
ups
added checks to prevent joining duplicate torrents or requesting files you already have
changed speed calc
now torrent system uses .torrent files instead of infohahes, fixed logic that was assuming that torrent name was equal to unitsync name
added logic for full games
added icons for full games (non-pw)
openfullpw
Fixed lot of bugs in torrentwrapper. Current state: getting using infohash does not work because of division by zero in libtorrent.
new admin away
new icons (away+spec+fullgames)
same as last
add globalevents to cbp
changed base64 lib to be from codeblocks, tweaked it to return std::string and used in torrent wrapper
added checks on messages from server to prevent segfaults on malformed messages
now gui displays global speeds and renabled buggy seed request handler to fix
made columns resizeable in torrent tab
fixed slightly description of torrent system settings
fixed settings torrent network speeds
fixed torrent gui so it list torrents correctly and columns sizes properly
temporanely disabled autoseeding torrents fixed missing base64 decoding of torent infohash fixed adding http urls for seeds (now adds them all, not just first) now doesn't saves locally .torrent info file anymore when creating a new one
now finally torrent socket reads all the data (i missed to copy a part of code from tasserver socket operation)
fixed enfocing max 5 open torrents in leech mode
torrent system won't do roitine maintenance if not connected to the system
made network message handler for torrent lib much mroe robust in case of race conditions
added patch to buildsystem from tizbac to allow building SL with libtorrent
added path to base and filename
fixed segfault
moved global handler to own file
Fixes in mutex locking. Builds, but not tested.
added global handler for events
with eventdefines
event not processed
fixed private/public problem
finished adding mutexes templates to torrent wrapper code
kinda working
Broke build.
added optional #define NO_TORRENT_SYSTEM to disable compilation and excution of content downloader
Added fixcolours_palette.xpm
Improved fixcolors. Changed version string.
now it downloads finally!
fixed race condition for pointer
fixed compilation problems (dunno why i didn't have those before)
fixed class pointer location
moved all downloading stuff to the thread to prevent race bugs
trying stuff
fixes makefile and add example
possibily fixed segfault on read from http stream
cahnged min slider pos to 0 on audio tab
made springsettings remember pos and size
chaned connect window focus behaviour: if username is non-empty focus is set to ok button
started work on game full icon
fixed url for fetching files (forgot a / )
removed potential segfault on http connecrion failure
initial version of an http downloader with progress dialog and automatic unzip
some new icons
changed eubuild update
fixed refresh button in minimap preview crashing lobby if not in a battle
fixed a string that should not be translated
changed title of first time widzrd to reflect what it actually is :P
now SL autocreates a demos & screenshots folders too
fixed trying to access untisync when it wasn't loaded, now suggestion in case of dir creation failed doesn't uses empty prefix anymore on cancel button
merge resolutions - done
fixed scrollbar position
now dht gets stopped while spring is running
some tweaks to icon
added new icon
first try on specifying libs
fixed return instead of break
added some hints on image scripts
first join torrents that needs to be seeded THEN leave torrents that don't need anymore to avoid threading errors
now torrent uses infohash to join a torrent instead of downloading file from tracker
added support for infohash, fixed behaviour to add http mirrors, and some race conditions
fixed some silly typos forgot negations, ecc in torrent code
forgot project file
no info in map
nothing really
getting stuff from bd
now CollectGuiInfos is public in torrent wrapper and will be called from gui code instead
fixed map list not reloading after unitsync reload
now map container to pass torrent infos is indexed by file hashes instead
intermediate
added handling of max connections settings in torrent wrapper
now SL properly read & write to .springrc file the SpringData path
disconnect from system if requested
settings get saved
added automatic & assited user data folder creation under linux
settings not getting set
compiles
forgot to enable dht extension
need bd's stuff
added function to check torrent system connectivity
halfway through optionspanel for torrent
hooked the function for torrent threaded slowupdate
hooked ui class to the wrapper to auto pause/resume upon game launch
torrents gets all removed upon disconnection, now lobby autoconnects to system at lobby server connection
now it uses (none) instead of a space to represent empty description
replace empty battle description with a space
removed obsolete libtorrent::storage in favour to wx functions
forgot to fix a line
added (not used yet) function that uses metadata exchange and infohash insteead of downloading .torrent files from the tracker
enabled libtorrent 0.13 additional functions
fixed function position in torrent class
changed gui functions to they use torrent wrapper to download medias
typo fixed
Implemented saving of start pos type and rectangles(if any) per map.
forgot int conversion
added function to list files in the system, now unitsync reload automatically adds file listing to the torrent
new rank6 (star) icon by tizbac
some initial fixes for gui code
removed useless debug code
fixed file locations
fixed minor problem with how torrent names were passed between different section of codes
added code to write torrent descriptor file from tracker
removed thread, now uses timer updates to do cyclic operations, now lobby does maintenance operations on torrents
automatically leave torrents when not needing to seed them anymore
forgot #include
autodownloads descriptor file from tracker if not present locally
now torrent settings uses settings class directly instead of function calls
fixed selection of server to download torrent infos
fixed connecting port to p2p coordinator
started adding thread to send torrent infos to the gui
fixed compiling errors
initial version of gui to control torrent interface
started adding function to download torrent file from server
fixed compilation error
halfway through with constant elimination
now it compiles again
fixed some compiling errors
added some needed function to interface lobby with wrapper
moved p2p infos containers to std::map, added extension support to libtorrent
forgot to commit a necessary change to compile
fixed publishing address for torrents and check for being online before getting a file
added net interface for the torrent wrapper to connect to p2p coordinator
it finally compiles!!!11111eleventyone
added missing #includes
fixed many compiler errors
fixed more errors
fixed many compiler errors, lot still missing
fixed variable names and torrent joining
better handling
more progresses
fixed some torrent handling
horrible, incomplete, not working and not compiling initial verion of torrent support
- Modification in order to get wxWidgets findable under Windows
- Added qa Flag for Use of wxDebug*
this might close ticket #49
- Don't do RegEx Matching if /proc/cpuinfo could not be read, instead just return 0.
- Tuned the Doxyfile to print out undocumented Methods and Classes. - Tuned the HTML Output of Doxygen
- CPU Detection for Linux added. - Current State of CPU is counted, so this may vary for Linux'es that support ACPI CPU Throttling.
- Cleaned up a bit - CMake_Setup.sh Script expanded and Infotext added, so that the User is aware of what the Script will do. He is also asked whether to proceed or not.
all listctrl automatically remember coloumn width once column is resized.
Fixed: rb-libtorrent, not libtorrent-rb
Add support for some alternate names for libtorrent
fixes missing defines in non autotools builds
new users will get spring's data dir to be "spring" instead of ".spring" (new one is not invisible)
Signed-off-by: Rene Milk
Signed-off-by: Rene Milk
some more docs
removes base16.*
- fix a some warnings
removed stupid code duplication
even moar docs!
moar docs
fixes uninitialized variable segfault
docs
-TA +spring link
refactor of lisctrls: - event handling for mousmotion completely moved to base class - child classes only need to implement the SetToolTipText function and have the mousemotion func in event table - this is all kinds of awesome ;-)
tooltips are only displayed for a defined duration in listctrls
docs for customlistctrl moved tooltip delay define to customlistcttrl header
Fixed and documented util.sh
now torrents don't always try to get resumed
Run autoreconf instead of true. ;)
cancel button should work now
Fixed some mistakes in autogen.sh
Added proper error handling to autogen.sh, tools/get-revision.sh
resuming torrents between sessions works again
ops forgot to commit part of the fix
fixed an old error when trying to remove unexistant torrent, i wonder why i never noticed before
slightly better code when going ingame to perform actions on torrent wrapper
splitted fixtorrentlist function, now it's much clearer to read and use
removed all threading/locking crap from towrent wrapper since it was TOTALLY useless, now code is 3x clean, shorter and better
Updated VC9 project file.
new channel prefix for windows/linux logs
don't highlight/ req attention if user is talking from IRC
user can now specify if he wants full blinking/sound on highlighted lines or just the color change
added new chkbox to make highlight notifs more flexible
adds words highlight
Add some brief docs to some of the IUnitSync methods
adds username as reporter on new trac ticket
Include config.h in src/mapctrl.cpp
fixes forbidden char in chatlog dir on windows
Spiffed up the Doxygen configuration
fixes segfault on exit due to uninitialzed member pointer
Fixed a typo: "Tranfers" -> "Transfers"
fixed .springlobby dir not being created at first time startup
ups, left some debug code in there...
index wasn't porperly set according to default when loading mod option type list
fixes torrent system autostart radio button not set correctly in options tab
Add generated configure.ac to .gitignore
fixes tooltip enabled state not set on app launch
DUH AGAIN, wrong filenames in makefile...
DUH forgot to add new files
removed superflous seperator in tools menu
adds edit dialog for autojoin channels in tools menu
Move version selection (auto vs. specified) to autogen.sh
added kaot and insaneinside to about
Fixed a typo in src/battleoptionstab.cpp
Revert "Nix included libtorrent (fixes distcheck failure)"
Oops, need to keep libt_dir defined...
Only include libtorrent-related dirs in SEARCHDIRS if winbuild
Also allow version string as parameter to autogen.sh
refactored UnitSyncThread to remove multiple inheritance
compiles and links in Visual Studio 9
Revert "enabled option to disable udp"
added automatic reconnection to p2p tracker in case of disconnection and manual mode not enabled
possibly fixed problem when debug report wasn't available
made sure that settings gets saved before unitsync gets destroyed and avoided for cache path to be changed everytime the lobby boots
fixes missing include
cahnged torrent to be enabled by default in linux build
new rank 6 icon
test
fixed cache folders not being created if wan't first time startup after path change
fixed all sort of zombie/crash/whatever in windows on app close WTF I FINALLY FIXED WOOHOOO
should fix buildbot compile
fixes 512
fixed message boxes having weird sizes in windows
fixed portable mode in windows
improved thanks file, made error messare on missing sdl deps more clear in autotools
improved error message on cmake configure failure if sdl libs aren't found
fixed loading of map info
fixed problem when author wasn't found and cache version not saved
changed token separator in map info cache so line feed will work
enabled option to disable udp
changed from bimap to std::map so hash collisions won't make maps/mods unusable
added better error debug messages in file cache in unitsync
added space to beautify unit restriction list
fixed mod unit list caching
fixed memleak
changed cache file name and fixed error messages
now map info caching fully works
changed how map info gets cached, enabled? map info caching
fixed using stream append instead of sstring add in socket operation (should give speedup)
bumped cache version and moved cache location to spring data dir / lobbycache
moved manual start/stop of torrent system from options panel to menu tools
ups code that shouldn't have been merged
moved autojoin and play sounds to chtaoptionspanel
fixes pm sound on app not active
fixed some warnings + reenabled tooltips in win
possibly fixed added empty page on scroll using normal text ctrl & windows
fixed strings which should not be localized
changed how SL handles hash collsions, no more crash into oblivion but skips the file and throws error
removed -DNO_TORRENT_SYSTEM from CB project.
fixed weird scrolling behaviour in win using normal textctrl
fixed copypasta error
fixed browser spam with normal text ctrl
fixed chat not autoscrolling when using richtext & windows
scroll hotfix
yet another
nother try
temp measure for win build
buildsystem fix
temp disabled sound in buildbot builds
added compatibility with cmake 2.6 and a little step forward towards havign working sdl_sound reockognition in cmake
added optional define NO_RICHTEXT_CHAT to use wxTextCtrl instead of wxRichTextCtrl (won't have optional autoscroll but will be much faster)
updated translations and fixed buildsystem
changes to configure.ac
fixed used settings class in everything but windows
another try
wrong type in settings.h
prepare for edit menu sounds disable
fixed highlight and sound on notification when not focused
tries to en/disable tooltips on lobby start
fixes build for me
added setting to enable/disable pm sound
forgot to commit pm sound file
updated buildsystems
renamed files, changed instnatiated class to static instance, added pm sound, added tool to convert wavs in text files
More tooltip fixes.
comments change
minor mac fix
fixes for mac
More mac fixes: runs but column autosizing is borked.
cherry-picking mac fixes for list ctrl Conflicts: src/nicklistctrl.cpp
towrade disable tooltips/autojoin
fixes springsettings standalone build
derived class for win
fixed settings tool not compiling when debug report was disabled
fixed mod pic loading making side names lowercase
increased max players limit in hosting dialog to 32 (spring supports up to 16 teams tho)
made debug report being disabled by default unless spefifically enabled
added missing file to tarball buildsystem
partially adde sound support to cmake buildsystem (atm sdl_sound check fails)
updated c::b project to support SDL sound
Revert "changed load / store settings to use casts to long data type explicitly"
one file still missing
forgot to commit a couple of files
commit as-is morphriz's patch to allow sound trought sdl_sound
changed load / store settings to use casts to long data type explicitly
ups wrote false instead of true :(
made autoscroll disable on chat focus lost off by default
now the lobby automatically rebase the spring paths every startup in portable mode
improved string tokenizing in torrent & output chat functions
fixed build errors in windows, now works perfectly
now file settings in windows should work, added option to detect portable mode (not used yet), script.txt gets saved in spring dir now
more try/catch, now app should be wayyy more stable
added more try/catch
added try/catch to battleroomlistctrl
wrapped asserts in try/catch in battle & battlelisttab
more stuff wrapped in try/catch
wrapped properly the asserts in the tasserver class in try/catch resulting i way much more stable app
renamed LocalMap/Mod to LoadMap/LoadMod, now void hash is void string and not NULL and sync check now works perfectly
partially added code to detect urls
made code simpler and faster thansk to dizekat
now configure fails properly if torrent mode was enabled and libtorrent not found
added option to disable autoscroll when chat doesn't have focus (default is on)
added richtext lib linking to buildsystems
ups, the limit to disabe autoscroll shouldn't be 3 lines below bottom scrollbar
changed chat panel to be wxRichTextCtrl, made working autoscroll
now server panel can be closed like a normal panel
fixed map not changing in MP
fixed crash in ubuntu
selection in torrent tab should be stable now
Handicap warning added.
fixes segfault with autojoin on exit
now torrent system can download files by name too and mod download works
commented out sorting functions in map/mod chosing controls since they were messing up indexes for map/mods
now lobby uses the map/mod cache arrays to populate mod & map choices controls in gui for huge speedup at lobby startup and battle join/host
fixes warning in BattleListTab
fixes a warning
now carriage returns gets displayed/converted correctly when setting chat topics
now connect window does remember about autoconnect state
- fixes 475 by allowing to pass custom textctrl flags to Ui::AskText, default is old behaviour wxOK | wxCANCEL | wxCENTRE
force saving of pw on autoconnect
fixes layout of connect window
ups, didn't commit the changes for autojoin to work
adds autoconnect support (disabled)
fixed chat font not changing in windows
changed no bot behaviour to ask instead of refuse
adds informative tooltip to minimap in sp
changed failure condition
makes firewall text results more verbose
adds tooltip pointing to autojoin
makes the host button in host dialog have focus after creation of dialog
fixes 467
fixes 476
now SL correctly reports to p2p coordinator the battle infos to allow voice chat integration
now SL sends a message to p2p coordinator to autoset teamspeak chat rooms
now SL lists jar files in global AI folder as AIs
fixed missing string check
fixed map/mod not being set corrently in SP
distinguished local map/mod hash/name from host map/mod hash/name in variables and function calls
added #include so SL builds on mac too
lol i was trying to strip the player name & not the dll name
fixed silly code trying to strip path infos from modname instead of botname in battleroomlistctrl
fixed small typo :p
now bot name gets refined in player list in battleroomlistctrl too
- Correct the hardcoded Path to the PkgConfig Modul of CMake - Added a Versioncheck for libtorrent where we at least require Version 0.13 - If no sufficient Option is found the OPTION_USE_TORRENT Variable is automatically set to 0
strip luaai prefix in add bot list
- Extended the CMake Build System by a first optional Parameter for SpringLobby: - OPTION_USE_TORRENT_SYSTEM: Enables the Torrent System - Minor Corrections in the Context of the Torrent Build System
fixed ota content saving dir also set the spring dir correctly in the app if created from wizard
fixed unitsync loading reporting success even in case of nonexisting file
added IUnitSync GetMapArchive and GetArchivePath methods
start and stop dht only after torrent system login successful
forgot to commit some changes :P
fixed problem when sending/recieving/listing luaais from server commands
now the first column of nicklist has fixed size in win (50 pix)
don't call GetNumMaps/GetNumMods in each loop iteration
initialize m_timer_count et al.
initialize m_otadownloader et al.
initialize globalinfos members
fixed typo in luaai load
initialize m_sortorder
- Added Testframework for testing pressing/releasing of Keys, but wxTextCtrl is shadowing/catching Key_Down Events. :(
fixed segfault on recieveing msg in server / battle chat while not focused
refactor pt1
this should be it
more stability for selection
some selection improvements
refactored some stuff to list parent class
this should be it
more stability for selection
some selection improvements
default sort order:name --> percent completed --> mb donwloaded changed two todos
added sorting for eta (needed additional field in torrentinfo)
fixes #494
removed todo
non functioning torrentsystem status update via event
removed comment
updated makefile for missing header *sigh*
updated translations and removed mo files
updated potfiles.in
added missing files to buildsystem
works
strange things happen in mingw compile
removed useless #include from header
made configure to fail if libtorrent not found
fixed missing file in makefile
removed missing files
fixed copypasta error in color replacing
now it should be working
changed configure to default to NO_TORRENT_SYSTEM
updated cmakefile, now the download is prompted only at first time startup
fixed fileexist search method in unitsync not closing file handlers
testing usync exist check
changed option panel icon for torrent
create the torrent folder in SpringData in case it's missing, otherwise the app crashes
fixed updated triggering refresh in sections they didn't belong in SP tab
now chat panel uses HSV instead of RGB to produce new notification icons ( still distorts the colour tho)
added translations from launchpad
renamed boundry to CLAMP
load the mods before fetching luaais ( wasn't threadsafe also could fail in case of MP + SP usage)
changed color replace to real clamp
fixes ansi build
notification colours working for PM too and added 3 different colours for highlight, normal chat and join/leave
forgot to release files on system disconnection
prevent the torrent system to connect twice
- Readded disappeared Code for TextCompletion Support of the Playernames in the current Channel
more todos updated
updated some todos
added todo
manually added ebuild
- TextCompletionDatabase: - Changed the Matching a bit - chatpanel: - Now pressing Tab never writes Tab's into the Message Line anymore - If no Matches are found the System-Bell gets rung. - If the Match is exactly the Abbreviation that was asked for Completion, nothing happens.
made script writing and tdf container unicode-aware
trying ebuild01
added internal code to call torrent wrapper passing archive unitsync name instead of hash
checks if a bot was added in sp before starting game
now or never
now it fixes compile error, really also warning fixed about m_chatlog == 0 having no effect
hopefully fixes compile error
fixes cpu report on win
fixed cmakefile
Fixed segfault (caused by erasing iterator in map and then trying to increment it)
updated cmake file
amended cbp and makefile.am
removed all those insane signed <-> unsigned hash coversions, now unitsync class always returns signed, moved mod/map local list caching to unitsync class
- TextCompletionDatabase: - Feedable with Pairs of (Abbreviaton, Completion) so one could complete for Example "lol" -> "Laughing out loud!" - Features: - The TextCompletionDatabase is able to return all Abbreviations and their corresponding Completions, that contain the requested Abbreviation: - Example: Querying for "ao" returns all off the following Pairs: - ("Kaot", "Kaot") - ("Kaos", "Kaos is in my Room") - ("Lao", "Lao is a Country" - Chatpanel: - Insert/Remove Completion-Pairs to/from the TextCompletionDatabase with Nicks, as User join/leave a Chanel - Nicks just have the same Abbreviation as their Completion, so for Kaot the Pair would look like: Insert(Kaot,Kaot)
added status display, update isn't working correctly tho
added a menu entry for clearing channel text
added base to wx lib explicit dep
now SL autosizes columns automagically
was lost in conflict resolution dammit
applied wrong merge resolution
fixes two warnings
DO ADD _ALL_ include files in MAkefile.am goddammit
astyle config added in tools/
hide lot of gui controls which don't have logic behind, made columns autosize in listctrl
win and ansi build fixes
- added dizekat as dev in about - updated thanks for icons - links to wiki/mailinglists in NEWS/UPDATES
fixes autotools build for icons stuff
removed arm & core icons from repo
removed arm & core icons from lobby, need to be replaced with generic side 1 & 2 icons, made while colour to be replaced with 0 alpha in sidepics
added two numbers icon
again, new icons and sources, also provision in mainoptionstab for torrent icon
changed broom + added source files
gui beautufics
added logic for options
gui mods in place
- Added tdfcontainer to the CMakeLists.txt File in order to be able to successfully compile Springlobby
now springlobby doesn't broadcast chat lines which starts with / and are not found in it's internal command list
forgot commenting not working code >_>
now cancel button in the torrent gui works
added torrent multiple suspend modes core code and settings part
made thread class protected in downloader itslef
- renamed updateprogressbar to httpdownloaderthread (that's what it is now) - added switch to disable notifications on downloadevents - added possibility for custom notification texts
replace enable torrent settings with autostartmode, changed program logics accordingly, needs gui yet
changed text of ota downlaod
fixed leeching vs seeding col header
fix xpm
fixed uknown distrubtured sources gui message, fixed unlocalized strings, fixed segfault on app close, changed leech display & logic to be seed instead
auto leeching torrents works
added function to remove (cancel) torrents
small adjustment
moar gui fixes
some gui fixes
fixed removing seeded torrents decreasing open leeched torrents
numbers fixed
fixed numbers in list (i hope)
fixed torrent speeds reporting sizes instead of actual speeds
removed the (useless since duplicate) check if file was already present locally before leeching
forgot a ;
forgot to commit changes in the gui section
fixed passing params to the gui, added filesize and changed hash container to be wxString
guesswork
ups
added checks to prevent joining duplicate torrents or requesting files you already have
changed speed calc
now torrent system uses .torrent files instead of infohahes, fixed logic that was assuming that torrent name was equal to unitsync name
added logic for full games
added icons for full games (non-pw)
openfullpw
Fixed lot of bugs in torrentwrapper. Current state: getting using infohash does not work because of division by zero in libtorrent.
new admin away
new icons (away+spec+fullgames)
same as last
add globalevents to cbp
changed base64 lib to be from codeblocks, tweaked it to return std::string and used in torrent wrapper
added checks on messages from server to prevent segfaults on malformed messages
now gui displays global speeds and renabled buggy seed request handler to fix
made columns resizeable in torrent tab
fixed slightly description of torrent system settings
fixed settings torrent network speeds
fixed torrent gui so it list torrents correctly and columns sizes properly
temporanely disabled autoseeding torrents fixed missing base64 decoding of torent infohash fixed adding http urls for seeds (now adds them all, not just first) now doesn't saves locally .torrent info file anymore when creating a new one
now finally torrent socket reads all the data (i missed to copy a part of code from tasserver socket operation)
fixed enfocing max 5 open torrents in leech mode
torrent system won't do roitine maintenance if not connected to the system
made network message handler for torrent lib much mroe robust in case of race conditions
added patch to buildsystem from tizbac to allow building SL with libtorrent
added path to base and filename
fixed segfault
moved global handler to own file
Fixes in mutex locking. Builds, but not tested.
added global handler for events
with eventdefines
event not processed
fixed private/public problem
finished adding mutexes templates to torrent wrapper code
kinda working
Broke build.
added optional #define NO_TORRENT_SYSTEM to disable compilation and excution of content downloader
Added fixcolours_palette.xpm
Improved fixcolors. Changed version string.
now it downloads finally!
fixed race condition for pointer
fixed compilation problems (dunno why i didn't have those before)
fixed class pointer location
moved all downloading stuff to the thread to prevent race bugs
trying stuff
fixes makefile and add example
possibily fixed segfault on read from http stream
cahnged min slider pos to 0 on audio tab
made springsettings remember pos and size
chaned connect window focus behaviour: if username is non-empty focus is set to ok button
started work on game full icon
fixed url for fetching files (forgot a / )
removed potential segfault on http connecrion failure
initial version of an http downloader with progress dialog and automatic unzip
some new icons
changed eubuild update
fixed refresh button in minimap preview crashing lobby if not in a battle
fixed a string that should not be translated
changed title of first time widzrd to reflect what it actually is :P
now SL autocreates a demos & screenshots folders too
fixed trying to access untisync when it wasn't loaded, now suggestion in case of dir creation failed doesn't uses empty prefix anymore on cancel button
merge resolutions - done
fixed scrollbar position
now dht gets stopped while spring is running
some tweaks to icon
added new icon
first try on specifying libs
fixed return instead of break
added some hints on image scripts
first join torrents that needs to be seeded THEN leave torrents that don't need anymore to avoid threading errors
now torrent uses infohash to join a torrent instead of downloading file from tracker
added support for infohash, fixed behaviour to add http mirrors, and some race conditions
fixed some silly typos forgot negations, ecc in torrent code
forgot project file
no info in map
nothing really
getting stuff from bd
now CollectGuiInfos is public in torrent wrapper and will be called from gui code instead
fixed map list not reloading after unitsync reload
now map container to pass torrent infos is indexed by file hashes instead
intermediate
added handling of max connections settings in torrent wrapper
now SL properly read & write to .springrc file the SpringData path
disconnect from system if requested
settings get saved
added automatic & assited user data folder creation under linux
settings not getting set
compiles
forgot to enable dht extension
need bd's stuff
added function to check torrent system connectivity
halfway through optionspanel for torrent
hooked the function for torrent threaded slowupdate
hooked ui class to the wrapper to auto pause/resume upon game launch
torrents gets all removed upon disconnection, now lobby autoconnects to system at lobby server connection
now it uses (none) instead of a space to represent empty description
replace empty battle description with a space
removed obsolete libtorrent::storage in favour to wx functions
forgot to fix a line
added (not used yet) function that uses metadata exchange and infohash insteead of downloading .torrent files from the tracker
enabled libtorrent 0.13 additional functions
fixed function position in torrent class
changed gui functions to they use torrent wrapper to download medias
typo fixed
Implemented saving of start pos type and rectangles(if any) per map.
forgot int conversion
added function to list files in the system, now unitsync reload automatically adds file listing to the torrent
new rank6 (star) icon by tizbac
some initial fixes for gui code
removed useless debug code
fixed file locations
fixed minor problem with how torrent names were passed between different section of codes
added code to write torrent descriptor file from tracker
removed thread, now uses timer updates to do cyclic operations, now lobby does maintenance operations on torrents
automatically leave torrents when not needing to seed them anymore
forgot #include
autodownloads descriptor file from tracker if not present locally
now torrent settings uses settings class directly instead of function calls
fixed selection of server to download torrent infos
fixed connecting port to p2p coordinator
started adding thread to send torrent infos to the gui
fixed compiling errors
initial version of gui to control torrent interface
started adding function to download torrent file from server
fixed typo
fixed compilation error
fixed quit button broken by me :P
forgot to put footer in doxyfile
trying diff html header/footer
forgot html header changed doc/.gitignore to change everything but this one
split Doxyfile, some tweaks
partly applied patch from ticket 311
incremented cache version changed rpm update script to my slave situation
it works!!!
looks like fixed
fixes script error in sp causing restriction list to load wrong
maybe it
Spectator count bug (when hosting with springlobby) fixed.
added todo about possible modoptions fubar in mmoptionswrapper::361
added missing file to cmake conf
Fixed minor bug in OnAddBot. Added TowxString(wxChar*) specialization in utils.
Rewrote script generation to use TDFWriter class.
fixed compiler warning
missing include was causing compile error on gcc4.3 opensuse11(alpha), adds #include
missing include was causing compile error on gcc4.3 opensuse11(alpha), adds #include
beautified code a tiny bit
forgot a long <-> int conversion
changed long containers to int in mm options, used functions like i2s & f2s to avoid locale probs
added utility functions for numbers to wxString conversions in utils
Fixed wront results produced by wxString::Format (32-bit variables read as 64-bit). Not tested.
bleh
Implemented bans and ip-bans, non-permanent (inside Battle class). IP bans are untested.
now the app tries to use first global file, then user config file
halfway through with constant elimination
now it compiles again
fixed some compiling errors
added some needed function to interface lobby with wrapper
moved p2p infos containers to std::map, added extension support to libtorrent
forgot to commit a necessary change to compile
fixed publishing address for torrents and check for being online before getting a file
added net interface for the torrent wrapper to connect to p2p coordinator
it finally compiles!!!11111eleventyone
added missing #includes
fixed conversion wxConfig to wxFileConfig
changed settings storage format in windows from registry to ini file
fixed many compiler errors
fixed more errors
fixed many compiler errors, lot still missing
fixed variable names and torrent joining
better handling
more progresses
fixed some torrent handling
horrible, incomplete, not working and not compiling initial verion of torrent support
- Modification in order to get wxWidgets findable under Windows
- Added qa Flag for Use of wxDebug*
this might close ticket #49
- Don't do RegEx Matching if /proc/cpuinfo could not be read, instead just return 0.
- Tuned the Doxyfile to print out undocumented Methods and Classes. - Tuned the HTML Output of Doxygen
- CPU Detection for Linux added. - Current State of CPU is counted, so this may vary for Linux'es that support ACPI CPU Throttling.
- Cleaned up a bit - CMake_Setup.sh Script expanded and Infotext added, so that the User is aware of what the Script will do. He is also asked whether to proceed or not.
Fixed minor autoscroll glitch when multiple messages are posted between ui updates.
fixes map stats not updating after clicking refresh map on mapctrl after downloading the map
replace dead uf links
sort of fixed weird crashbug when you're already logged on. However the bug needs to be investigated much more closely. When ChatPanel::SetChannel(0) gets called after disconnect, m_show_nick_list is true, but m_nicklist is NULL. Method seems to be called before execution of constructor, or during execution of constructor, in separate thread.
Autoscroll cleanup, unused variables and functions removed, logging removed.
Fixed autoscroll, tested. Fixed some compiler warnings. Todo: major cleanup in autoscroll/
fixed cbp
fixes right-click join crash if mod nonexistant
Fixed bug in autobalance. Added messaging about balance in battle room.
changed order of balance methods, now Random , Divide ranks evenly
Added "Use smart scrolling" checkbox in chat settings, which controls Chat/SmartScrollEnabled option, which controls whever to use fixed autoscroll. Fixed few compiler warnings. Slightly clearer comments in ChatPanel::OutputLine
Tiny fix for autobalance when theres 1 start box.
Now autobalance works with nonsequential start recs. Will put that commit to autobalance branch too.
Now autobalance works with nonsequential start recs. Will put that commit to autobalance branch too.
Non-scrolling works correctly now. Tested on Linux/wxWidgets 2.8.7 wxGTK
added some code to get scroll bars infos
Changes in user interface for balancing. Now has choice list Clans with values None,Fair,Always. Tested.
added option to set max size in chat log, and initial work on disabling autoscroll
Added new source files for autobalance to makefile.
More autobalance fixes. Tested. Works correctly apart from minor problem when start boxes are not numbered sequentially.
Autobalance nearly done.
fixed channel messages not being displayed properly
Started implementing autobalance
no more WTF codeblocks project
fixed makefile
redid icon text
blending werks
Nat ports changed. Hosting with nat now uses same port as selected in hosting dialog. Joining battle uses port from /General/ClientPort option, which defaults to 0 When it is 0, on first udp ping, the avaliable port number is obtained from system and used later on Completely Untested. Can not compile because of other changes.
blending eq not right
got the options text right
added support for /hook and /quit commands for aegis server
fixed column size of battlelist on windows
all but one icon working
no text icons ok
added images headers and scripts
icons working
removed double thread killing that causes segfault
now win codeblocks project is more path tollerant using global variables
png kinds working
fixed horrible syntax
no more battle rendering glitches in windows (workaround by redraw)
fixed user index problems in battlelist
changed modal of messagebox, and the message in case of hosting fail
now the test firewall button gets disabled when NAT traversal is on
forgot to remove a line
fixed flag icons index
fixed iconsimagelist call type
fixed typo in void icon name
removed useless nonIcon declaration
fixed the static stuff
now all icons in inconimagelist gets their index value defined at runtime instead of defines at compile time
fixed crash on join in windows
project file changed
fixes unit restrictions
now pinging all clients right before battle start.
Misread tasclient sources. Now pinging all from same port.
Implemented nat holepunching hosting. Not much tested, but no crashbugs found yet, and hosting works if firewall is off (i dont have router).
fixed naming errors in xpm added dummy download page in mainwindow
new sidebar icons
Very minor changes. Updated comments about nat traversal.
Hole punching finally fixed. Tested.
Some fixes for nat traversal / hole punching. Incomplete.
adds MiniMapFullProxy
fixes possible crash in chatlog destructor
added battlelistfiltervalues to makefile
wx26 fixed (typo)
closes ticket 404
realized int values in param, pre removing string comparison
filter modifier for rank should work
saving is ok
preps for regex
fixed udp ping timer
fixed logic asserts
on the way to 404
removed LOT of includes in a header, now filters match against regexes too
fixes 324 & 403
about box for wx 2.8
fixes a warning
fixed udpping timer
now SL writes game/ModHash in the script.txt to help with replays
saving os string werks
save load functions in place
added option to disable spring version check compatibility
fixed udp ping timings
fixed udp pinging logging
brought back to main thread the udp ping to punch trough nat
fixed compilation for wxWidgets version which doesn't support advanced regex
maybe solves nonexisting battlöe probs
possibly fixed again restriction list not loaded properly
fixed compiling errors
Numerous fixes for std::logic_error related bugs, mostly in userlist but also a bit in battlelist. Frivolous: added regex based bans.
implemented CHANGEPASSWORD command, added few command descriptors to the help
Fixes and magic for nat traversal. Changed port from 12345 (famous malware) to 16941 Minor fixes. Added option General/NoUDP , which allows to disable udp pinging. Removed logging from ping thread. ASSERT_LOGIC now makes crash report using Crash() function
renamed commands from /ban to /userban and /userunban to prevent possible interference with admin commands /ban and /unban
Fixed minor autoscroll glitch when multiple messages are posted between ui updates.
fixes map stats not updating after clicking refresh map on mapctrl after downloading the map
replace dead uf links
sort of fixed weird crashbug when you're already logged on. However the bug needs to be investigated much more closely. When ChatPanel::SetChannel(0) gets called after disconnect, m_show_nick_list is true, but m_nicklist is NULL. Method seems to be called before execution of constructor, or during execution of constructor, in separate thread.
Autoscroll cleanup, unused variables and functions removed, logging removed.
Fixed autoscroll, tested. Fixed some compiler warnings. Todo: major cleanup in autoscroll/
fixed cbp
fixes right-click join crash if mod nonexistant
Fixed bug in autobalance. Added messaging about balance in battle room.
changed order of balance methods, now Random , Divide ranks evenly
Added "Use smart scrolling" checkbox in chat settings, which controls Chat/SmartScrollEnabled option, which controls whever to use fixed autoscroll. Fixed few compiler warnings. Slightly clearer comments in ChatPanel::OutputLine
Tiny fix for autobalance when theres 1 start box.
Now autobalance works with nonsequential start recs. Will put that commit to autobalance branch too.
Now autobalance works with nonsequential start recs. Will put that commit to autobalance branch too.
Non-scrolling works correctly now. Tested on Linux/wxWidgets 2.8.7 wxGTK
added some code to get scroll bars infos
Changes in user interface for balancing. Now has choice list Clans with values None,Fair,Always. Tested.
added option to set max size in chat log, and initial work on disabling autoscroll
Added new source files for autobalance to makefile.
More autobalance fixes. Tested. Works correctly apart from minor problem when start boxes are not numbered sequentially.
Autobalance nearly done.
fixed channel messages not being displayed properly
Started implementing autobalance
no more WTF codeblocks project
fixed makefile
redid icon text
blending werks
Nat ports changed. Hosting with nat now uses same port as selected in hosting dialog. Joining battle uses port from /General/ClientPort option, which defaults to 0 When it is 0, on first udp ping, the avaliable port number is obtained from system and used later on Completely Untested. Can not compile because of other changes.
blending eq not right
got the options text right
added support for /hook and /quit commands for aegis server
fixed column size of battlelist on windows
all but one icon working
no text icons ok
added images headers and scripts
icons working
removed double thread killing that causes segfault
now win codeblocks project is more path tollerant using global variables
png kinds working
fixed horrible syntax
no more battle rendering glitches in windows (workaround by redraw)
fixed user index problems in battlelist
changed modal of messagebox, and the message in case of hosting fail
now the test firewall button gets disabled when NAT traversal is on
forgot to remove a line
fixed flag icons index
fixed iconsimagelist call type
fixed typo in void icon name
removed useless nonIcon declaration
fixed the static stuff
now all icons in inconimagelist gets their index value defined at runtime instead of defines at compile time
fixed crash on join in windows
project file changed
fixes unit restrictions
now pinging all clients right before battle start.
Misread tasclient sources. Now pinging all from same port.
Implemented nat holepunching hosting. Not much tested, but no crashbugs found yet, and hosting works if firewall is off (i dont have router).
fixed naming errors in xpm added dummy download page in mainwindow
new sidebar icons
Very minor changes. Updated comments about nat traversal.
Hole punching finally fixed. Tested.
Some fixes for nat traversal / hole punching. Incomplete.
adds MiniMapFullProxy
fixes possible crash in chatlog destructor
added battlelistfiltervalues to makefile
wx26 fixed (typo)
closes ticket 404
realized int values in param, pre removing string comparison
filter modifier for rank should work
saving is ok
preps for regex
fixed udp ping timer
fixed logic asserts
on the way to 404
removed LOT of includes in a header, now filters match against regexes too
fixes 324 & 403
about box for wx 2.8
fixes a warning
fixed udpping timer
now SL writes game/ModHash in the script.txt to help with replays
saving os string werks
save load functions in place
added option to disable spring version check compatibility
fixed udp ping timings
fixed udp pinging logging
brought back to main thread the udp ping to punch trough nat
fixed compilation for wxWidgets version which doesn't support advanced regex
maybe solves nonexisting battlöe probs
possibly fixed again restriction list not loaded properly
fixed compiling errors
Numerous fixes for std::logic_error related bugs, mostly in userlist but also a bit in battlelist. Frivolous: added regex based bans.
implemented CHANGEPASSWORD command, added few command descriptors to the help
Fixes and magic for nat traversal. Changed port from 12345 (famous malware) to 16941 Minor fixes. Added option General/NoUDP , which allows to disable udp pinging. Removed logging from ping thread. ASSERT_LOGIC now makes crash report using Crash() function
Revert "maybe solves nonexisting battlöe probs"
Revert "fixes 383 and unitlist caching"
fixes wx26 build
fixes small bug where dualscreen wouldn't be set correctly
initial version of fix for nat traversal, not fully working yet (expecially fixed source ports)
fixed #include problems
some layout tweaks
fixes 383 and unitlist caching
fixed compile error
now warnings about web browser are non-modal as well
removed test message
fixed compiling problems with autotools
removed some includes from headers, now user data functions uses wxColour instead of a bunch of ints
fixed not being able to control bots in the battle room
size of serverbox ok
almost there, only size is still wrong
buttons working
almost working
icons!
added menuentry for springsettings again
icons not right yet
fixed springsettings not being in the menu anymore
retieve string added
some string changes
fixed typo
maybe solves nonexisting battlöe probs
updated POTFILES.in, made updater script to recurse subdirectories
added script to automatically update the POTFILES.in, removed from resitory springlobby.pot until we find a proper place
renamed commands from /ban to /userban and /userunban to prevent possible interference with admin commands /ban and /unban
Implemented /ban and /unban channel commands
fixed build for wx26
fixes ticket 415
fixed potential problem with long messages
fixed registering timeout problem, made socket operations much more responsive
fixes X button termination
fixed compile error <_<
made unitsync thread end gracefully instead of forcing Kill()
fixed pointer hell and verious memleaks in mmoptionswrapper class
improved registration message verbosity for the user, removed a very potential memleak/segfault
Swedish translation mostly done for this version
swedish translation 1/3 of the way
fixes wx26 build
fixes 410 and hopefully buildbot buld
fixes 387
fixes ticket 374
prep for intl
fixed enum warnigs, removed uneccessary define
closes ticket 358
Added Swedish language
kill usync thread
fixed the sources to not use gettext reserved strings
now the buildsystem correctly finds the OS locale dir
more progresses towards generation of .pot files from the buildsystem
fixed crash when trying to login again after the server denied first login attempt
map/mod options loading failed now is correctly reckognized
fixed silly typo that made unitsync to crash, now everything fulyl works
improved mod loadion from unitsync
removed useless commeted code in mod/map SP loading
add unitsync assertion on mod options load :P
fixed translation issues
added SERVERMSGBOX command support
now it compiles but doesn't generate po files
tried to add translation support to the autotools buildsystem, result: phail
made autogen exectuable again
automatic update of springlobby ebuild for automated tarball release
don't lose commits in the ebuilds builder
automatic update of springlobby ebuild for automated tarball release
don't add origin twice on ebuild builder
fetch/merge instead of pull for ebuilds builder
get those tags onto the ebuild builder for real
try to get the tags to ebuild builder too
buildbot push the changes too instead of just the tags to it's own public repo
buildbot push changes to it's public repo too, not just the tags
ebuilds update automation almost done
fixed a bit code when registering
added error323 buildslave
added buildslave for gentoo ebuilds
don't fail if there's no previous tarball in the opensuse build service
fix rpm update script bootstrap
buildbot should now automatically update rpm
update rpm script can initialize itself
added join/part messages for battles
now the host player colour gets updated correctly in the players list as well
now your own player colour is correctly displayed in the battle tab (not yet the list)
removed the . again
changed autogen.sh so it'll execute on mac
fixes ticket 401
added messagebox when trying to add bot on full battle
now map change gets broadcasted correctly
country codes in spript.txr are lowercase now
fixed missing \n in script generation
now ping gets sent immediactly when enabled
removed unneccessary function
automatic update of springlobby ebuild for automated tarball release
fixed PING interval becoming too short after leaving NAT battle
fixed starting trigger for udp pings
moved chat logging options from spring options tab to chat options tab
implemented BROADCAST message
fixed wx2.6 missing function
removes std::string from springsettings
slightly improved speed when checking against multiple locales in incoming socket stream
fixed obsolete WX_STRING conversions
removed rendundant pointer check
fixed #include paths
fixed file paths in buildsystems
fixed unicode problems
moar fixes for wxchar!
fixed parenthesis mistake \o/
fixed wx2.6 problems
applied nivertius patch to allow team number column scaling
removed usless lines in codeblocks project, added necessary files to makefile.am and cmakefile
fixed flag indexes
Fixed some problems with string locale conversions
line endings
Added check for latest version tool, added seconds to timestamps
removed obsolete std::string function in script generation
fixed start position type in SP that was set as default to fixed instead of pick
deleted some files that shouldn't have been merged
removed code that was stripping AI paths from the script generation in MP battles
fixes tickets 317 and 342 for good
removed stuff that should have gone into a branch itfp
output of line for foxcus lost working
fixed win compile error (hopefully) and removed msgbox from optionswrapper
fixed compile errro with missing font argument
fixed another sigend/unsigned comparision
removed mm-options tab from sp
fixed unsigned vs signed comparison warnings
map options work in sp
now the battle option summary works correctly
now regular options get received correctly
no need to reload unitsync there (i guess)
towards sp fix
now start rectangles are supposed to be updated
possibly fixed start boxes not sent
fix for default listitem
mm-option now also work for host in mp
mm-options in mp works completly for client
still fixing mm-opt in sp, not working atm
almost sp fixed
fixed update controls on mmtab
except listoption options are updated correctly
worked around crash bug
now the options are correctly loaded on battle join
renamed some functions to use overloading to make the code a bit cleaner
now map/mod network layer works, setting the option, no
added some comments where stuff goes wring
pointer to refs
mmoptions arrive correctly at protocol level
change image type from gif to png
improved a bit the doxyfile
doxygen documentation for wrapper headers and some additions to default constructors
now option summary in battleroomtab is supposed to be populated
uhm, nothing
changed internal structure for the communication of SETSCRIPTTAGS
removed unneeded modname
fixed some bugs when sending map/mod options
partially fixed options list in battleroomtab
now map options/ options controls gets reloaded when the map gets changed
called delete on control pointer before removin it from the map
removed despricated function
added brackets for ifs
removed depricated server message
removed fixme
when a new battle gets hosted, now the whole list of script tags get sent
fixed ansi<->unicode stuff
changed getoptions to contain name of the option also
removed code for old version of server
code for updating map/mod tab when chaging map/mod in SP (but not working :s)
changed itaration method to access element to map[ keyname ], now map/mod options gets loaded on battle constructor
changed #defines for option type to enum
changed to std::map the reference for the option list in battleroomtab.cpp
implemented refresh controls and getoptiontype function
fixed compile errors
fixed error in updatecontrols
implemented GetSinglevalue
changed vectors to maps and removed looping through controls
- Adjust the CMakeLists.txt in order to track the Changes from Map_Mod_Options
now spin controls gets properly disabled when not being host
now map/mod options gets listed in battleroomtab (glitch duplicate entries are created)
map/mod options now working, net messages are sent/received properly and script generation works
forgot to commit last night
now the map/mod options tab is spawned in singleplayer mode too (not updated on mod change yet)
updated codeblocks project file
options get sent correctly
added spinctrl vectror
fixed compiling problems, fixed options wrapper to properly return true when value is set
bs
custom richtext
hiding caret, some errors with focus though
moved to richtextctrl
removed references to lobbysounds.h forgot to make sonds a branch earlier
sounds
protypes for playing sounds and setting them in config
fixes ticket # 342
this closes ticket #325
example implementation of focus lost line dranw in chat see ticket http://trac.springlobby.info/ticket/222 disabled for now by const bool draw_focus_lost_seperation = false; in chatpanel.cpp
ups
infrastructure for setting/updating customoptions is there settings don't get set right, though
further prototyping
did some prototyping for event handling and updating controls
fixed missing wxstring conversion
spinctrl not quite working
now the messages should be formatted the same as tasclient
added script generation for custom options
moved options wrapper class declaration from singleton to ibattle class, now sending/receiving options list works
forgot to commit the actual todo
added TodDo item, more codeblocks project fixes
updated codeblocks project, created singleton of options wrapper class, now receiving/setting options works
added setSingleOption(key,value) and examplotry gui
getoptions done added missing return true;
setoptions done
partial work of parsing incoming SETSCRIPTTAGS messages
now CMake is fully cpable of out of source builds added some source groupings, so adding a cmake target for settings++ will be easy now removed useles cmakelist.txt files
fix critical typo in buildbot
buildbot builders for all devs whose git repo is on springlobby.info
committed as-is kinection's patch to make options tab scrollable
Brauch ich nicht mehr
Improved the CMake Generator and commented all Lines
Forgot two Files
Inital CMake Files added in order to be able to build the Project with CMake and KDevelop.