•  
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed compile with gcc 4.7.x…
Fixed compile with gcc 4.7.x

    • -71
    • +75
    ./utils/custom_program_options.h
  1. … 2 more files in changeset.
Fixed to make it work with different container types.
Fixed to make it work with different container types.

    • -17
    • +40
    ./utils/custom_program_options.h
AAdded custom_program_options - this re-implements something from mantra.old.…
AAdded custom_program_options - this re-implements something from mantra.old.

This allows for custom validators (conversion from string -> type) and for

custom checkers (verify certain rules on paramaters, eg. power of 2).

    • -0
    • +392
    ./utils/custom_program_options.h
    • -0
    • +215
    ./utils/custom_program_options_checkers.h
Converted majority of Mantra to using tr1 code instead of boost.…
Converted majority of Mantra to using tr1 code instead of boost.

Next step will be to change #include <tr1/X> to just #include <X> for C++11.

    • -184
    • +184
    ./admin/registry_selector.h
  1. … 139 more files in changeset.
Fixed bug in operator= for segments.
Fixed bug in operator= for segments.

Efficiency correction, check if impl_ == in.impl_.
Efficiency correction, check if impl_ == in.impl_.

Added reference counted buffers, useful 0-copy for socket operations.
Added reference counted buffers, useful 0-copy for socket operations.

    • -0
    • +591
    ./utils/ref_counted_buffers.h
Added direct routing for where performance really matters more than…
Added direct routing for where performance really matters more than

flexibility of message handling. Direct routing requires:

a) That the client create their own message class derived from direct_message.

b) That any task handling said message class knows about it's lifetime charateristics.

c) That any task handling said message override do_message for direct_message.

Benchmarks show direct routing can be MUCH faster than standard routing,

(10-15 times faster in some cases), however standard messgaes are still

recommended where this kind of performance is not required or for portabiliy.

  1. … 7 more files in changeset.
Adjustments for SSL with tracing.…
Adjustments for SSL with tracing.

  1. … 3 more files in changeset.
Changed tracing so that it could support automatic assigning to a specific trace codetype based on the location of the code (ie. compile unit). Also went from 1 -> 16 reserved codetypes for mantra.
Changed tracing so that it could support automatic assigning to a specific trace codetype based on the location of the code (ie. compile unit). Also went from 1 -> 16 reserved codetypes for mantra.
Changed tracing so that it could support automatic assigning to a specific trace codetype based on the location of the code (ie. compile unit). Also went from 1 -> 16 reserved codetypes for mantra.
Changed tracing so that it could support automatic assigning to a specific trace codetype based on the location of the code (ie. compile unit). Also went from 1 -> 16 reserved codetypes for mantra.
  1. … 21 more files in changeset.
Added special handling for char/wchar_t * (and const versions) when logging ussing MLOGF.…
Added special handling for char/wchar_t * (and const versions) when logging ussing MLOGF.

And allowed for users to also add speical handling for any other types they deem necessary.

  1. … 3 more files in changeset.
Fixed test cases and depcrecated '-c' option on commandline.
Fixed test cases and depcrecated '-c' option on commandline.

  1. … 6 more files in changeset.
Changed version number.
Changed version number.

Changed trace so that autoflush is a property of the codetype (not TSS).…
Changed trace so that autoflush is a property of the codetype (not TSS).

Also changed task stopping to be a two-phase stop ('stop' and 'join').

  1. … 11 more files in changeset.
Added some additionally #defines to trace code to allow…
Added some additionally #defines to trace code to allow

third party users that use tracing to disable it entirely

from their code for unit testing and such.

Changed shutdown to allow for scheduling shutdowns from the config file.
Changed shutdown to allow for scheduling shutdowns from the config file.

  1. … 4 more files in changeset.
Fixed bug where shutdown while telnet port is open can cause…
Fixed bug where shutdown while telnet port is open can cause

two threads to try and close socket at the same time, and one

of them will then raise an exception and cause a core.

Fixed problem where tcsetattr decides to try and write to…
Fixed problem where tcsetattr decides to try and write to

the PTY, which is not being read yet by the session (telnet

specifically). Changed it so that editline is not even

initalized until editline_session::run(), which means it is

in it's own thread, and AFTER the pty's other end is being

read by the service. This stops telnet blocking the service

handler if it only has one thread and termcap is b0rked.

  1. … 6 more files in changeset.
Fixed how socket session executes commands, and removed…
Fixed how socket session executes commands, and removed

conflict between editline and socket sessions.

  1. … 2 more files in changeset.
Changes to accomodate difference between boost::filesystem v2 and v3.…
Changes to accomodate difference between boost::filesystem v2 and v3.

And also to stop an exception being thrown when tracing a closed socket.

  1. … 3 more files in changeset.
Changes for boost 1.46.1
Changes for boost 1.46.1

  1. … 4 more files in changeset.
Added dumb socket admin.…
Added dumb socket admin.

    • -0
    • +218
    ./admin/accepting_session.h
    • -0
    • +237
    ./admin/socket_session.h
    • -0
    • +252
    ./admin/socket_session_impl.h
  1. … 5 more files in changeset.
Altered the way I modify visibility for GCC.
Altered the way I modify visibility for GCC.

  1. … 124 more files in changeset.
no_comment
no_comment
  1. … 16 more files in changeset.
Fixes to things like the regex for get_bool, and some other…
Fixes to things like the regex for get_bool, and some other

tweaks like adding the name of the last route on exception.

  1. … 5 more files in changeset.
Cannot call check_state from constructor as it uses shared_from_this.
Cannot call check_state from constructor as it uses shared_from_this.

Changed pending logins to be a shared_ptr to avoid potential double delete.
Changed pending logins to be a shared_ptr to avoid potential double delete.

  1. … 2 more files in changeset.
Changed config functions so that they will succeed or throw.…
Changed config functions so that they will succeed or throw.

Added support for serializing log destination (forgot the .cpp)

Chaned string converted to allow for specialization.

Added support for logging via. pointers & smart pointers.

  1. … 22 more files in changeset.
Several small fixes - most critical of which was fixing…
Several small fixes - most critical of which was fixing

remove() in message.

  1. … 2 more files in changeset.