Thad House
c3f7c85f8a
Adds wpi GetHostname function ( #25 )
2017-08-27 21:35:34 -07:00
Thad House
5d403a7b49
Makes an empty stringref have a valid Data pointer ( #28 )
...
Now acts similar to std::string, where an empty construction string is valid.
2017-08-26 10:04:11 -07:00
Thad House
8416b4e42c
Add default parameter to StringRef to allow null termination on lengthed strings. ( #27 )
2017-08-23 21:02:11 -05:00
Peter Johnson
68501759fa
tcpsockets: Don't pull in platform-specific headers in headers. ( #26 )
...
This pollutes the namespace for all users of these headers.
This is particularly an issue on Windows.
2017-08-23 01:27:19 -05:00
Peter Johnson
fa7d5bc023
Add UidVector (used in both ntcore and cscore Notifier). ( #22 )
2017-08-14 22:58:11 -07:00
Peter Johnson
855df5d679
raw_mem_istream: Add StringRef constructor.
2017-08-13 12:18:19 -07:00
Peter Johnson
c8d9cc7e5b
Add filename constructor to raw_fd_istream.
2017-08-13 12:18:19 -07:00
Peter Johnson
1c1fbf14cf
Import LLVM openFileForRead and openFileForWrite.
2017-08-13 12:18:19 -07:00
Peter Johnson
7d9e6b7e22
Move ReadLine into raw_istream class as getline. ( #20 )
2017-08-13 00:56:35 -07:00
Peter Johnson
17b5cace5b
Base64: Add raw_ostream and SmallString interfaces. ( #19 )
2017-08-13 00:55:56 -07:00
Peter Johnson
7e011bda6f
Add HTTP utilities. ( #7 )
...
Imported from cscore.
2017-08-06 23:28:21 -07:00
Peter Johnson
8418c39120
Add Path and Twine components from LLVM. ( #10 )
2017-08-06 23:26:42 -07:00
Peter Johnson
25c8e873d0
TCPConnector: Add method to connect to server in parallel. ( #6 )
...
This substantially speeds up connection times compared to sequentially
trying to connect to each server in round-robin fashion.
2017-08-03 16:45:42 -05:00
Peter Johnson
301442ee43
Add json support to wpiutil.
...
This is a modified version of https://github.com/nlohmann/json .
It's been moved into the wpi namespace as many of the changes are not
compatible. The amount of template code has been significantly reduced,
enabling many functions to be moved out-of-line, and for the result to
build on older compiler versions (in particular GCC 4.8).
2017-07-28 21:55:03 -07:00
Peter Johnson
436ed4d1e3
Implement comparison operators for llvm::StringMap.
2017-07-28 21:55:03 -07:00
Peter Johnson
9385d1b6d8
GetJavaStackTrace: Provide llvm::StringRef excludeFuncPrefix. ( #3 )
...
This is a bit cleaner to use than the templated version (many compilers
have issues with templating on static strings, for example).
2017-07-28 18:08:54 -07:00
Peter Johnson
b90653f3e3
Logger: Add def_func and min_level constructors. ( #2 )
2017-07-28 18:08:31 -07:00
Thad House
1243cf04ea
Adds new build system to repo ( #1 )
2017-07-28 07:29:49 -07:00