summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move memory pool pointer list into lwc contextchris/sam460-ocmChris Young2013-02-281-15/+44
| | | | add destructor to clean up memory at exit
* Don't artifically limit the number of memory pools we can have (note they ↵Chris Young2013-02-273-16/+25
| | | | don't get freed currently)
* Fix mempool dump reportingChris Young2013-02-262-2/+2
|
* Only return if we've allocated memory, otherwise we're erroring out without ↵Chris Young2013-02-261-1/+1
| | | | trying the second pool.
* Keep track of whether the pool allocation is on-chip or not. #ifdef the ↵Chris Young2013-02-262-42/+47
| | | | Amiga-specific parts.
* Experiment 2: Allocate the lwc_string into memory pools (two of 64K each to ↵Chris Young2013-02-264-50/+212
| | | | cover the 4091 buckets). The first of these pools is allocated in OCM if available. The string itself is moved to a separate allocation in main memory to prevent variable-length allocations in the pools.
* Experiment with wapcaplet optimisations using the SAM460's on-chip memoryChris Young2013-02-261-2/+52
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=14002
* Rework the majority of wapcaplet's interface to be macros. This removes ↵Daniel Silverstone2012-03-291-79/+2
| | | | | | *many* function call overheads but does require GNUish braced-group expressions. svn path=/trunk/libwapcaplet/; revision=13777
* Use __ in middle of function name for statics and private functions, not _ ↵Rob Kendrick2012-03-251-26/+26
| | | | | | as a prefix svn path=/trunk/libwapcaplet/; revision=13688
* Constify lwc_string * param to lwc_string_length and lwc_string_data.Michael Drake2011-10-291-2/+2
| | | | svn path=/trunk/libwapcaplet/; revision=13092
* Ensure we cope with no chance to opportunistically initialise the hash ↵Daniel Silverstone2010-12-061-1/+5
| | | | | | before iteration. Also ensure that an OOM during initialise doesn't leave us at risk of doom later svn path=/trunk/libwapcaplet/; revision=11018
* Fix debug buildJohn Mark Bell2010-12-041-2/+0
| | | | svn path=/trunk/libwapcaplet/; revision=10981
* Remove initialisation, use system allocation functions. r=vinceDaniel Silverstone2010-12-041-13/+17
| | | | svn path=/trunk/libwapcaplet/; revision=10963
* Add simple iteration API and also add brackets in lwc_string_isequalDaniel Silverstone2010-03-271-0/+14
| | | | svn path=/trunk/libwapcaplet/; revision=10163
* Simplify libwapcaplet and remove context objects.Daniel Silverstone2010-03-271-124/+64
| | | | | | | | | | Remove the lwc_context type from the API and ensure that all strings belong to the one internment context. This removes a lot of API and simplifies a lot of function calls, however it does mean that clients of the library *MUST* be better at reffing and unreffing strings or it'll explode. svn path=/trunk/libwapcaplet/; revision=10159
* Keep a record of the amount of memory consumed by a lwc_context.John Mark Bell2009-07-281-3/+23
| | | | svn path=/trunk/libwapcaplet/; revision=8834
* Guarantee to NUL-terminate interned strings.John Mark Bell2009-07-251-1/+5
| | | | svn path=/trunk/libwapcaplet/; revision=8784
* Merge Bo's libwapcaplet lwc_string_hash_value function and tests. r=dsilversDaniel Silverstone2009-06-231-1/+8
| | | | svn path=/trunk/libwapcaplet/; revision=7927
* Fix test build.John Mark Bell2009-03-251-0/+6
| | | | svn path=/trunk/libwapcaplet/; revision=6875
* First cut at a port to core buildsystem.John Mark Bell2009-03-251-0/+3
| | | | svn path=/trunk/libwapcaplet/; revision=6873
* In debug mode, poison freed strings to highlight missing refsDaniel Silverstone2009-02-151-0/+4
| | | | svn path=/trunk/libwapcaplet/; revision=6533
* Add simple accessors for data and lengthDaniel Silverstone2009-02-141-0/+18
| | | | svn path=/trunk/libwapcaplet/; revision=6509
* More testsDaniel Silverstone2009-02-141-2/+5
| | | | svn path=/trunk/libwapcaplet/; revision=6507
* More tests, some fixes. All the API appears to workDaniel Silverstone2009-02-141-26/+31
| | | | svn path=/trunk/libwapcaplet/; revision=6503
* 100% of tests pass. Ship it.Daniel Silverstone2009-02-141-1/+5
| | | | svn path=/trunk/libwapcaplet/; revision=6497
* Initial untested API and implementationDaniel Silverstone2009-02-141-0/+304
svn path=/trunk/libwapcaplet/; revision=6495