free all GErrors returned from libsearpc
free the components of SeafileApplet when the program exits
eleminate memory leaks by the dynamically allocated na_mgr

valgrind log:

==4037== 238 (96 direct, 142 indirect) bytes in 1 blocks are definitely lost in loss record 2,403 of 2,896
==4037==    at 0x4C2B100: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4037==    by 0x646A3D0: QLibraryPrivate::findOrCreate(QString const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==4037==    by 0x646AB6C: QLibrary::setFileNameAndVersion(QString const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==4037==    by 0x60A59BE: q_resolveOpenSslSymbols() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x609D552: QSslSocketPrivate::ensureLibraryLoaded() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x609F918: QSslSocketPrivate::ensureInitialized() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x60971FB: QSslConfigurationPrivate::defaultConfiguration() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x6090AE8: QSslConfiguration::defaultConfiguration() (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x602D934: QNetworkRequest::sslConfiguration() const (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x6018332: QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*) (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x60154E3: QNetworkAccessManager::get(QNetworkRequest const&) (in /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6)
==4037==    by 0x49E813: SeafileApiClient::get(QUrl const&) (api-client.cpp:61)
==4037==
add a global menubar and docker menu on macosx platform
enable ci build on osx
fix some bugs in build.py
strip rgb profile from images to avoid libpng warnings
Merge pull request #375 from haiwen/fix-libpng-warnings

strip rgb profile from images to avoid libpng warnings
Clean up some defects

CID 83189 (#1 of 1): Uninitialized scalar variable (UNINIT)3.
uninit_use_in_call: Using uninitialized value info.readonly when calling RepoDownloadInfo.

CID 61502 (#1 of 1): Uninitialized scalar variable (UNINIT)8.
uninit_use_in_call: Using uninitialized value repo.group_id when calling
ServerRepo.
Update version to 4.0.5.
update translations
update translations (fix)
Merge pull request #376 from haiwen/cleanup_defects

Clean up some defects
Fix build script: ignore unwanted files
use qWarning instead of qDebug whenever possible
Merge pull request #377 from haiwen/fix_build_script

Fix build script: ignore unwanted files
Merge pull request #373 from haiwen/enable_ci_build

enable ci build on osx
fixed a bug when log file creation failed

1. handle the case when log folder creation failure
2. only set log handler after log file opened successfully
Merge pull request #379 from haiwen/handle-log-file-creation-failure

fixed a bug when log file creation failed
disable osx ci build temporarily

it looks like slow and unusable