Dashboard

Added OSX (gcc) support. It compiles and runs!
Added OSX (gcc) support. It compiles and runs!

  1. … 26 more files in changeset.
Fixed compile with gcc 4.7.x…
Fixed compile with gcc 4.7.x

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@748 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -23
    • +24
    /build/VariableCompilerFlags.cmake
    • -71
    • +75
    /mantra/utils/custom_program_options.h
Added more commandline parameters.…
Added more commandline parameters.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@747 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Fixed to make it work with different container types.…
Fixed to make it work with different container types.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@746 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -18
    • +41
    /mantra/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).

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@745 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -0
    • +392
    /mantra/utils/custom_program_options.h
    • -0
    • +215
    /mantra/utils/custom_program_options_checkers.h
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.…
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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@744 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -15
    • +15
    /mantra/admin/accepting_session.h
    • -42
    • +42
    /mantra/admin/editline_session.h
    • -184
    • +184
    /mantra/admin/registry_selector.h
    • -17
    • +17
    /mantra/admin/socket_session_impl.h
  1. … 139 more files in changeset.
Fixed bug in operator= for segments.…
Fixed bug in operator= for segments.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@743 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@742 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -23
    • +23
    /mantra/utils/ref_counted_buffers.h
Added reference counted buffers, useful 0-copy for socket operations.…
Added reference counted buffers, useful 0-copy for socket operations.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@741 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -0
    • +591
    /mantra/utils/ref_counted_buffers.h
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_…
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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@740 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -5
    • +29
    /mantra/scheduler/dispatching_tasks.h
    • -47
    • +207
    /src/scheduler/dispatching_tasks.cpp
    • -17
    • +143
    /test/scheduler/hello_world_task.cpp
Added directory for API documentation…
Added directory for API documentation

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@739 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Removed doc directories.…
Removed doc directories.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@738 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Fixed core dump if tracing was enabled on shutdown. Also added MT_FLUSH for functions running in their own thread.…
Fixed core dump if tracing was enabled on shutdown. Also added MT_FLUSH for functions running in their own thread.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@737 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Adjustments for SSL with tracing.…
Adjustments for SSL with tracing.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@736 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@735 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@734 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -10
    • +10
    /mantra/admin/registry_selector.h
    • -11
    • +14
    /mantra/admin/socket_session_impl.h
    • -10
    • +10
    /mantra/admin/telnet_session_impl.h
  1. … 21 more files in changeset.
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.…
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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@733 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Adjustmet to write PID every time.…
Adjustmet to write PID every time.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@732 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Fixed test cases and depcrecated '-c' option on commandline.…
Fixed test cases and depcrecated '-c' option on commandline.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@731 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Changed version number.…
Changed version number.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@730 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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').…
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').

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@729 4bc1f98e-c605-0410-ba70-eab4ded5abe3

  1. … 5 more files in changeset.
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.…
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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@728 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Adjusted warnings to be a little cleaner.…
Adjusted warnings to be a little cleaner.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@727 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@726 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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 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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@725 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Removed some unnecessary includes.…
Removed some unnecessary includes.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@724 4bc1f98e-c605-0410-ba70-eab4ded5abe3

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_…
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.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@723 4bc1f98e-c605-0410-ba70-eab4ded5abe3

    • -53
    • +100
    /src/admin/editline_session.cpp
Fixed how socket session executes commands, and removed conflict between editline and socket sessions.…
Fixed how socket session executes commands, and removed conflict between editline and socket sessions.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@722 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Changes to accomodate difference between boost::filesystem v2 and v3. And also to stop an exception being thrown when tracing a closed socket.…
Changes to accomodate difference between boost::filesystem v2 and v3. And also to stop an exception being thrown when tracing a closed socket.

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@721 4bc1f98e-c605-0410-ba70-eab4ded5abe3

Changes for boost 1.46.1…
Changes for boost 1.46.1

git-svn-id: http://svn.neuromancy.net/mantra/trunk/Mantra-I@720 4bc1f98e-c605-0410-ba70-eab4ded5abe3