1. 09 Jan, 2020 1 commit
  2. 13 Apr, 2019 1 commit
  3. 08 Apr, 2019 1 commit
  4. 01 Aug, 2016 1 commit
  5. 27 Feb, 2016 2 commits
  6. 12 Jan, 2016 2 commits
  7. 07 Nov, 2015 2 commits
  8. 06 Nov, 2015 1 commit
  9. 23 Oct, 2015 1 commit
    • Andrew Price's avatar
      Introduce struct user · a8b7a0a2
      Andrew Price authored
      Wrap the userposn and struct person in a new user structure which can be
      used to pass around all of the date related to the user, not just the
      on-disk bits. This should make things easier down the line when
      replacing the users.bb format with a more flexible one.
      a8b7a0a2
  10. 12 Oct, 2015 1 commit
  11. 08 Oct, 2015 1 commit
  12. 07 Oct, 2015 2 commits
  13. 02 Oct, 2015 1 commit
  14. 24 Sep, 2015 1 commit
  15. 26 Nov, 2013 1 commit
  16. 01 Nov, 2013 2 commits
  17. 31 Oct, 2013 2 commits
    • Andrew Price's avatar
      Split out the who file stuff from files.* into who.* and tidy up the code a... · 99262954
      Andrew Price authored
      Split out the who file stuff from files.* into who.* and tidy up the code a bit. Intention here is to modularise the who file code so that it can be replaced with a server-managed sqlite db (or whatever) easily in future. There's still a lot of code which does its own operations on the who file with read() and lseek() so a good next step will be to hide that code behind an iterator or similar.
      
      99262954
    • Andrew Price's avatar
      Split out the common bits from the client bits: · 94f5a00a
      Andrew Price authored
      - Move as much of mw into src/client/ as possible
      - Make sure everything that mwserv and webclient require is in src/
      - Build a libmw.a from src/*.o to make linking easier
      - Rejig and simplify some Makefile rules
      
      This should help to make it clear which bits of code are shared and which are specific to the UI. We should avoid putting any user interface stuff into libmw.a as a rule.
      
      TODO:
      - Improve some file names (e.g. sqlite.{c,h} is a silly name)
      - Fix building the utils
      - Add sensible svn:ignores to src/client
      
      94f5a00a
  18. 18 Nov, 2012 1 commit
  19. 17 Nov, 2012 1 commit
    • Andrew Price's avatar
      Some much needed cleaning up. Adds -Wshadow -Wmissing-prototypes... · d99876c8
      Andrew Price authored
      Some much needed cleaning up. Adds -Wshadow -Wmissing-prototypes -Wno-strict-aliasing and silences all the new warnings, including renaming a bunch of redeclared variable names, making a bunch of functions static, including headers where needed and rejigging definitions and prototypes. It touches a lot of code but no functionality has changed.
      
      
      d99876c8
  20. 05 Nov, 2012 1 commit
  21. 04 Aug, 2010 1 commit
  22. 23 Jul, 2010 2 commits
  23. 14 Jul, 2010 1 commit
    • Andrew Price's avatar
      Some more dependency-related rejigging: · c0e06ff9
      Andrew Price authored
      - move the struct person definition (and associated constants) out of bb.h and into user.h
      - remove locking.{c,h} and put the two locking functions into files.{c,h} (everything that included locking.h also included files.h before anyway)
      - update #includes in other files to reflect the above
      
      c0e06ff9
  24. 12 Jul, 2010 1 commit
    • Andrew Price's avatar
      Some header file refactoring: · ba92b7ee
      Andrew Price authored
      - Get rid of proto.h and split out its declarations into new .h files matching the .c files in which the definitions will be found
      - Use include guards in headers
      - Reorganise a couple of functions to make them static
      
      NB this is just the first step. Some of the additional headers can probably be obsoleted with further refactoring as they only contain one or two declarations - there's plenty of scope for better organisation of .c files (e.g. get_pass and other utility functions could be combined into a util.c).
      
      ba92b7ee
  25. 26 Jun, 2010 1 commit
  26. 16 Dec, 2009 1 commit
    • Andrew Price's avatar
      Lots of cleanups: · 6f4121bd
      Andrew Price authored
      - Remove unused functions
      - Remove unused source files
      - static-ify some functions
      6f4121bd
  27. 06 Dec, 2009 1 commit
  28. 08 Oct, 2008 1 commit
  29. 21 Jul, 2008 2 commits
  30. 16 Jul, 2008 1 commit
  31. 15 Jul, 2008 1 commit
  32. 26 Nov, 2007 1 commit