JustinAJ
5eca27adc3
process_file_finish() is now called when a database file doesn't exist, and is created.
9 years ago
JustinAJ
5b83899a03
Added functions:
* Jupiter_prefix_length_to_bitmask(uint8_t)
* Jupiter_prefix_length_to_netmask(uint8_t)
9 years ago
JustinAJ
5338777b91
Fixed minor memory leak/bug.
Added pop() ot ArrayList.
9 years ago
JustinAJ
06d980666b
HTTP::Server is now minimally functional.
9 years ago
JustinAJ
87ca784d1e
Fixed the ArrayList copy constructor
9 years ago
JustinAJ
6f708bd73e
Updated name in copyright notices.
Added files missing in previous commit: HTTP.h, HTTP_Server.h
9 years ago
JustinAJ
0cb4539c9a
Added unfinished HTTP server.
Added additional single-element span() to Readable_String.
9 years ago
JustinAJ
8cc73c997a
Jupiter::Socket:
* Replaced 'host' with 'remote_host' and 'bound_host'
* Replace 'port' with 'remote_port' and 'bound_port'
* Fixed a bug involving sockets not getting closed.
9 years ago
JustinAJ
3df3472079
Added safety check to Readable_String::span()
Added Reference_String::erase()
9 years ago
JustinAJ
ef4d05ab9e
Changed license to ISC license.
Added move constructor to ArrayList.
9 years ago
JustinAJ
2f2b11a19f
Fixed numerous minor errors discovered while attempting to compile on linux (support not yet restored).
9 years ago
JustinAJ
4d20ab6430
Added additional operator+ functions to String classes.
9 years ago
JustinAJ
b8bd29d055
Added missing nullptr assignment in TokenizeResult::erase().
9 years ago
JustinAJ
c9d988e87b
Fixed an error in modes parsing which caused infinite looping (previously unnoticed due to strings containing a null terminator).
9 years ago
JustinAJ
2da95b3b90
Fixed naming error in previous commit
9 years ago
JustinAJ
7e16ef2400
Added erase() to TokenizeResult.
9 years ago
JustinAJ
028982479e
TokenizeResult assignment/move operators now free old buffers (memory leak fix).
9 years ago
JustinAJ
b6f9ced59a
Added assignment and move operators to TokenizeResult
9 years ago
JustinAJ
99af85f626
Added getToken() to TokenizeResult.
9 years ago
JustinAJ
7ef60a0d2f
String_Type:
* setBufferSize() and setBufferSizeNoCopy() moved from protected to public.
* Added capacity()
9 years ago
JustinAJ
629ffccfea
Added tokenize() functions to Readable_String and various subclasses.
General fixes to CString.
9 years ago
JustinAJ
799730cc49
Incremented version number
9 years ago
JustinAJ
5a45d44a50
Database:
* Improved const correctness
* Added missing constructors and destructor.
* Added missing fclose() in process_file
9 years ago
JustinAJ
22637491b6
Correction to previous commit
9 years ago
JustinAJ
6cc2a14859
Some optimizations
Forgot to update copyright year in previous commit.
9 years ago
JustinAJ
b7a31fa222
Added IRCITALICIZE and IRC::italicize.
9 years ago
JustinAJ
de74e2fb57
SecureSocket:
* SSLdata_ is no longer destroyed and created in closeSocket().
* Adjusted handling of SSL context and method in initSSL() to prevent memory leaks.
* The above changes prevent a bug where SSL certificates were lost after closeSocket() was called.
10 years ago
JustinAJ
5bb6f9e45f
Added User-Defined literals for string types.
Removed useless empty-string references.
Reworked STRING_LITERAL_AS_STRING and STRING_LITERAL_AS_NAMED_STRING to use user-defined literals
Marked STRING_LITERAL_AS_STRING and STRING_LITERAL_AS_NAMED_STRING as deprecated -- Probably won't actually remove until I find a decent way to handle string literal concatenation.
10 years ago
JustinAJ
69acccc2f2
Added erase() to String_Type.
Added concatentation operators and constructors for various String classes.
10 years ago
JustinAJ
75185185f1
Added isNotEmpty() to Readable_String.
Modified instances of size() == 0 and size() != 0 to isEmpty() and isNotEmpty(), as appropriate.
10 years ago
JustinAJ
58f5ca6d84
Fixed bug in String_Type::replace().
Added static_cast in Socket::accept() (disable warning).
10 years ago
JustinAJ
cff825f7fe
Added JUPITER_VSCWPRINTF macro; replaced some vswprintf() calls as appropriate.
10 years ago
JustinAJ
7c35d7dcd0
Added macro JUPITER_VSCPRINTF; replaced some vsnprintf() calls with JUPITER_VSCPRINTF.
10 years ago
JustinAJ
7c27370e4f
Improved Socket::accept():
* Now strictly uses IP-version-abstract functions again.
* Should (again) be future proof (though at a slight hit in performance).
10 years ago
JustinAJ
7e7dca8e27
Improved old code in connect() and bind().
10 years ago
JustinAJ
3612c3f6cb
Fixed bug in Socket::accept() when port is assigned.
10 years ago
JustinAJ
a5f0625753
Jupiter::Socket:
* Renamed bindToPort() to bind()
* Renamed connectToHost() to connect()
* Adjusted classes as necessary
Updated some copyright years
Incremented JUPITER_VERISON for release.
10 years ago
JustinAJ
4e318425f1
Renamed Socket::acceptConnection() to Socket::accept().
Socket::accept() now assigns an incoming connection's IP address to hostname, as well as its port to port.
Explicitly labeled some functions in SecureSocket as "override".
10 years ago
JustinAJ
2896b93024
Added move assignment operators to sockets.
10 years ago
JustinAJ
d8dd8dea54
Fixed some off-by-one errors
10 years ago
JustinAJ
95bc71a5f6
Updated to Visual Studio 2015 RC1
* Fixed some warnings
* Disabled some warnings
* Fixed std::basic_string related errors
OpenSSL is now dynamically linked
Hid Jupiter::Database's private members
10 years ago
JustinAJ
ed69545cf0
Added missing documentation (woops)
10 years ago
JustinAJ
4300bb47bc
DataBuffer:
* Removed some debug lines
* Added FILE *interfacing functions:
** Added peek_from() functions
** Added pop_from() functions
** Added copy_to() functions
** Added push_to() functions
10 years ago
JustinAJ
d8233af4a7
Removed debug line.
10 years ago
JustinAJ
f7bd819e5f
Jupiter::String_Type:
* Added more replace() functions
* Added another remove() function
* Added a processEscapeSequences() function
Jupiter::Shift_String_Type:
* Added slight optimization for new remove() function
10 years ago
JustinAJ
1faf633100
Added FILE pointer support to Jupiter::DataBuffer
Minor fix in Jupiter::SLList
10 years ago
JustinAJ
95e4c5c826
Added Jupiter::DataBuffer and appropriate specializations
10 years ago
JustinAJ
b7067a6ff0
Incremented build number.
10 years ago
JustinAJ
2cd14a3b5b
Fixed bug in String_Type::replace().
10 years ago
JustinAJ
2ec8cc41a1
Added Jupiter::remove() functions for removing sections.
10 years ago