Nils Maier
|
bf5a940ed4
Define a type for signal handlers
|
il y a 12 ans |
Nils Maier
|
79fcafc31f
Win: Use SetConsoleCtrlHandler for SIGINT/SIGTERM
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
7e6db8d801
Use std::unique_ptr instead of array_ptr
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
74d6d64271
Use std::unique_ptr for MessageDigest
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
da7400ef5c
Return std::unique_ptr member as const ref
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
2761301dfb
Rewrite util::divide
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
b364c2436b
toUpper, toLower: Let compiler copy src
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
10cdc59297
Remove vbegin and vend in favor of std::begin and std::end
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
50dcd6394c
Use std::unique_ptr instead of std::shared_ptr
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
07d270c87e
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
|
il y a 12 ans |
Nils Maier
|
b7ef53b13d
OSX (now) needs signal.h for sigaction
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
0fa92911d7
util.cc: Include only signal.h for opensolaris build
|
il y a 12 ans |
Nils Maier
|
8aa1db682b
Check for sys/signal.h and/or signal.h
|
il y a 12 ans |
Nils Maier
|
62f842579d
Fix bustage on OSX with ./configure CC=cc CXX=c++ (clang)
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
61665d2c26
Set sa_mask when setting signal handler
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
8e3ae3b76c
Use _exit() instead of exit() where appropriate
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
6a976a4118
Accept k and m as well as K and M in util::getRealSize()
|
il y a 12 ans |
Tatsuhiro Tsujikawa
|
b017e80438
Changed threshold of using upper unit for abbrevSize
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
b9da9d4ed3
Use 64 bits random bytes as GID
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
4fdd5da27d
Compact readout when more than 1 simultaneous downloads are going on
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
2ee4361848
Removed unused static function util::parseParam
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
31189b1222
Made return type of util::parse_content_disposition ssize_t
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
49e9f66c16
Use len formal parameter of util::parse_content_disposition
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
f60b956a48
Removed always-true condition
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
118aed9c24
Content-Disposition parser conforming to RFC 6266.
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
8b0c701266
Removed trailing spaces
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
3258614033
Removed *Handle typedef
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
8fc5cdea02
Removed unused functions
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
89f18dde85
Use nothrow version of parseInt, parseUInt and parseLLInt
|
il y a 13 ans |
Tatsuhiro Tsujikawa
|
10a68061f7
Code cleanup
|
il y a 13 ans |