Jessica James
0fba343102
permit_keep_alive is now true.
9 years ago
Jessica James
6be5c8578d
Added error handling for operation would block.
9 years ago
Jessica James
dbeac36e50
Socket:
* Replaced 'closeSocket' function with 'close' and 'shutdown' functions.
* Added 'isShutdown' function
9 years ago
Jessica James
8dccb82a3c
Minor bug fix in HTTP::QueryString
9 years ago
Jessica James
db7a6de700
HTTP::Server: Implemented remove() functions
9 years ago
Jessica James
1ec5c4bd38
Added 'HTTP::HTMLFormResponse', which provides functionality similar to 'HTTP::QueryString'
9 years ago
Jessica James
b05f0405f9
Added getFilename() to Jupiter::Database.
9 years ago
Jessica James
d6f8eef352
Moved HTTP::QueryString to header to solve linker issues.
9 years ago
Jessica James
6589cd28fd
Added HTTP::QueryString
9 years ago
Jessica James
73d555c31c
HTTP::Server:
* Renamed 'parameters' to 'query_string'
* Question mark ('?') preceeding query_string is no longer included in the query_string
* Fixed a naming collision warning
9 years ago
Jessica James
993a313b81
Incremented Jupiter version to 0.18
9 years ago
Jessica James
6e9525f3f5
Functions:
* Implemented 'isOctal' to go with 'isDecimal' and 'isHex'
* Implemented 'getHex', 'getDecimal', and 'getOctal' functions which are slightly more efficient than calling 'getBase' with a constant base input.
* Improved how netmask_table is implemented.
Removed some unused, dead, and inefficient code/functions.
General cleanup and improvements, so my eyes don't bleed as much when looking at functions I implemented several years ago.
9 years ago
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
Jessica James
b90fe2d346
Update LICENSE
9 years ago
Jessica James
6d424da920
Update CONTRIBUTING.md
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
b0923b2b12
Sockets now use a buffer, instead of a C-Style string.
Updated IRC::Client default address.
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
10 years ago
JustinAJ
6cc2a14859
Some optimizations
Forgot to update copyright year in previous commit.
10 years ago
JustinAJ
b7a31fa222
Added IRCITALICIZE and IRC::italicize.
10 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
6400a1542e
Fixed a bug in SLList<T>::remove().
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