summaryrefslogtreecommitdiff
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-265-51/+214
| | | | 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-293-4/+6
| | | | svn path=/trunk/libwapcaplet/; revision=14002
* Basic gitignoreDaniel Silverstone2012-06-041-0/+3
| | | | svn path=/trunk/libwapcaplet/; revision=13947
* Rework the majority of wapcaplet's interface to be macros. This removes ↵Daniel Silverstone2012-03-292-97/+79
| | | | | | *many* function call overheads but does require GNUish braced-group expressions. svn path=/trunk/libwapcaplet/; revision=13777
* Remove pedantic from CFLAGS ready for wapcaplet reworkDaniel Silverstone2012-03-291-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=13776
* Squash an unused value warningDaniel Silverstone2012-03-291-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=13775
* 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
* Bump version numberVincent Sanders2012-02-271-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=13489
* Constify lwc_string * param to lwc_string_length and lwc_string_data.Michael Drake2011-10-292-4/+4
| | | | svn path=/trunk/libwapcaplet/; revision=13092
* Bump version numberJohn Mark Bell2011-04-071-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=12163
* Fix gcc2 warning: comma at end of enumerator list.François Revel2011-01-201-1/+1
| | | | svn path=/trunk/libwapcaplet/; revision=11428
* 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-043-155/+20
| | | | svn path=/trunk/libwapcaplet/; revision=10963
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-231-0/+9
| | | | svn path=/trunk/libwapcaplet/; revision=10901
* Add simple iteration API and also add brackets in lwc_string_isequalDaniel Silverstone2010-03-273-1/+48
| | | | svn path=/trunk/libwapcaplet/; revision=10163
* Simplify libwapcaplet and remove context objects.Daniel Silverstone2010-03-276-767/+383
| | | | | | | | | | 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
* -Wextra is only understood by GCC 3.4.6 or later. John Mark Bell2009-11-061-4/+5
| | | | | | | | | | | | | | | | It is a more descriptive synonym for -W. Use -W instead which is understood by all common versions of GCC (i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support) Additionally, conditionalise our -Werror usage on whether we're building for BeOS/Haiku. On these platforms, the standard library headers result in warnings. GCC 2 is quite happy to build this code on other platforms, so shouldn't be the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is likely to be used). svn path=/trunk/libwapcaplet/; revision=9671
* Reverted r8979, managed to correct my system headers, for now...François Revel2009-08-021-2/+2
| | | | svn path=/trunk/libwapcaplet/; revision=8981
* Sorry, but -Werror on gcc2 is asking for trouble here...François Revel2009-08-021-2/+2
| | | | svn path=/trunk/libwapcaplet/; revision=8979
* Ensure local include path overrides buildsystem settings.John Mark Bell2009-08-011-2/+2
| | | | svn path=/trunk/libwapcaplet/; revision=8967
* Keep a record of the amount of memory consumed by a lwc_context.John Mark Bell2009-07-283-3/+144
| | | | svn path=/trunk/libwapcaplet/; revision=8834
* Guarantee to NUL-terminate interned strings.John Mark Bell2009-07-253-3/+39
| | | | svn path=/trunk/libwapcaplet/; revision=8784
* Merge Bo's libwapcaplet lwc_string_hash_value function and tests. r=dsilversDaniel Silverstone2009-06-234-2/+36
| | | | svn path=/trunk/libwapcaplet/; revision=7927
* Sync with core buildsystem changesJohn Mark Bell2009-04-212-3/+3
| | | | svn path=/trunk/libwapcaplet/; revision=7226
* Sync documentation with realityJohn Mark Bell2009-04-171-3/+3
| | | | svn path=/trunk/libwapcaplet/; revision=7123
* Lose trailing comma.John Mark Bell2009-04-152-3/+12
| | | | | | GCC 2.95 compatibility. svn path=/trunk/libwapcaplet/; revision=7098
* Reflect shared library versioningJohn Mark Bell2009-04-032-5/+7
| | | | svn path=/trunk/libwapcaplet/; revision=7031
* Conditionalise use of check on WANT_TEST==yesJohn Mark Bell2009-03-251-7/+9
| | | | svn path=/trunk/libwapcaplet/; revision=6881
* Fix test build.John Mark Bell2009-03-254-2/+23
| | | | svn path=/trunk/libwapcaplet/; revision=6875
* First cut at a port to core buildsystem.John Mark Bell2009-03-253-104/+30
| | | | 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
* Fix capitaLisation and add name originsDaniel Silverstone2009-02-151-6/+12
| | | | svn path=/trunk/libwapcaplet/; revision=6524
* Add README with rationaleDaniel Silverstone2009-02-151-0/+59
| | | | svn path=/trunk/libwapcaplet/; revision=6522
* Install wapcaplet.Daniel Silverstone2009-02-142-0/+25
| | | | svn path=/trunk/libwapcaplet/; revision=6511
* It puts the MIT into WapcapletDaniel Silverstone2009-02-141-0/+19
| | | | svn path=/trunk/libwapcaplet/; revision=6510
* Add simple accessors for data and lengthDaniel Silverstone2009-02-143-0/+63
| | | | svn path=/trunk/libwapcaplet/; revision=6509
* Oops, add missing memory test fileDaniel Silverstone2009-02-141-0/+246
| | | | svn path=/trunk/libwapcaplet/; revision=6508
* More testsDaniel Silverstone2009-02-144-3/+8
| | | | svn path=/trunk/libwapcaplet/; revision=6507
* More tests, some fixes. All the API appears to workDaniel Silverstone2009-02-143-29/+447
| | | | svn path=/trunk/libwapcaplet/; revision=6503
* 100% of tests pass. Ship it.Daniel Silverstone2009-02-146-4/+187
| | | | svn path=/trunk/libwapcaplet/; revision=6497
* Initial untested API and implementationDaniel Silverstone2009-02-142-0/+417
svn path=/trunk/libwapcaplet/; revision=6495