Sam Hocevar
7ba8458818
Remove old feature macros that are no longer relevant nowadays.
пре 7 година
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
пре 8 година
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
пре 8 година
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
пре 8 година
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
пре 8 година
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 година
Sam Hocevar
45b792cc8e
test: refactor some stuff in the unit tests because I like it better that way.
пре 10 година
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
пре 10 година
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
пре 10 година
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
пре 10 година
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 година
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 година
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 година
Sam Hocevar
04a5da4652
test: minor unit test refactoring.
пре 10 година
Guillaume Bittoun
7251024de5
map: FIXED !
пре 11 година
Guillaume Bittoun
e697314294
map: more bug fixes (still not fully fixed…)
пре 11 година
Guillaume Bittoun
6fd247b9eb
map: starting bug fix
пре 11 година
Guillaume Bittoun
17d25fa26f
map: test fix
пре 11 година
Guillaume Bittoun
73c3d8d524
map: adding test for random failure with add/remove updates
пре 11 година
Benjamin ‘Touky’ Huet
cdc3328f3a
MemTracker is a new thing, better than the shitty previous thing.
пре 11 година
Guillaume Bittoun
839e8de5d5
woops ! bad test
пре 11 година
Guillaume Bittoun
f4c72644c7
map: adding test for an unidentified bug to fix
пре 11 година
Sam Hocevar
b907e0d03d
base: coding style cleanup in avl_tree implementation.
пре 11 година
Benjamin ‘Touky’ Huet
1d822046ef
added map unit test to check removal correct behaviour.
пре 11 година
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 година
Sam Hocevar
3cd4c4d413
base: more lowercase shit.
пре 11 година
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
пре 11 година
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 година
Guillaume Bittoun
8c44cb4f1b
map: re-using avl_tree in map and adding tests for string comparisons.
пре 11 година
Benjamin ‘Touky’ Huet
6556d689de
So much for a build fix.
пре 11 година
Benjamin ‘Touky’ Huet
dc45794dea
Fixed shit build break
пре 11 година
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 година
Guillaume Bittoun
4fb61d06e0
avl_tree: nit (upper-case methods) bug fix and adding test for equality operator.
пре 11 година
Guillaume Bittoun
2998673ed0
String: operator < implementation
пре 11 година
Guillaume Bittoun
022e686f5b
avl_tree: moving avl_tree implementation in lol/base.
пре 11 година
Sam Hocevar
2b3f1aa0d5
build: reactivate array::Insert.
пре 11 година
Benjamin ‘Touky’ Huet
e05b399514
FFS BUILD
пре 11 година
Benjamin ‘Touky’ Huet
2aa7a33aca
Added Insert in tuple array
пре 11 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 11 година
Sam Hocevar
6b64e2c337
lolunit: switch assert macros to lowercase.
пре 11 година
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
пре 11 година