fix a font issue with qt4.x under yosemite
Merge pull request #328 from haiwen/fix_mac_font_issue_under_yosemite

fix a font issue with qt4.x under yosemite
Update version to 4.0.2.
apply minor improvements on the words of coments
add initial support for dropping file through repo tabs

- copy the dropped file to the worktree if the repository is synced
- add progressdialog for the mainwindow uploading
- don't bother the user if he (or she) cancels the uploading task
- support encrypted repos now
copy task is assigned to another thread (from global threadpool)
update translations
[filebrowser] auto upload if cached files changed
refresh file browser dialog when file auto updated
get_repo_list can be NULL when no local repos yet
Merge pull request #319 from haiwen/drop_file_through_repo_tabs

add initial support for dropping file through repo tabs
reverse using ServerRepo as FileNetworkTask ctor param
accept the drop event on repo tree view
Update version to 4.0.3.
update translations
fix a potential bug with readlink(2)

According to linux manual READLINK(2)

   readlink() places the contents of the symbolic link pathname in the buffer
   buf,  which has size bufsiz. readlink() does not append a null byte to buf.
   It will truncate the contents (to a length of bufsiz characters), in case
   the buffer is too small to hold all of the contents.

there is a situation that readlink returns bufsize when the path is long enough
, and in that situation we would write \0 to the invalid address buf[bufsize].
obviously it is not allowed.