Henry Wilson
c01a2e2a81
Codechange: Removed SmallVector completely
5 years ago
Henry Wilson
ca2f33c6d0
Codechange: Replaced SmallVector::Erase() with std::vector::erase()
5 years ago
Henry Wilson
4b349c0f90
Codechange: [core] Implement SmallVector using std::vector
...
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.
5 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
14 years ago
rubidium
17313b6e3f
(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
alberth
f5d9760824
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
15 years ago
frosch
0d782b0f96
(svn r16498) -Codechange: Remove hardly used HASBITS.
15 years ago
rubidium
841050ec83
(svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin)
16 years ago
rubidium
2ab6fffccc
(svn r15369) -Codechange: generalise the GUIList a bit so peter can write filters for cargo type, speed and mass ;)
16 years ago
rubidium
6252c74584
(svn r15368) -Fix: some typos in comments
16 years ago
rubidium
cfc80a17d8
(svn r15367) -Add: framework for filtering GUILists (Roujin)
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
16 years ago
skidd13
f1cecb1795
(svn r13535) -Codechange: Protect GUIList internals
...
-Fix: VL_FIST_SORT should be set after list rebuild too
16 years ago
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
16 years ago
rubidium
e81386476f
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
16 years ago
smatz
ee9a9503ce
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
16 years ago
skidd13
6d46851b61
(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered
16 years ago
smatz
e424367938
(svn r13280) -Fix (r13276): MSVC compilation was broken
16 years ago
smatz
a7761332f6
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
16 years ago
smatz
a0b14f02c8
(svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138)
16 years ago
smatz
a509746288
(svn r13275) -Fix: sort lists with 2 items, too
...
-Fix: reset VL_RESORT and resort timer even when no sort was needed
16 years ago
skidd13
18acb21d65
(svn r13267) -Codechange: extend GUIList with a GnomeSort
16 years ago
peter1138
02b5ffa13f
(svn r13266) -Codechange: Use SmallVector in GUIList
16 years ago
rubidium
87015f5b63
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
16 years ago