Skip to content

Commit

Permalink
updatelibs: another update
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 3, 2025
1 parent e0ee951 commit 948962e
Show file tree
Hide file tree
Showing 44 changed files with 114 additions and 119 deletions.
3 changes: 0 additions & 3 deletions ext/minitscript/src/minitscript/minitscript/Transpiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ using std::unordered_map;
using std::unordered_set;
using std::vector;

// namespaces
using minitscript::utilities::Console;

/**
* MinitScript transpiler
* @author Andreas Drewke
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Base exception class for network exceptions
* @author Andreas Drewke
*/
class minitscript::os::network::NetworkException: public minitscript::utilities::ExceptionBase {
class minitscript::os::network::NetworkException: public ::minitscript::utilities::ExceptionBase {
public:
/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using std::string;
* Base exception class for network IO exceptions
* @author Andreas Drewke
*/
class minitscript::os::network::NetworkIOException: public minitscript::os::network::NetworkException {
class minitscript::os::network::NetworkIOException: public ::minitscript::os::network::NetworkException {
public:
/**
* Public constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Network socket closed exception
* @author Andreas Drewke
*/
class minitscript::os::network::NetworkSocketClosedException: public minitscript::os::network::NetworkIOException {
class minitscript::os::network::NetworkSocketClosedException: public ::minitscript::os::network::NetworkIOException {
public:
/**
* Constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Socket exception class
* @author Andreas Drewke
*/
class minitscript::os::network::NetworkSocketException: public minitscript::os::network::NetworkException {
class minitscript::os::network::NetworkSocketException: public ::minitscript::os::network::NetworkException {
public:
/**
* Public constructor
Expand Down
6 changes: 3 additions & 3 deletions ext/yannet/src/yannet/network/httpclient/HTTPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ using std::stringstream;
using std::unordered_map;
using std::vector;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace httpclient {
using yannet::network::httpclient::HTTPClientException;
using yannet::os::network::NetworkException;
using ::yannet::network::httpclient::HTTPClientException;
using ::yannet::os::network::NetworkException;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* HTTP client exception
* @author Andreas Drewke
*/
class yannet::network::httpclient::HTTPClientException: public yannet::utilities::ExceptionBase {
class yannet::network::httpclient::HTTPClientException: public ::yannet::utilities::ExceptionBase {
public:
/**
* @brief public constructor
Expand Down
10 changes: 5 additions & 5 deletions ext/yannet/src/yannet/network/httpclient/HTTPDownloadClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ using std::unique_ptr;
using std::unordered_map;
using std::vector;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace httpclient {
using yannet::network::httpclient::HTTPClientException;
using yannet::os::network::NetworkException;
using yannet::os::threading::Mutex;
using yannet::os::threading::Thread;
using ::yannet::network::httpclient::HTTPClientException;
using ::yannet::os::network::NetworkException;
using ::yannet::os::threading::Mutex;
using ::yannet::os::threading::Thread;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions ext/yannet/src/yannet/network/udp/UDPPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ using std::array;
using std::string;
using std::to_string;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udp {
using yannet::utilities::Console;
using ::yannet::utilities::Console;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using std::string;
* Base exception class for network client exceptions
* @author Andreas Drewke
*/
class yannet::network::udpclient::NetworkClientException: public yannet::os::network::NetworkException {
class yannet::network::udpclient::NetworkClientException: public ::yannet::os::network::NetworkException {
public:
/**
* @brief public constructor
Expand Down
18 changes: 8 additions & 10 deletions ext/yannet/src/yannet/network/udpclient/UDPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <yannet/network/udpclient/fwd-yannet.h>
#include <yannet/network/udpclient/NetworkClientException.h>
#include <yannet/network/udpclient/UDPClientMessage.h>

#include <yannet/os/network/KernelEventMechanism.h>
#include <yannet/os/network/UDPSocket.h>
#include <yannet/os/threading/Mutex.h>
Expand All @@ -25,18 +24,17 @@ using std::queue;
using std::string;
using std::unordered_map;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpclient {
using yannet::os::network::KernelEventMechanism;
using yannet::os::network::UDPSocket;
using yannet::os::threading::Mutex;
using yannet::os::threading::Thread;

using yannet::network::udp::UDPPacket;
using yannet::network::udpclient::NetworkClientException;
using yannet::network::udpclient::UDPClientMessage;
using ::yannet::os::network::KernelEventMechanism;
using ::yannet::os::network::UDPSocket;
using ::yannet::os::threading::Mutex;
using ::yannet::os::threading::Thread;
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpclient::NetworkClientException;
using ::yannet::network::udpclient::UDPClientMessage;
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions ext/yannet/src/yannet/network/udpclient/UDPClientMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
using std::string;
using std::unique_ptr;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpclient {
using yannet::network::udp::UDPPacket;
using yannet::utilities::Time;
using ::yannet::network::udp::UDPPacket;
using ::yannet::utilities::Time;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Base exception class for network server exceptions
* @author Andreas Drewke
*/
class yannet::network::udpserver::NetworkServerException: public yannet::os::network::NetworkException {
class yannet::network::udpserver::NetworkServerException: public ::yannet::os::network::NetworkException {
public:
/**
* @brief public constructor
Expand Down
4 changes: 2 additions & 2 deletions ext/yannet/src/yannet/network/udpserver/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::os::threading::Barrier;
using yannet::os::threading::ReadWriteLock;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::ReadWriteLock;

class ServerWorkerThreadPool;

Expand Down
10 changes: 5 additions & 5 deletions ext/yannet/src/yannet/network/udpserver/ServerClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

using std::string;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpserver {
using yannet::network::udp::UDPPacket;
using yannet::utilities::Exception;
using yannet::utilities::Reference;
using ::yannet::network::udp::UDPPacket;
using ::yannet::utilities::Exception;
using ::yannet::utilities::Reference;

class ServerRequest;
};
Expand All @@ -27,7 +27,7 @@ namespace udpserver {
* Base class for network server clients
* @author Andreas Drewke
*/
class yannet::network::udpserver::ServerClient : public yannet::utilities::Reference {
class yannet::network::udpserver::ServerClient : public ::yannet::utilities::Reference {
friend class ServerWorkerThread;

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
using std::string;
using std::unordered_map;

using yannet::network::udpserver::ServerClientRequestHandler;
using yannet::network::udpserver::ServerClientRequestHandlerHubException;

namespace yannet {
namespace network {
namespace udpserver {

using ::yannet::network::udpserver::ServerClientRequestHandler;
using ::yannet::network::udpserver::ServerClientRequestHandlerHubException;

/**
* @brief Network server client request handler hub
* @author Andreas Drewke
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace udpserver {
* Network server client request handler hub exception
* @author Andreas Drewke
*/
class ServerClientRequestHandlerHubException: public yannet::utilities::ExceptionBase {
class ServerClientRequestHandlerHubException: public ::yannet::utilities::ExceptionBase {
public:
/**
* @brief public constructor
Expand Down
6 changes: 3 additions & 3 deletions ext/yannet/src/yannet/network/udpserver/ServerGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::os::threading::ReadWriteLock;
using yannet::utilities::Exception;
using yannet::utilities::Reference;
using ::yannet::os::threading::ReadWriteLock;
using ::yannet::utilities::Exception;
using ::yannet::utilities::Reference;

/**
* Base class for network server groups
Expand Down
6 changes: 3 additions & 3 deletions ext/yannet/src/yannet/network/udpserver/ServerGroupBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::utilities::Exception;
using yannet::utilities::Reference;
using ::yannet::utilities::Exception;
using ::yannet::utilities::Reference;

/**
* Base class for network server group
* @author Andreas Drewke
*/
class ServerGroupBase : public yannet::utilities::Reference {
class ServerGroupBase : public ::yannet::utilities::Reference {
friend class ServerWorkerThread;

protected:
Expand Down
2 changes: 1 addition & 1 deletion ext/yannet/src/yannet/network/udpserver/ServerRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::network::udp::UDPPacket;
using ::yannet::network::udp::UDPPacket;

class ServerClient;

Expand Down
4 changes: 2 additions & 2 deletions ext/yannet/src/yannet/network/udpserver/ServerWorkerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::os::threading::Barrier;
using yannet::os::threading::Thread;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::Thread;

class ServerWorkerThreadPool;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ namespace yannet {
namespace network {
namespace udpserver {

using yannet::os::threading::Barrier;
using yannet::os::threading::Queue;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::Queue;

class ServerRequest;

Expand Down
22 changes: 11 additions & 11 deletions ext/yannet/src/yannet/network/udpserver/UDPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ using std::unique_ptr;
using std::unordered_map;
using std::unordered_set;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpserver {
using yannet::network::udp::UDPPacket;
using yannet::network::udpserver::NetworkServerException;
using yannet::network::udpserver::Server;
using yannet::network::udpserver::ServerWorkerThreadPool;
using yannet::network::udpserver::UDPServerClient;
using yannet::network::udpserver::UDPServerGroup;
using yannet::network::udpserver::UDPServerIOThread;
using yannet::os::threading::Barrier;
using yannet::os::threading::ReadWriteLock;
using yannet::os::threading::Thread;
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::NetworkServerException;
using ::yannet::network::udpserver::Server;
using ::yannet::network::udpserver::ServerWorkerThreadPool;
using ::yannet::network::udpserver::UDPServerClient;
using ::yannet::network::udpserver::UDPServerGroup;
using ::yannet::network::udpserver::UDPServerIOThread;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::ReadWriteLock;
using ::yannet::os::threading::Thread;
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions ext/yannet/src/yannet/network/udpserver/UDPServerClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
using std::string;
using std::unordered_map;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpserver {
using yannet::network::udp::UDPPacket;
using yannet::network::udpserver::UDPServer;
using yannet::network::udpserver::UDPServerIOThread;
using yannet::os::threading::Mutex;
using yannet::utilities::Exception;
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::UDPServer;
using ::yannet::network::udpserver::UDPServerIOThread;
using ::yannet::os::threading::Mutex;
using ::yannet::utilities::Exception;
}
}
}
Expand Down
18 changes: 9 additions & 9 deletions ext/yannet/src/yannet/network/udpserver/UDPServerIOThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ using std::queue;
using std::unique_ptr;
using std::unordered_map;

// name spaces
// namespaces
namespace yannet {
namespace network {
namespace udpserver {
using yannet::network::udp::UDPPacket;
using yannet::network::udpserver::UDPServer;
using yannet::network::udpserver::UDPServerClient;
using yannet::os::network::KernelEventMechanism;
using yannet::os::network::UDPSocket;
using yannet::os::threading::Barrier;
using yannet::os::threading::Mutex;
using yannet::os::threading::Thread;
using ::yannet::network::udp::UDPPacket;
using ::yannet::network::udpserver::UDPServer;
using ::yannet::network::udpserver::UDPServerClient;
using ::yannet::os::network::KernelEventMechanism;
using ::yannet::os::network::UDPSocket;
using ::yannet::os::threading::Barrier;
using ::yannet::os::threading::Mutex;
using ::yannet::os::threading::Thread;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ext/yannet/src/yannet/os/filesystem/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class yannet::os::filesystem::FileSystem final
* File system exception
* @author Andreas Drewke
*/
class FileSystemException: public yannet::utilities::ExceptionBase
class FileSystemException: public ::yannet::utilities::ExceptionBase
{
public:
/**
Expand Down
Loading

0 comments on commit 948962e

Please sign in to comment.