Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move memory pool pointer list into lwc contextchris/sam460-ocm | Chris Young | 2013-02-28 | 1 | -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 Young | 2013-02-27 | 3 | -16/+25 |
| | | | | don't get freed currently) | ||||
* | Fix mempool dump reporting | Chris Young | 2013-02-26 | 2 | -2/+2 |
| | |||||
* | Only return if we've allocated memory, otherwise we're erroring out without ↵ | Chris Young | 2013-02-26 | 1 | -1/+1 |
| | | | | trying the second pool. | ||||
* | Keep track of whether the pool allocation is on-chip or not. #ifdef the ↵ | Chris Young | 2013-02-26 | 2 | -42/+47 |
| | | | | Amiga-specific parts. | ||||
* | Experiment 2: Allocate the lwc_string into memory pools (two of 64K each to ↵ | Chris Young | 2013-02-26 | 5 | -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 memory | Chris Young | 2013-02-26 | 1 | -2/+52 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 3 | -4/+6 |
| | | | | svn path=/trunk/libwapcaplet/; revision=14002 | ||||
* | Basic gitignore | Daniel Silverstone | 2012-06-04 | 1 | -0/+3 |
| | | | | svn path=/trunk/libwapcaplet/; revision=13947 | ||||
* | Rework the majority of wapcaplet's interface to be macros. This removes ↵ | Daniel Silverstone | 2012-03-29 | 2 | -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 rework | Daniel Silverstone | 2012-03-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libwapcaplet/; revision=13776 | ||||
* | Squash an unused value warning | Daniel Silverstone | 2012-03-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libwapcaplet/; revision=13775 | ||||
* | Use __ in middle of function name for statics and private functions, not _ ↵ | Rob Kendrick | 2012-03-25 | 1 | -26/+26 |
| | | | | | | as a prefix svn path=/trunk/libwapcaplet/; revision=13688 | ||||
* | Bump version number | Vincent Sanders | 2012-02-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/libwapcaplet/; revision=13489 | ||||
* | Constify lwc_string * param to lwc_string_length and lwc_string_data. | Michael Drake | 2011-10-29 | 2 | -4/+4 |
| | | | | svn path=/trunk/libwapcaplet/; revision=13092 | ||||
* | Bump version number | John Mark Bell | 2011-04-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/libwapcaplet/; revision=12163 | ||||
* | Fix gcc2 warning: comma at end of enumerator list. | François Revel | 2011-01-20 | 1 | -1/+1 |
| | | | | svn path=/trunk/libwapcaplet/; revision=11428 | ||||
* | Ensure we cope with no chance to opportunistically initialise the hash ↵ | Daniel Silverstone | 2010-12-06 | 1 | -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 build | John Mark Bell | 2010-12-04 | 1 | -2/+0 |
| | | | | svn path=/trunk/libwapcaplet/; revision=10981 | ||||
* | Remove initialisation, use system allocation functions. r=vince | Daniel Silverstone | 2010-12-04 | 3 | -155/+20 |
| | | | | svn path=/trunk/libwapcaplet/; revision=10963 | ||||
* | Sprinkle some C++ scoping around | John Mark Bell | 2010-10-23 | 1 | -0/+9 |
| | | | | svn path=/trunk/libwapcaplet/; revision=10901 | ||||
* | Add simple iteration API and also add brackets in lwc_string_isequal | Daniel Silverstone | 2010-03-27 | 3 | -1/+48 |
| | | | | svn path=/trunk/libwapcaplet/; revision=10163 | ||||
* | Simplify libwapcaplet and remove context objects. | Daniel Silverstone | 2010-03-27 | 6 | -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 Bell | 2009-11-06 | 1 | -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 Revel | 2009-08-02 | 1 | -2/+2 |
| | | | | svn path=/trunk/libwapcaplet/; revision=8981 | ||||
* | Sorry, but -Werror on gcc2 is asking for trouble here... | François Revel | 2009-08-02 | 1 | -2/+2 |
| | | | | svn path=/trunk/libwapcaplet/; revision=8979 | ||||
* | Ensure local include path overrides buildsystem settings. | John Mark Bell | 2009-08-01 | 1 | -2/+2 |
| | | | | svn path=/trunk/libwapcaplet/; revision=8967 | ||||
* | Keep a record of the amount of memory consumed by a lwc_context. | John Mark Bell | 2009-07-28 | 3 | -3/+144 |
| | | | | svn path=/trunk/libwapcaplet/; revision=8834 | ||||
* | Guarantee to NUL-terminate interned strings. | John Mark Bell | 2009-07-25 | 3 | -3/+39 |
| | | | | svn path=/trunk/libwapcaplet/; revision=8784 | ||||
* | Merge Bo's libwapcaplet lwc_string_hash_value function and tests. r=dsilvers | Daniel Silverstone | 2009-06-23 | 4 | -2/+36 |
| | | | | svn path=/trunk/libwapcaplet/; revision=7927 | ||||
* | Sync with core buildsystem changes | John Mark Bell | 2009-04-21 | 2 | -3/+3 |
| | | | | svn path=/trunk/libwapcaplet/; revision=7226 | ||||
* | Sync documentation with reality | John Mark Bell | 2009-04-17 | 1 | -3/+3 |
| | | | | svn path=/trunk/libwapcaplet/; revision=7123 | ||||
* | Lose trailing comma. | John Mark Bell | 2009-04-15 | 2 | -3/+12 |
| | | | | | | GCC 2.95 compatibility. svn path=/trunk/libwapcaplet/; revision=7098 | ||||
* | Reflect shared library versioning | John Mark Bell | 2009-04-03 | 2 | -5/+7 |
| | | | | svn path=/trunk/libwapcaplet/; revision=7031 | ||||
* | Conditionalise use of check on WANT_TEST==yes | John Mark Bell | 2009-03-25 | 1 | -7/+9 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6881 | ||||
* | Fix test build. | John Mark Bell | 2009-03-25 | 4 | -2/+23 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6875 | ||||
* | First cut at a port to core buildsystem. | John Mark Bell | 2009-03-25 | 3 | -104/+30 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6873 | ||||
* | In debug mode, poison freed strings to highlight missing refs | Daniel Silverstone | 2009-02-15 | 1 | -0/+4 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6533 | ||||
* | Fix capitaLisation and add name origins | Daniel Silverstone | 2009-02-15 | 1 | -6/+12 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6524 | ||||
* | Add README with rationale | Daniel Silverstone | 2009-02-15 | 1 | -0/+59 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6522 | ||||
* | Install wapcaplet. | Daniel Silverstone | 2009-02-14 | 2 | -0/+25 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6511 | ||||
* | It puts the MIT into Wapcaplet | Daniel Silverstone | 2009-02-14 | 1 | -0/+19 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6510 | ||||
* | Add simple accessors for data and length | Daniel Silverstone | 2009-02-14 | 3 | -0/+63 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6509 | ||||
* | Oops, add missing memory test file | Daniel Silverstone | 2009-02-14 | 1 | -0/+246 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6508 | ||||
* | More tests | Daniel Silverstone | 2009-02-14 | 4 | -3/+8 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6507 | ||||
* | More tests, some fixes. All the API appears to work | Daniel Silverstone | 2009-02-14 | 3 | -29/+447 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6503 | ||||
* | 100% of tests pass. Ship it. | Daniel Silverstone | 2009-02-14 | 6 | -4/+187 |
| | | | | svn path=/trunk/libwapcaplet/; revision=6497 | ||||
* | Initial untested API and implementation | Daniel Silverstone | 2009-02-14 | 2 | -0/+417 |
svn path=/trunk/libwapcaplet/; revision=6495 |