summaryrefslogtreecommitdiff
path: root/src/network/network_content_gui.cpp
AgeCommit message (Collapse)Author
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-29Fix #7434: Incorrect use of vector iterator. (#7437)PeterN
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Include() with include()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Find() with std::find()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Get() const with std alternativesHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Codechange: Use override keyword in networking classes.peter1138
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-20Remove: ENABLE_NETWORK switchPatric Stout
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to.
2019-01-28Add: allow opening of one TextfileWindow per typeglx
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2015-12-10(svn r27469) -Fix (r27468): Don't fetch all content info from content server ↵zuu
when showing a online content window with exactly one type of content.
2015-12-10(svn r27468) -Fix (r27444): Game Scripts were not displayed in the content ↵zuu
download window when opened from the AI/GS settings window.
2015-11-14(svn r27444) -Add: When viewing online content of a particular type, hide ↵zuu
content of other types unless they have been (auto)selected for download.
2015-11-14(svn r27443) -Fix: Negoation in comment was wrong.zuu
2015-05-17(svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to ↵michi_cc
repeated string resolving.
2014-09-25(svn r26921) -Codechange: Adjust content window listing to fit icon size.peter1138
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-12-20(svn r26167) -Fix [FS#5834]: Certain hotkeys crashed the content GUI when ↵frosch
the list was empty.
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-17(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.frosch
2013-02-18(svn r25024) -Feature: Searching of (missing) content via GrfCrawler.frosch
2013-02-18(svn r25023) -Change: Regroup buttons in content download GUI to put ↵frosch
item-specifc stuff next to each other.
2013-02-09(svn r24983) -Change: Apply the same name sorting rules to content and ↵frosch
NewGRF list as for the server list.
2012-11-14(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.frosch
2012-11-14(svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵frosch
QueryStrings per widget instead.
2012-11-14(svn r24740) -Codechange: Remove duplicate members from ↵frosch
QueryStringBaseWindow and directly use QueryString.
2012-11-14(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.frosch
2012-11-14(svn r24736) -Cleanup: The third parameter of Textbuf::Initialize only makes ↵frosch
sense if it is smaller than the second one, also its unit is not pixels.
2012-11-13(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to ↵frosch
Window::OnEditboxChanged.
2012-11-13(svn r24733) -Codechange: Move handling of editbox keys to window class.frosch
2012-11-13(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.frosch
2012-11-13(svn r24728) -Codechange: Unify usage of OnOSKInput.frosch
2012-11-13(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.frosch
2012-11-13(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-08-20(svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the ↵yexo
online content window (LordAro)