Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
26 docs/ChangeLog.txt
@@ -1,3 +1,29 @@
+04/12/2011 - Changes from 2.10.13 to 2.10.14
+ * Removed an unneeded 10.4 test from browserplus.js
+ * Fix a build signing script bug for ruby 1.9
+
+04/06/2011 - Changes from 2.10.12 to 2.10.13
+ * Remove DnD support from Chrome 10 on windows.
+ * More build system refinements for multiple toolchains.
+ * Use gcc-4.2 for 10.5 builds rather than llvm, which
+ doesn't support gcov.
+
+03/25/2011 - Changes from 2.10.11 to 2.10.12
+ * Move build system to ruby 1.9
+ * Support building with either vs2008/vs2010 on Windows.
+ * Support building for 10.4/10.5 target on OSX.
+
+02/25/2011 - Changes from 2.10.9 to 2.10.11 (skipped 2.10.10?)
+ * Implemented v5 service install/uninstall hooks
+ * Fixes to v5 service api.
+ * Move to boost 1.45 for boost::filesystem
+ * Add IE9 / Firefox4 / Titanium support
+ * Permissions bundle enhancements (autoUpdatePermissions, domainPermissions)
+
+11/10/2010 - Changes from 2.10.9 to 2.10.10
+ * Fix Windows npapi plugin to not use static ctors for forced
+ breakpoint list. Windows has issues with static ctors.
+
10/06/2010 - Changes from 2.10.7 to 2.10.8
* Add support to ServiceRunner for JIT debugging and breakpoints
View
17 src/bins/browserpluscore/Daemon/BPDaemon.cpp
@@ -282,15 +282,10 @@ BPDaemon::run()
::exit(bp::exit::kDuplicateProcess);
}
-#ifdef DEBUG
// delay logging until here. don't want
// daemons which shutdown due to DaemonLock
- // to cream logs. for release builds,
- // logging isn't setup until after we've
- // checked the killswitch (in case there's
- // a vulnerability in logging).
+ // to cream logs.
setupLogging(m_argParser, m_logLevel, m_logFile, m_configReader);
-#endif
setupErrorHandling();
@@ -529,16 +524,6 @@ BPDaemon::startup()
RequireLock::initialize();
-#ifndef DEBUG
- // delay logging until here. don't want
- // daemons which shutdown due to DaemonLock
- // to cream logs. for release builds,
- // logging isn't setup until after we've
- // checked the killswith (in case there's
- // a vulnerability in logging)
- setupLogging(m_argParser, m_logLevel, m_logFile, m_configReader);
-#endif
-
setupServiceRegistry();
bool deprecated = PermissionsManager::get()->isOSPlatformDeprecated();
View
6 src/libs/bputils/src/Utils/bpfile.cpp
@@ -1847,7 +1847,8 @@ openReadableStream(ifstream& fstream,
int flags)
{
if (fstream.is_open()) {
- BPLOG_WARN_STRM("openReadableStream, stream already open");
+ BPLOG_WARN_STRM("openReadableStream(" << nativeUtf8String(path)
+ << "), stream already open");
return false;
}
#ifdef WIN32
@@ -1856,7 +1857,8 @@ openReadableStream(ifstream& fstream,
fstream.open(nativeString(path).c_str(), ios::in | (_Ios_Openmode) flags);
#endif
if (!fstream.is_open()) {
- BPLOG_WARN_STRM("openReadableStream, stream open failed for " << path);
+ BPLOG_WARN_STRM("openReadableStream(" << nativeUtf8String(path)
+ << "), stream open failed");
return false;
}
return true;
View
6 src/libs/bputils/src/Utils/bpstrutil.cpp
@@ -30,6 +30,7 @@
#include "bpstrutil.h"
#include "bperrorutil.h"
+#include "BPLog.h"
#include <algorithm>
#include <ios>
@@ -403,11 +404,15 @@ bool
loadFromFile(const boost::filesystem::path& path, std::string& sOut)
{
if (!bp::file::isRegularFile(path)) {
+ BPLOG_DEBUG_STRM(bp::file::nativeUtf8String(path)
+ << " not a regular file");
return false;
}
std::ifstream ifs;
if (!bp::file::openReadableStream(ifs, path, std::ios::binary)) {
+ BPLOG_DEBUG_STRM("failed to open readable stream for "
+ << bp::file::nativeUtf8String(path));
return false;
}
@@ -426,6 +431,7 @@ storeToFile(const boost::filesystem::path& path, const std::string& sIn)
{
std::ofstream ofs;
if (!bp::file::openWritableStream(ofs, path, std::ios::trunc | std::ios::binary)) {
+ BPLOG_DEBUG_STRM("failed to open writable stream for " << bp::file::nativeUtf8String(path));
return false;
}
ofs << sIn;

No commit comments for this range

Something went wrong with that request. Please try again.