Jessica James
1b697ec73a
Plugin::OnRehash() now calls config.reload().
9 years ago
Jessica James
b990d5d27f
Jupiter::Plugin:
* Added per-plugin configuration files
* Reworked initializataion
* Plugin management functions moved into Jupiter::Plugin as static functions.
9 years ago
Jessica James
f329e84297
Minor config change
9 years ago
Jessica James
87f1b47149
Added functions 'Jupiter_asHex_upper' and 'Jupiter_asHex_lower'
9 years ago
Jessica James
2a4f67fc1c
added 'free_result' boolean to HTTP::Content
9 years ago
Jessica James
e656b6f6ba
Fixed buffer splitting and cleaned up some code.
9 years ago
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
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
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
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
10 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