Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
96a2f23d
Unverified
Commit
96a2f23d
authored
Mar 22, 2019
by
Shinichiro Hamaji
Committed by
GitHub
Mar 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #419 from shinh/release-0-4-0
Release 0.4.0
parents
5c576f78
460ec1f5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
11 deletions
+27
-11
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog
ChangeLog
+15
-0
INSTALL.md
cmake/INSTALL.md
+1
-1
configure.ac
configure.ac
+1
-1
changelog
packages/deb/changelog
+6
-0
logging.h
src/windows/glog/logging.h
+3
-8
No files found.
CMakeLists.txt
View file @
96a2f23d
...
...
@@ -8,7 +8,7 @@ if (POLICY CMP0063)
cmake_policy
(
SET CMP0063 NEW
)
endif
(
POLICY CMP0063
)
project
(
glog VERSION 0.
3.5
LANGUAGES C CXX
)
project
(
glog VERSION 0.
4.0
LANGUAGES C CXX
)
set
(
CPACK_PACKAGE_NAME glog
)
set
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
""
)
...
...
ChangeLog
View file @
96a2f23d
2019-01-22 Google Inc. <opensource@google.com>
* google-glog: version 0.4.0.
* See git log for the details.
2017-05-09 Google Inc. <opensource@google.com>
* google-glog: version 0.3.5
* See git log for the details.
2015-03-09 Google Inc. <opensource@google.com>
* google-glog: version 0.3.4
* See git log for the details.
2013-02-01 Google Inc. <opensource@google.com>
* google-glog: version 0.3.3
...
...
cmake/INSTALL.md
View file @
96a2f23d
...
...
@@ -53,7 +53,7 @@ If you have Glog installed in your system, you can use the CMake command
cmake_minimum_required
(
VERSION 3.0.2
)
project
(
myproj VERSION 1.0
)
find_package
(
glog 0.
3.5
REQUIRED
)
find_package
(
glog 0.
4.0
REQUIRED
)
add_executable
(
myapp main.cpp
)
target_link_libraries
(
myapp glog::glog
)
...
...
configure.ac
View file @
96a2f23d
...
...
@@ -5,7 +5,7 @@
# make sure we're interpreted by some minimal autoconf
AC_PREREQ(2.57)
AC_INIT(glog, 0.
3.5
, opensource@google.com)
AC_INIT(glog, 0.
4.0
, opensource@google.com)
# The argument here is just something that should be in the current directory
# (for sanity checking)
AC_CONFIG_SRCDIR(README.md)
...
...
packages/deb/changelog
View file @
96a2f23d
google-glog (0.4.0-1) unstable; urgency=low
* New upstream release.
-- Google Inc. <opensource@google.com> Tue, 22 Jan 2019 21:00:26 +0900
google-glog (0.3.5-1) unstable; urgency=low
* New upstream release.
...
...
src/windows/glog/logging.h
View file @
96a2f23d
...
...
@@ -938,7 +938,8 @@ struct CompileAssert {
struct
CrashReason
;
// Returns true if FailureSignalHandler is installed.
bool
IsFailureSignalHandlerInstalled
();
// Needs to be exported since it's used by the signalhandler_unittest.
GOOGLE_GLOG_DLL_DECL
bool
IsFailureSignalHandlerInstalled
();
}
// namespace glog_internal_namespace_
#define LOG_EVERY_N(severity, n) \
...
...
@@ -1116,16 +1117,11 @@ namespace base_logging {
// buffer to allow for a '\n' and '\0'.
class
GOOGLE_GLOG_DLL_DECL
LogStreamBuf
:
public
std
::
streambuf
{
public
:
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\
n
'.
// REQUIREMENTS: "len" must be >= 2 to account for the '\n' and '\
0
'.
LogStreamBuf
(
char
*
buf
,
int
len
)
{
setp
(
buf
,
buf
+
len
-
2
);
}
// Resets the buffer. Useful if we reuse it by means of TLS.
void
reset
()
{
setp
(
pbase
(),
epptr
());
}
// This effectively ignores overflow.
virtual
int_type
overflow
(
int_type
ch
)
{
return
ch
;
...
...
@@ -1184,7 +1180,6 @@ GLOG_MSVC_POP_WARNING()
size_t
pcount
()
const
{
return
streambuf_
.
pcount
();
}
char
*
pbase
()
const
{
return
streambuf_
.
pbase
();
}
char
*
str
()
const
{
return
pbase
();
}
void
reset
()
{
streambuf_
.
reset
();
}
private
:
LogStream
(
const
LogStream
&
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment