48 Commits (f23486a3217ed85ed4a0d7f95a10c4013250c987)

Author SHA1 Message Date
  Eric Haszlakiewicz a59d5acfab Re-format after recent change to fix linkhash. 5 years ago
  Eric Haszlakiewicz 519dfe1591 Issue #599: Fix the backwards check in lh_table_insert_w_hash() that was preventing adding more than 11 objects. 5 years ago
  Tobias Stoeckmann d07b910149 Fix integer overflows. 5 years ago
  Tobias Stoeckmann 77d935b7ae Prevent division by zero in linkhash. 5 years ago
  dota17 8b162c4b89 clang-format the files 5 years ago
  dota17 c117d8a8a8 add the disabling formatting coments and adjust the partial code manuly 5 years ago
  Rubasri Kalidas 3003161eff Fix compiler warnings 6 years ago
  Eric Haszlakiewicz 0992aac61f Remove the TRUE and FALSE defines. 7 years ago
  Eric Haszlakiewicz a19031411d Remove the previously deprecated lh_table_lookup() function, in favor of lh_table_lookup_ex(). 7 years ago
  Eric Haszlakiewicz f83cf244cd Remove the previously deprecated bits.h and the lh_abort() function. 7 years ago
  Eric Haszlakiewicz 32f503f738 Issue #359: Don't duplicate lh_get_hash, just omit the "inline" for VS2010. 8 years ago
  Haffon e9f9f14f22 if compile with vs2015, enable the "static inline" declare. 8 years ago
  Haffon 3141c3976b 1.make it can been compiled with Visual Studio 2010 8 years ago
  Eric Haszlakiewicz 1d3e97f2ab Comment out the warning about racy random seed initialization in lh_char_hash(), if you're on a platform where it'll be triggered it just makes it a pain to build. 8 years ago
  Pablo Sanabria d3f813a14e Fixed linkhash.c for MinGW 8 years ago
  marxin 014924ba89 Add FALLTHRU comment to handle GCC7 warnings. 8 years ago
  Alex 175d934cff Fix compilation without C-99 option 8 years ago
  Eswar Yaganti 5fb63a09f9 linkhash.c: optimised the table_free path 9 years ago
  Eric Haszlakiewicz 595891729e Issue #236: Add -Wcast-qual and fix casts to retain constness. 9 years ago
  Eric Haszlakiewicz f285c0a2e5 Issue #175: disable the fast-and-loose code in hashlittle() when running with AddressSanitizer. 9 years ago
  Eric Haszlakiewicz 0539191d18 Check the __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{2,4,8} defines to decide whether to use __sync_val_compare_and_swap(), as described at https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html 9 years ago
  Eric Haszlakiewicz 980cdd61be Merge commit '2be921d88376e78f84d79aafa6db2714da804e59' 9 years ago
  Rainer Gerhards 36610fb697 fix regression from 2d549662be 10 years ago
  Eric Haszlakiewicz 12916e229c Merge pull request #196 from rgerhards/improve-performance 10 years ago
  Rainer Gerhards 1ae4b50bde remove unneeded data items from hashtable code 10 years ago
  Rainer Gerhards 8f8d03df46 add perllike hash function for strings 10 years ago
  Rainer Gerhards 2d549662be add json_object_object_add_ex() API 10 years ago
  Rainer Gerhards d8e44dc685 reduce duplicate hash computation in json_object_object_add() 10 years ago
  Eric Haszlakiewicz cd8bd7f617 Tell the compiler we're intentionally ignoring the return value from __sync_val_compare_and_swap(). 10 years ago
  James Myatt 18b3c49296 Use more appropriate casts 10 years ago
  James Myatt 0137103f4b Include config.h in linkhash so that HAVE_ENDIAN_H is defined (if available) 10 years ago
  Eric Haszlakiewicz 7e3a6c6b9d Merge pull request #163 from sixlettervariables/fix-win32-build-problems 10 years ago
  Christopher Watford 0609a5729c Fixes #160 'missing header file on windows' 10 years ago
  Michael Vetter fcf5ad1bd6 Remove trailing whitespace 11 years ago
  Michael Clark 64e36901a0 Patch to address the following issues: 11 years ago
  Eric Haszlakiewicz ca8b27d183 Enable -Werror and fix a number of minor warnings that existed. 12 years ago
  Greg Hazel cca74c6de6 add json_object_object_length 12 years ago
  Alexander Klauer 2be921d883 Fixed json_object_object_add(). 12 years ago
  Keith Derrick 4a2cd966f5 Add NULL-safe lookup function 13 years ago
  Eric Haszlakiewicz 64c0ca3690 Define a LH_LOAD_FACTOR constant and note the range that it can be set to. 13 years ago
  Michael Clark f5dd43a9d1 * Fix subtle bug in linkhash where lookup could hang after all slots 16 years ago
  Michael Clark aaec1ef3c5 * Don't use this as a variable, so we can compile with a C++ compiler 16 years ago
  Michael Clark 22dee7cb59 * Null pointer dereference fix. Fix json_object_get_boolean strlen test 16 years ago
  Michael Clark 68cafad078 Add const correctness to public interfaces 16 years ago
  Michael Clark 8cdac64ccd Add va_end for every va_start. 16 years ago
  Michael Clark f6a6e486ff * Make headers C++ compatible by change *this to *obj 18 years ago
  Michael Clark 4504df7117 * printbuf.c - C. Watford (christopher dot watford at gmail dot com) 18 years ago
  Michael Clark f0d08887b8 import of version 0.1 18 years ago