Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Silverstone 7dd73c5b43 Ensure we actually use the FNV offset basis rather than the prime, for initialising the hash
svn path=/trunk/netsurf/; revision=5286
2008-09-08 15:23:34 +00:00
John Tytgat 5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Vincent Sanders 2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone 6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson 8be8304bc6 Plug possible memory leak. Reduce memory usage. Add facility to iterate through a hashtable.
svn path=/trunk/netsurf/; revision=3013
2006-10-20 12:13:28 +00:00
Rob Kendrick 7711781f24 Further hash table optimisations and tidies. Test rig now does more lookups to favour the more comment case for speed tests, etc.
svn path=/trunk/netsurf/; revision=3003
2006-10-13 15:50:11 +00:00
Richard Wilson a8a944bd52 Optimise and tidy up code.
svn path=/trunk/netsurf/; revision=3002
2006-10-13 15:09:30 +00:00
John Mark Bell 2caa96dcc9 Fix attempts to call die() before messages_hash exists:
1) Make hash_* more robust in the face of bad parameters
2) Make messages_* more robust in the face of bad parameters
3) Tidy up gui_init such that localised messages are loaded at the 
   earliest opportunity

svn path=/trunk/netsurf/; revision=2998
2006-10-12 14:00:40 +00:00
Rob Kendrick 9670b32b7f Add documentation comments to hash table implementation.
svn path=/trunk/netsurf/; revision=2877
2006-08-21 16:51:39 +00:00
James Bursa efb9fd036b Check for malloc failing in hash_add(). Remove unnecessary casts.
svn path=/trunk/netsurf/; revision=2873
2006-08-20 16:02:22 +00:00
Rob Kendrick 1f9fed8556 Make hash_add() return success/failure bool
svn path=/trunk/netsurf/; revision=2872
2006-08-20 13:46:30 +00:00
Rob Kendrick d6b1f763ff Implement simple reusable write-once hash table for use in new Messages file handling.
svn path=/trunk/netsurf/; revision=2871
2006-08-20 12:25:41 +00:00