Sam Hocevar
7ba8458818
Remove old feature macros that are no longer relevant nowadays.
6 years ago
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
8 years ago
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
8 years ago
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
8 years ago
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
8 years ago
Sam Hocevar
8044747ac3
base: new string functions.
Add String.split(char) to split into an array, and add a simple
char const * + lol::String free operator.
9 years ago
Sam Hocevar
45b792cc8e
test: refactor some stuff in the unit tests because I like it better that way.
10 years ago
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 years ago
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
10 years ago
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
10 years ago
Sam Hocevar
51b4210361
base: reintroduce array::swap.
It merely performs an std::swap() on both array elements, but it’s
apparently convenient to have.
10 years ago
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
10 years ago
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
10 years ago
Sam Hocevar
04a5da4652
test: minor unit test refactoring.
10 years ago
Guillaume Bittoun
7251024de5
map: FIXED !
10 years ago
Guillaume Bittoun
e697314294
map: more bug fixes (still not fully fixed…)
10 years ago
Guillaume Bittoun
6fd247b9eb
map: starting bug fix
10 years ago
Guillaume Bittoun
17d25fa26f
map: test fix
10 years ago
Guillaume Bittoun
73c3d8d524
map: adding test for random failure with add/remove updates
10 years ago
Benjamin ‘Touky’ Huet
cdc3328f3a
MemTracker is a new thing, better than the shitty previous thing.
10 years ago
Guillaume Bittoun
839e8de5d5
woops ! bad test
10 years ago
Guillaume Bittoun
f4c72644c7
map: adding test for an unidentified bug to fix
10 years ago
Sam Hocevar
b907e0d03d
base: coding style cleanup in avl_tree implementation.
10 years ago
Benjamin ‘Touky’ Huet
1d822046ef
added map unit test to check removal correct behaviour.
10 years ago
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
11 years ago
Sam Hocevar
3cd4c4d413
base: more lowercase shit.
11 years ago
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
11 years ago
Lolbot
7506a8aa62
fixed 7 files out of 4184:
- removed 0 CR characters
- removed 1 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 7 svn:eol-style properties
11 years ago
Guillaume Bittoun
8c44cb4f1b
map: re-using avl_tree in map and adding tests for string comparisons.
11 years ago
Benjamin ‘Touky’ Huet
6556d689de
So much for a build fix.
11 years ago
Benjamin ‘Touky’ Huet
dc45794dea
Fixed shit build break
11 years ago
Benjamin ‘Touky’ Huet
fc84a65063
Did a small "Revert-but-not-really" on map+avl_tree
Added an unit-test that breaks map+avl_tree
11 years ago
Guillaume Bittoun
4fb61d06e0
avl_tree: nit (upper-case methods) bug fix and adding test for equality operator.
11 years ago
Guillaume Bittoun
2998673ed0
String: operator < implementation
11 years ago
Guillaume Bittoun
022e686f5b
avl_tree: moving avl_tree implementation in lol/base.
11 years ago
Sam Hocevar
2b3f1aa0d5
build: reactivate array::Insert.
11 years ago
Benjamin ‘Touky’ Huet
e05b399514
FFS BUILD
11 years ago
Benjamin ‘Touky’ Huet
2aa7a33aca
Added Insert in tuple array
11 years ago
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 years ago
Sam Hocevar
6b64e2c337
lolunit: switch assert macros to lowercase.
11 years ago
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
11 years ago