Jessica James
2d834a64a6
Minor fix to previous commit.
9 years ago
Jessica James
72a1b6c758
Added 'capture' virtual function to 'String_Type'; implemented 'capture' function in 'Shift_String'.
9 years ago
Jessica James
5e34f3d750
added some '_alloc' versions of 'Socket::resolveHostname' which do NOT use a static memory buffer.
9 years ago
Jessica James
5620679e80
Single-character values in HTML get forms are now processed correctly when at the end of the query string.
9 years ago
Jessica James
6b8857178a
Removed debug log
9 years ago
Jessica James
de16603f51
Squished some bugs.
Reduced default Socket buffer size from 4096 to 512.
9 years ago
Jessica James
ba1dc2c0ba
The destructors in Readable_String and String_Type are now declared as virtual.
Corrected some missing/extra end-lines in the HTTP response header.
9 years ago
Jessica James
1df5bee1d4
Improved const-correctness.
9 years ago
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
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