Commit Graph

77 Commits (5d23e88c16511e3c263d6360b04a2a874500fb1e)

Author SHA1 Message Date
gabime 5d23e88c16 astyle 9 years ago
gabime 6d8efa8d7f store thread_id in tls 9 years ago
gabime 343904b56d add missing include to widnows _getpid 9 years ago
gabime cf73f02eaf pid support (added the %P option to formatter) 9 years ago
gabime e12916c070 Fixed issue #317 (Build error on raspberry pi) 9 years ago
osx2000 3cd497ee95 extended conditional compilation to __SUNPRO_CC 9 years ago
Guo Xiao 9b218d4d12 Convert off_t to size_t 9 years ago
amir zamani 811eeef7a6 update os.h to fix filesize() on older win32
_fstat() always fails under older 32bit WinXP/Win2003 targets.

_filelength() just works for both WinXP SDK and later Win7+ 32bit targets.
9 years ago
Hugh Wang f2c9692438 Fix compilation on Android. 9 years ago
gabime b13735dc22 astyle 9 years ago
gabime 20cb73e9da disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG ) 9 years ago
Nazım Can Bedir 097ba5a359 Add basic support for Solaris. 9 years ago
gabime e556daebc3 better support for thread id in FreeBSD 9 years ago
gabime e7debaacd7 astyle 9 years ago
Tony Narlock 98af71c585 Add FreeBSD compatibility defs
fix some linux-isms for spdlog on freebsd systems

- FreeBSD uses plain-old ``stat`` (not ``stat64``)
- ``errno_str``'s else requires GNU extensions, not available by default
  on FreeBSD. The one used by apple systems is most correct
9 years ago
gabime 36ba06a75c cosmetic fix in utc_minutes_offset when throwing 9 years ago
gabime 74aede0c66 better support for file size in 64 bits 9 years ago
gabime 730f0e02a6 better support for file sizes in 32/64 bits 9 years ago
gabime b2c40fcedf Fixed issue #156 (use stat to check file existance under osx as well( 9 years ago
Gabi Melman 28ebdad367 Update os.h
fixed issue #246
9 years ago
gabime 1ac68e399a Fixed issue #245 9 years ago
gabime 8e0892fa31 astyle 9 years ago
gabime c5c6baad74 Added errno description to sdlog exception strings 9 years ago
Gabi Melman 5202a7806f Merge pull request #210 from GreatFruitOmsk/master
Fix throwing exception if DYNAMIC_TIME_ZONE_INFORMATION fails
9 years ago
gabime 38c0ee018b astyle 9 years ago
gabime 80a432e646 cleaned common.h and moved some code around 9 years ago
gabime 10d5292bbb better support for custom eol 9 years ago
Kirill Leyfer 6603d5e31f Fix throwing exception if DYNAMIC_TIME_ZONE_INFORMATION fails under windows. 9 years ago
gabime 0d26359856 astyle 9 years ago
gabime 19dae96985 wchar filenames support - minor improvements 10 years ago
unknown 113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111 10 years ago
gabime 495ecaeaee astyle 10 years ago
gabime 12f6fd07e0 formatting 10 years ago
gabime cd90e3911e fix issue #189 spdlog redefines max as a preprocessor macro 10 years ago
Kevin M. Godby 077c3095eb Added missing standard header includes. 10 years ago
Kevin M. Godby 196689f720 Fixed header include problems. 10 years ago
gabime c7864ae5dc throw exception if DYNAMIC_TIME_ZONE_INFORMATION fails under windows instead of returning -1 10 years ago
Andrey Glebov 04ce6e5feb - fixed false error (returning -1) in time zones without daylight saving (checking against TIME_ZONE_ID_INVALID instead of 0)
- accounts for daylight saving only when tm::tm_isdst is true
- accounts for standard time offset ([DYNAMIC_]TIME_ZONE_INFORMATION::StandardBias) in time zones that need it
10 years ago
gabime a1e25cdb28 revert support for monotonic clock - it is not faster than realtime 10 years ago
Sergey Kovalevich 583ca02ef9 Added CLOCK_MONOTONIC trick 10 years ago
gabime d7f1932e10 cygwin/mingw support fix 10 years ago
gabime d58432ff56 bugfix 10 years ago
gabime a9fb96e088 1. Fixed file_helper::exists() bug under windows which returned false in some circumstances
2. Improved file_helper::exists() performance under linux to use stat sys call
3. Added unit tests
10 years ago
gabime 8c38b4ee9e MIT license 10 years ago
gabime 0f76db880e astyle 10 years ago
yaoyuan1216 1b3946cf65 Replace GetDynamicTimeZoneInformation to GetTimeZoneInformation. 10 years ago
Alexander Shishenko 0170dfdc7b
Renamed "Windows.h" to "windows.h" for building spdlog on MinGW using case-sensitive file system. 10 years ago
Ruslan Baratov 8bb4b831c4 Fix Android build 10 years ago
gabime cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines 10 years ago
Artem Martynovich 787aa46693 Disable usage of wchar_t in tests. 10 years ago