summaryrefslogtreecommitdiff
path: root/src/sortlist_type.h
AgeCommit message (Collapse)Author
2021-01-01Cleanup 2db88953e7: Remove VL_FIRST_SORT as it's uselessglx22
2020-06-18Codechange: Use template type for GUIList::Sort comparatorJonathan G Rennison
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-18Cleanup: remove core/sort_func.hpp as it's not used anymoreglx
2019-04-13Codechange: use std::sort() in GUIListglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Erase() with std::vector::erase()Henry Wilson
2019-03-26Codechange: [core] Implement SmallVector using std::vectorHenry Wilson
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2009-09-13(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-03(svn r16730) -Doc: Added some missing docs (most notably the class/struct ↵alberth
docs) to GUIList template.
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-02-06(svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't ↵rubidium
deselect properly in some cases (Roujin)
2009-02-06(svn r15369) -Codechange: generalise the GUIList a bit so peter can write ↵rubidium
filters for cargo type, speed and mass ;)
2009-02-06(svn r15368) -Fix: some typos in commentsrubidium
2009-02-06(svn r15367) -Add: framework for filtering GUILists (Roujin)rubidium
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-06-19(svn r13575) -Codechange: Move small vector to core since it fits better in ↵skidd13
there -Codechange: convert smallvector from struct to class
2008-06-16(svn r13535) -Codechange: Protect GUIList internalsskidd13
-Fix: VL_FIST_SORT should be set after list rebuild too
2008-06-14(svn r13516) -Codechange: Move MemCpyT to a fitting core headerskidd13
-Codechange: Split the sorting code from the sortlist to an appropriate header
2008-05-30(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they ↵rubidium
needed.
2008-05-27(svn r13296) -Fix (r13276): VL_FIRST_SORT was never resetsmatz
2008-05-27(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has ↵skidd13
been altered
2008-05-27(svn r13280) -Fix (r13276): MSVC compilation was brokensmatz
2008-05-26(svn r13279) -Codechange: simplify condition for terminating loop when ↵smatz
reversing list order
2008-05-26(svn r13276) -Codechange: use qsort() for initial sorting of a list for ↵smatz
better performance (credits go to skidd13 and peter1138)
2008-05-26(svn r13275) -Fix: sort lists with 2 items, toosmatz
-Fix: reset VL_RESORT and resort timer even when no sort was needed
2008-05-26(svn r13267) -Codechange: extend GUIList with a GnomeSortskidd13
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.