[mw-devel] [Git][arthur/mw][userdb] 29 commits: Fix display_message when colours are off

Justin Mitchell arthur at sucs.org
Sun Jul 9 13:45:33 BST 2017


Justin Mitchell pushed to branch userdb at Justin Mitchell / mw


Commits:
03091bbd by Andrew Price at 2016-09-17T16:22:37+01:00
Fix display_message when colours are off

When display_message gets to this point, ptr might have been incremented
to its end of line value and so the loop is terminated without printing
the message. Instead, jump down to the last section of the loop where it
checks for end of line and prints the message.

(This function could really do with refactoring to avoid this goto and
make it more readable but for now this will do.)

- - - - -
e7a0999b by Andrew Price at 2016-09-30T21:23:26+01:00
Add prefixes to commands in the help listings

- - - - -
091d260a by Andrew Price at 2016-10-04T15:51:17+01:00
Remove another reference to mud mode

- - - - -
36f78f8e by Andrew Price at 2016-10-21T16:29:50+01:00
Fix strncpy length in add_mesg

Fixes:

  talk{0}-* !w
  Writing in folder Foo.
  Message from andy
  *** buffer overflow detected ***: /home/andy/src/mw/src/client/mw
  terminated

- - - - -
a803a110 by Andrew Price at 2016-10-23T10:02:15+01:00
Add a help file for .replay

- - - - -
49b1776e by Andrew Price at 2017-01-23T13:00:55+00:00
Use readdir instead of readdir_r

Fixes:

  servsock.c: In function ‘migrate_old_folders’:
  servsock.c:684:2: error: ‘readdir_r’ is deprecated [-Werror=deprecated-declarations]
    while (readdir_r(dirp, &entry, &dp) == 0) {
    ^~~~~

- - - - -
abc00bd1 by Andrew Price at 2017-01-23T14:28:07+00:00
Fix two buffer overflows

1. incoming_pipe is -1 in idle() when a new user runs mw with autochat
2. When ls() tries to write too many chars into a SUBJECTSIZE+1-char
   buffer.

Fixes #24

- - - - -
42dd1040 by Andrew Price at 2017-02-15T22:52:53+00:00
Add a debug output option separate from --foreground

Sometimes it's useful to run the server in the foreground quietly.

- - - - -
b3ccdf38 by Isabel Jenkins at 2017-06-21T19:47:58+01:00
Added silent entry mode for webclient

- - - - -
a6ef8ff6 by Isabel Jenkins at 2017-06-22T09:41:05+01:00
Updated mwpoll for quiet exit as well as entry

- - - - -
93dc2abd by Andrew Price at 2017-06-22T14:09:58+01:00
Add missing 'q' to mwpoll's getopt string

- - - - -
d6cc4fc1 by Andrew Price at 2017-06-27T22:05:48+01:00
webclient: Send sayto messages as sayto messages

- - - - -
cbac7028 by Andrew Price at 2017-06-27T22:58:01+01:00
Free an asprintf allocated string

- - - - -
c678f8e9 by Andrew Price at 2017-07-08T02:04:44+01:00
Remove some unnecessary js-related bits

- - - - -
af2c1dee by Andrew Price at 2017-07-08T02:53:25+01:00
Move the js engine build bits into client/Makefile

- - - - -
3e7d6556 by Andrew Price at 2017-07-08T02:56:02+01:00
Rename client/js.c to client/js-moz.c

- - - - -
51a830d1 by Andrew Price at 2017-07-08T03:18:11+01:00
Add duktape

- - - - -
b6bf0027 by Andrew Price at 2017-07-08T10:44:05+01:00
Add stubs for a duktape mwjs implementation

- - - - -
57847312 by Imran Hussain at 2017-07-09T12:31:45+01:00
Introduce CI to mw via Gitlab-CI
- - - - -
132ed910 by Justin Mitchell at 2017-07-09T13:43:34+01:00
Work towards all userdb access in server
Still nowhere near finished, but the main edit commands have moved,
      and frameworks have been started for the other parts

- - - - -
ac907fa4 by Justin Mitchell at 2017-07-09T13:43:34+01:00
User record updating functions to match requests

- - - - -
695563a4 by Justin Mitchell at 2017-07-09T13:43:35+01:00
self actions share a lot with user edits

- - - - -
d6dba2a6 by Justin Mitchell at 2017-07-09T13:43:35+01:00
Change the message format, stop using userposn.

It no longer makes sense to use userposn as a source and destination
field when passing messages, so drop it entirely.
Instead specify an 'audience' for the message so the server
knows how to distribute it.

- - - - -
79c916b7 by Justin Mitchell at 2017-07-09T13:43:36+01:00
Purge usage of json_init in message creation

- - - - -
d970ca20 by Justin Mitchell at 2017-07-09T13:43:38+01:00
Still not finish, must remove 'user' from client

- - - - -
1342c317 by Justin Mitchell at 2017-07-09T13:43:38+01:00
Make the server login more robust

- - - - -
65535a9b by Justin Mitchell at 2017-07-09T13:43:38+01:00
some witterings about where we are

- - - - -
bbf5b3f2 by Justin Mitchell at 2017-07-09T13:43:38+01:00
Unfinished work on migrating more to client-server

- - - - -
076119af by Justin Mitchell at 2017-07-09T13:45:45+01:00
Merge branch 'userdb' of https://projects.sucs.org/arthur/mw into userdb

Conflicts:
	src/webclient/mwpoll.c

- - - - -


5 changed files:

- + .gitlab-ci.yml
- Makefile.common
- + duktape/Makefile
- + duktape/duk_config.h
- + duktape/duktape.c


The diff was not included because it is too large.


View it on GitLab: https://projects.sucs.org/arthur/mw/compare/18f9492c0a2090319474cef65132f598c2154d71...076119af01d3a6873ad6b4eab6cdc096cd4fdae5

---
View it on GitLab: https://projects.sucs.org/arthur/mw/compare/18f9492c0a2090319474cef65132f598c2154d71...076119af01d3a6873ad6b4eab6cdc096cd4fdae5
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20170709/6a3fe13d/attachment-0001.html>


More information about the mw-devel mailing list