1. 22 Jan, 2016 2 commits
  2. 20 Jan, 2016 1 commit
    • Andrew Price's avatar
      Fix up create_folder_file · ff58d063
      Andrew Price authored
      Use ftruncate instead of writing malloced garbage entries to set the
      file size of folders.bb, which dictates the (seemingly arbitrary) 64
      folder limit. Also make it return on error instead of exiting.
      ff58d063
  3. 15 Jan, 2016 2 commits
    • Andrew Price's avatar
    • Andrew Price's avatar
      Simplify version numbering using git tags · 9325a02d
      Andrew Price authored
      As we're determined to use git for providing version numbers we might as
      well do it the right way. Take all of the version information from git
      describe. This assumes that at least one annotated tag exists in the
      branch relating to a release. The tag will be created using
      
      $ git tag -a -m "Version 2.17" 2.17 fb1be771
      
      so git describe will give us versions like 2.17-123-gf00baa which has
      better ordering properties than the current 2.17-gf00baa scheme, which
      is important for package upgrades. When HEAD matches the tag exactly, it
      will just give 2.17
      9325a02d
  4. 14 Jan, 2016 4 commits
    • Andrew Price's avatar
      Remove send_mesg() · cc3727d6
      Andrew Price authored
      Now that !tell is gone it's not needed.
      cc3727d6
    • Andrew Price's avatar
      Fix a couple of unnecessary capitals · 9a15f3f1
      Andrew Price authored
      9a15f3f1
    • Andrew Price's avatar
      Remove obsolete client/bork.h · bdef2392
      Andrew Price authored
      bdef2392
    • Andrew Price's avatar
      Fix new user logins · 7e8ca22f
      Andrew Price authored
      In main(), login_ok() was being called before ipc_connect() but when a
      new user is created, the login_ok() call leads to a broadcast() call
      which attempts to reconnect to the server through ipc_check() and fails
      because ipc_connect() hasn't set the server location yet. This bug has
      been lurking for a while but it has only recently turned into a segfault
      due to the NULL server location. Move the broadcast() calls to come
      after the ipc_connect() for now.
      7e8ca22f
  5. 13 Jan, 2016 3 commits
  6. 12 Jan, 2016 6 commits
  7. 09 Dec, 2015 1 commit
  8. 08 Dec, 2015 1 commit
  9. 27 Nov, 2015 1 commit
  10. 20 Nov, 2015 1 commit
  11. 14 Nov, 2015 3 commits
    • Andrew Price's avatar
      More SEEK_* usage · 07679188
      Andrew Price authored
      That coccinelle script works better without the semicolons (duh):
      
      @rule0@
      expression A,B;
      @@
      - lseek(A, B, 0)
      + lseek(A, B, SEEK_SET)
      @rule1@
      expression A,B;
      @@
      - lseek(A, B, 1)
      + lseek(A, B, SEEK_CUR)
      @rule2@
      expression A,B;
      @@
      - lseek(A, B, 2)
      + lseek(A, B, SEEK_END)
      07679188
    • Andrew Price's avatar
      Use SEEK_* in lseek(2) calls · 2b6a2c76
      Andrew Price authored
      Change scripted with coccinelle:
      
      @rule0@
      expression A,B;
      @@
      - lseek(A, B, 0);
      + lseek(A, B, SEEK_SET);
      @rule1@
      expression A,B;
      @@
      - lseek(A, B, 1);
      + lseek(A, B, SEEK_CUR);
      @rule2@
      expression A,B;
      @@
      - lseek(A, B, 2);
      + lseek(A, B, SEEK_END);
      2b6a2c76
    • Andrew Price's avatar
      Fix memory leak in add_folder · 152e0a0c
      Andrew Price authored
      152e0a0c
  12. 11 Nov, 2015 1 commit
  13. 09 Nov, 2015 5 commits
  14. 08 Nov, 2015 1 commit
  15. 07 Nov, 2015 8 commits