Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Make ReadDirName return a const char*. | Andrew Bartlett | 2003-03-16 | 1 | -1/+1 |
| | | | | | | | | - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett | ||||
* | More signed/unsigned fixes (yes, I run with funny compiler options) and | Andrew Bartlett | 2003-02-22 | 1 | -4/+4 |
| | | | | | | make x_fwrite() match fwrite() in returning a size_t. Andrew Bartlett | ||||
* | add a 'mangle prefix' option to allow people to tune the number of | Andrew Tridgell | 2002-10-21 | 1 | -16/+41 |
| | | | | | | | | | characters used in the prefix for 8.3 names in the hash2 algorithm. The longer the prefix the more readable the 8.3 names will be, but the weaker the hash. this was added because of someone complaining that the new hashing algorithm was unreadable but the old one was broken :) | ||||
* | fixed a crash bug on 64 bit systems. Thanks to Anton Blanchard for | Andrew Tridgell | 2002-10-15 | 1 | -4/+2 |
| | | | | finding this. | ||||
* | Convert M_DEBUG(0 to M_DEBUG(10 for non-error cases ... | Richard Sharpe | 2002-08-31 | 1 | -8/+8 |
| | |||||
* | Unneded extra check on len | Simo Sorce | 2002-07-18 | 1 | -1/+1 |
| | |||||
* | We have to look at the length before checking for "~" as the string | Jeremy Allison | 2002-07-18 | 1 | -3/+3 |
| | | | | | may be shorter than 6 chars. Caught by valgrind. Jeremy. | ||||
* | Merge in mangle fixes from 2.2. | Jeremy Allison | 2002-06-13 | 1 | -8/+7 |
| | | | | Jeremy. | ||||
* | Removed lp_strip_dot code - ensured that mangling code treats names ending | Jeremy Allison | 2002-05-14 | 1 | -3/+24 |
| | | | | | | in '.' as invalid long filenames (special treatment for '.' and '..' which are valid - yes Andrew I did this without strlen :-) :-). Jeremy. | ||||
* | move to the FNV1 hash alghorithm seem good | Simo Sorce | 2002-04-24 | 1 | -4/+14 |
| | | | | | | the test revealed 15 collision with 1 Million long file names :-) Simo. | ||||
* | made a couple of variables static | Andrew Tridgell | 2002-04-24 | 1 | -3/+4 |
| | |||||
* | - fixed the is_mangled() interface to handle multiple components | Andrew Tridgell | 2002-04-18 | 1 | -5/+42 |
| | | | | - fixed the no-extension case of reverse mangling | ||||
* | - added a mangling test suite that measures the collision rate on | Andrew Tridgell | 2002-04-12 | 1 | -0/+14 |
| | | | | | | randomised filenames - fixed several mangling bugs that the test suite pointed out | ||||
* | - the 36^6 hash space gives 31 bits, not 32 bits. We need to mask the | Andrew Tridgell | 2002-04-11 | 1 | -2/+4 |
| | | | | | hash to suit - the prefix ends at the last dot, not the first | ||||
* | a few debug statements (disabled) | Andrew Tridgell | 2002-04-11 | 1 | -2/+7 |
| | |||||
* | don't treat '.' as FLAG_ASCII, instead handle it separately | Andrew Tridgell | 2002-04-11 | 1 | -2/+2 |
| | |||||
* | - tidier flag checking code | Andrew Tridgell | 2002-04-11 | 1 | -8/+40 |
| | | | | - finished the is_mangled() function | ||||
* | added some more comments | Andrew Tridgell | 2002-04-11 | 1 | -5/+15 |
| | |||||
* | some optimisations to the new mangling system | Andrew Tridgell | 2002-04-11 | 1 | -16/+44 |
| | |||||
* | this adds a completely new hash based mangling scheme | Andrew Tridgell | 2002-04-11 | 1 | -0/+510 |
the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well. |