Permalink
Commits on Aug 18, 2018
  1. Logout/socket shutdown cleanup

    Greg Millam authored and captdeaf committed Aug 18, 2018
Commits on Aug 17, 2018
  1. c99ish

    Greg Millam authored and captdeaf committed Aug 17, 2018
  2. Don't let sq_run_one bug out on new events

    Greg Millam authored and captdeaf committed Aug 17, 2018
  3. Fix bug with secs to msecs

    Greg Millam authored and captdeaf committed Aug 17, 2018
  4. fix help changes

    Greg Millam authored and captdeaf committed Aug 17, 2018
Commits on Aug 16, 2018
  1. Single queue, and massive bsd.c rewrite (#1224)

    captdeaf committed Aug 16, 2018
    WARNING! With the removal of the object queue, please be careful when upgrading that you do
     not have any infinitely looping triggers without an `@wait`.
    
    As an example, this used to be a common way to ensure something was executed once per second:
    
    > `&everysecond object=do some ; updates ; @trigger me/everysecond`
    
    This will now happen, up to several thousand times per second! Make it `@wait 1`, and it'll run once/second!
    
    * A single command queue for players and objects. No more `@trigger` waits. [GM]
    * A restructuring of bsd.c, to make it easier to reason about Penn's queue cycle. [GM]
    
    On the way to doing this:
    
    * cpu_timer_hit checks in atr_iter* and regexp loops (Ashen-Shugar can hang Penn for a full second w/ regrab on a single attr. Never mind max_attrs!)
    * Removal of active_q_chunk - I don't think it makes much sense to have it. Instead we just run queue_chunk every loop.
  2. Closes #1225

    Shawn Wagner
    Shawn Wagner committed Aug 16, 2018
    Squashed commit of the following:
    
    commit 4152716a2751829eaaaf0c4ed6f55780c37af29e
    Author: Shawn Wagner <shawnw.mobile@gmail.com>
    Date:   Wed Aug 15 22:28:26 2018 -0700
    
        Help searching improvements
    
    commit 87ad7e9334401ff0aaca814e4d5ec7c3127a83da
    Author: Shawn Wagner <shawnw.mobile@gmail.com>
    Date:   Wed Aug 15 15:44:04 2018 -0700
    
        Add help/find
    
    commit d332b91d65a649a992b2f1c95d5209557adb4493
    Author: Shawn Wagner <shawnw.mobile@gmail.com>
    Date:   Wed Aug 15 15:10:08 2018 -0700
    
        Add /brief to help search and support @ in tokens. #1225
  3. Squashed commit of the following:

    Shawn
    Shawn committed Aug 16, 2018
    commit 4fcad71a0ded8e9639f00e4a1dbb245600b1f47c
    Author: Shawn <shawnw.mobile@gmail.com>
    Date:   Wed Aug 15 20:16:29 2018 -0700
    
        Use PCRE for sqlite regexp operator.
Commits on Aug 14, 2018
  1. Update CHANGES.188.md

    mike347 committed Aug 14, 2018
  2. Update changelog

    mike347 committed Aug 14, 2018
  3. Millisecond timing in bsd.c (#1220)

    captdeaf committed Aug 14, 2018
    * Millisecond timing in bsd.c for poll() and family.
    * Descriptor quota fixes and improvements
    * Adjust timer.c to use milliseconds.
    * Fixed msec_diff to actually return millisecond count.
    * Rearranging do_second(), every_second(), etc from cque and timer since they're not run every second.
    * Fixing queue_load_record to be aware it probably won't run every second.
    * Cleanup of timeval, slice timeout, and related math in bsd.c
    * Moved error and signal result checking in bsd.c into its own function for cleaner shovechars()
    * moved gettimeofday into utils.c and made generally available as penn_gettimeofday()
    * Add now_msecs(), only used by timer.c now but will be used by @wait/etc.
  4. eqsplit @respond

    Greg Millam authored and captdeaf committed Aug 14, 2018
  5. Minor fixes for compiler warnings & CHANGES

    Greg Millam authored and captdeaf committed Aug 14, 2018
Commits on Aug 13, 2018
  1. Squashed commit of the following:

    Shawn Wagner
    Shawn Wagner committed Aug 13, 2018
    commit 0aeda088ec8bb7771cf678bdd14f5d2d1c0e51b3
    Author: Shawn Wagner <shawnw.mobile@gmail.com>
    Date:   Mon Aug 13 00:34:44 2018 -0700
    
        Fix some issues with future dates in connlog()
  2. Fix helpfiles and http queue waiting.

    Greg Millam authored and captdeaf committed Aug 13, 2018
  3. Squashed commit of the following:

    Shawn
    Shawn committed Aug 13, 2018
    commit 8c5981f913d38dc9e8c888b506f84c91f1653c8b
    Author: Shawn <shawnw.mobile@gmail.com>
    Date:   Sun Aug 12 21:59:29 2018 -0700
    
        Add HMAC() function.
  4. Adding content-length support

    Greg Millam authored and captdeaf committed Aug 13, 2018
  5. Fixed, oops.

    Greg Millam authored and captdeaf committed Aug 13, 2018
  6. do_trigger max_args bugfix.

    Greg Millam authored and captdeaf committed Aug 13, 2018
Commits on Aug 12, 2018
  1. Trigger inline (WIP) (#1219)

    captdeaf committed Aug 12, 2018
    Add @trigger/inline and /match
Commits on Aug 11, 2018
  1. Merge branch 'autoconf-update'

    Shawn
    Shawn committed Aug 11, 2018
  2. Updates and improvements to configure

    Shawn
    Shawn committed Aug 7, 2018
  3. Start up 1.8.8 changelog.

    Shawn
    Shawn committed Aug 11, 2018
  4. Httpd (#1214)

    captdeaf committed Aug 11, 2018
    (From "help http"):
    PennMUSH now supports HTTP requests reaching its mush port. It is very low level,
    and a little tricky to understand.
    
    When an HTTP request hits the PennMUSH port, PennMUSH invisibly logs in to
    the HTTP Handler player (@config http_handler), and executes an
    @include me/<method>. e.g: @include me/get.
    
    %0 will be the pathname, e.g: "/", "/path/to", "/foo?bar=baz", etc.
    
    %1 will be the body of the request. If it's json, use json_query to deal with it.
    If it's form-encoded, look at help formdecode()
    
    Anything sent to the HTTP Handler player during evaluation of this code is
    included in the body sent to the HTTP Client. There is a maximum size of
    BUFFER_LEN for the body of the response.
Commits on Aug 9, 2018
  1. Fix a bug where text sent too soon after connecting through ssl_slave…

    Shawn
    Shawn committed Aug 9, 2018
    … could get lost.
  2. Merge pull request #1215 from grapenut/more-websock-oob

    shawnw committed Aug 9, 2018
    Update oob() to also send the GMCP headers to websockets
  3. Use new cJSON api to robustly repackage JSON being sent to websockets…

    grapenut
    grapenut committed Aug 9, 2018
    … via oob() so that it can be used identically to GMCP.