Commit Graph

7860 Commits

Author SHA1 Message Date
Cyril Soler
296ffd2f2d Merge pull request #73 from AsamK/fix_tlv_deserialization
Fix subtle bug in tlv deserialization of TLV_TYPE_KEYSIGNATURETYPE
2015-09-01 20:53:28 -04:00
Cyril Soler
d2dc8deeaf Merge pull request #66 from AsamK/qmake_improvements_next
More qmake improvements
2015-09-01 20:49:57 -04:00
Cyril Soler
1713789917 Merge pull request #72 from PhenomRetroShare/Fix_WinCompil_libresapi_u_int_32_t
Fix Windows compilation of libresapi with error:
2015-09-01 20:45:02 -04:00
AsamK
3cfe69787f Fix subtle bug in tlv deserialization of TLV_TYPE_KEYSIGNATURETYPE
When using -O2, the variable currType is optimized out, so the
signature is added with the wrong sign type. Then when verifying the
data the signature is not found and verification fails.

The main sympton of this bug was receiving no more forum/channel posts.

Wit debug builds (-O0) this worked, that's why not every one was affected
by this.

This bug was introduced in 2012 (19e856c2a8)
2015-09-02 02:03:46 +02:00
Phenom
3e68741994 Fix Windows compilation of libresapi with error:
\libresapi\src\api\ForumHandler.cpp:108: erreur : 'u_int32_t' was not
declared in this scope
                 KeyValueReference<u_int32_t>
vis_msg("visible_msg_count", grp.mMeta.mVisibleMsgCount);
                                   ^
2015-09-01 22:49:15 +02:00
thunder2
c3fff39624 Fixed Windows compile 2015-09-01 22:49:08 +02:00
AsamK
dda8a49ef5 Add CONFIG+=NO_SQLCIPHER to travis config 2015-09-01 14:53:18 +02:00
AsamK
069b112135 Update README.md 2015-09-01 14:53:18 +02:00
AsamK
d116f40d6e Move openpgpsdk to common section of libretroshare.pro
It is the same for all platforms
2015-09-01 14:53:17 +02:00
AsamK
30d7aa3be3 Remove dependency on qt script, it's unused 2015-09-01 14:53:17 +02:00
AsamK
2be400e33e CONFIG shouldn't be reset at qmake call, use CONFIG+=… instead
With CONFIG=…, the default values of CONFIG are cleared, with qt4 this
doesn't seem to be a problem, but with qt5 the build fails.

CONFIG=staticlib in openpgpsdk.pro was added in 3caeb0ab7f
for OS X, but is not necessary on linux
2015-09-01 14:53:17 +02:00
AsamK
829c2f396e Move LIBS from gui/nogui linux section to libretroshare
remove -lglib-2.0 it's not needed:
was added in d8e327afcc to compile for arch,
but it compiles on arch now also without this
2015-09-01 14:53:17 +02:00
AsamK
846f7d0204 Make usage of sqlcipher explicit at compile time
Either the build fails if it is not available, or the user specifies
CONFIG+=NO_SQLCIPHER to build without it, even if it exists in the system.
2015-09-01 14:53:09 +02:00
Cyril Soler
4006b08093 Merge pull request #65 from AsamK/fix_qt46
Fix compile with qt < 4.7
2015-08-31 19:50:12 -04:00
AsamK
b43e0ab2e0 Fix compile with qt < 4.7
Reenable placeholder text for lobby name, not sure why it was disabled
2015-08-31 23:38:50 +02:00
AsamK
dca295143a Use CONFIG+=create_prl for libretroshare
Allows to specify all LIBS in libretroshare.pro so they don't also have
to be specified in gui/nogui.pro
2015-08-31 22:50:47 +02:00
AsamK
b9c174ba8f Add BIN_DIR variable to allow packagers to override it 2015-08-31 22:50:46 +02:00
AsamK
b66f466c7a Move all INSTALLS to the subproject they belong to
Allows installation of for example only retroshare-nogui, without
installing files only relevant for gui

$ qmake
$ make retroshare-nogui
$ make retroshare-nogui-install_subtargets
2015-08-31 22:49:46 +02:00
AsamK
e135e3441c Create retroshare.pri for common configurations in .pro files
So far it only contains the default values for installation paths
2015-08-31 21:09:28 +02:00
Cyril Soler
c844d37ada Merge pull request #63 from AsamK/lobby_gui_lag
Remove lobby gui lag
2015-08-31 14:11:45 -04:00
electron128
5d4e94c671 libresapi: add basic forum read api (patch from Chozabu) close #32 2015-08-31 19:44:15 +02:00
Cyril Soler
ef292faa22 Merge pull request #61 from PhenomRetroShare/Improve_ElidedLabel_Alignment_HTML
Improve ElidedLabel
2015-08-31 10:43:29 -04:00
AsamK
cfde9d303c Escape name before inserting in name changed message and in anchor info 2015-08-31 16:38:28 +02:00
AsamK
bd6bb8996b Improve performance of eventFilter in chat lobbies
- Only check the anchors if the visible content has actually changed
  by saving lastUpdateCursorPos and End
- Check notify first, before doing any work
- Simplify regexp as the anchors have a fixed format
- Remove unnecessary conversion to utf8 and back
2015-08-31 12:10:49 +02:00
AsamK
5f81d8efc8 Remove nick from anchor names, causes problems
- Nicknames that contain " could break the formatting
- Nicknames containing chars like < or > were converted to html entities
  by the QTextBrowser so the anchor was no longer identical with the
  anchor stored in the _listMsg list
2015-08-31 12:10:49 +02:00
Thunder
de92c06f0b Merge pull request #62 from hunbernd/qt5-fix
Qt5 fix
2015-08-31 12:05:08 +02:00
hunbernd
bd3f7f6d38 Removed limit on opacity setting with recent windows versions on BandwidthGraphDialog
Conflicts:
	retroshare-gui/src/gui/statistics/BandwidthGraphWindow.cpp
2015-08-30 22:53:38 +02:00
hunbernd
acc3e4bb62 Replaced Q_WS_ --> Q_OS_
Q_WS macros are not available in Qt5
Restores some functions in Options->General dialog that were not available under Qt5
2015-08-30 22:51:15 +02:00
defnax
d9fd60ee75 Moved Id Chooser to Tool Menu
Added a place holder text.
2015-08-30 03:48:45 +02:00
Phenom
f73ee2c769 Improve ElidedLabel
Now respect alignment and html text.
Html is shown as plain text, no html in QTextLine...
Test with:
retroshare://file?name=Test_ElidedLabel.7z&size=7330&hash=bd19f1a486d34d08e434ca4309cf4b8f7a436e9e
2015-08-29 21:06:36 +02:00
csoler
b11baa7a65 updated ubuntu changelog 2015-08-29 14:44:16 -04:00
Cyril Soler
a276986eba Merge pull request #60 from PhenomRetroShare/Fix_AllowChatTextFormatOption
Allow Chat Text Format Option working.
2015-08-29 14:22:31 -04:00
Phenom
88a6931758 Allow Chat Text Format Option working. 2015-08-29 19:27:03 +02:00
Cyril Soler
0b5b20d5ea Merge pull request #59 from AsamK/qmake_improvements
Qmake improvements
2015-08-29 09:37:47 -04:00
Cyril Soler
0409dd8030 Merge pull request #58 from AsamK/debian_make_install
Adapt debian/ubuntu package files to use "make install"
2015-08-29 09:34:21 -04:00
AsamK
21e99cf8d4 Use explicit dependencies instead of CONFIG += ordered
Makes inter-dependencies clearer and allows parallel build of
independent libs on multi-core systems, e.g. with:
$ make -j4
2015-08-29 13:12:57 +02:00
AsamK
f002310cf2 Remove libpegmarkdown from win32 retroshare-nogui build
It is only needed for gui
2015-08-29 13:12:57 +02:00
AsamK
2337b468e0 Specify plugins as plugins to qmake
This way only libPLUGIN.so is generated and not the versioned files
libPLUGIN.so.1.0.0
2015-08-29 13:12:57 +02:00
defnax
ecb5d93685 changed default color for the system chat bubble 2015-08-29 04:01:01 +02:00
AsamK
d51b4b2b67 Adapt debian/ubuntu package files to use "make install" 2015-08-28 22:48:20 +02:00
defnax
c07bef37a0 Fixed Create Lobby Dialog's window size 2015-08-28 16:40:40 +02:00
Cyril Soler
a45de1ddb3 Merge pull request #57 from csoler/v0.6-SignedLobbies
V0.6 signed lobbies
2015-08-28 00:14:24 -04:00
csoler
40bffc3042 fixed last GUI bugs for authed lobbies 2015-08-27 23:09:31 -04:00
csoler
6d01461c66 fixed a few GUI bits for non anonymous chat lobbies 2015-08-27 22:37:01 -04:00
defnax
627dcc01a0 Merge pull request #50 from chozabu/forum_additions
enable customisation of columns in forum thread widget
2015-08-28 02:01:15 +02:00
defnax
7270ba908a Merge pull request #56 from AsamK/distant_chat_history
Implement history for distant chat
2015-08-28 01:58:37 +02:00
AsamK
5dad1680e6 Implement history for distant chat
Uses the same history config as private chat
2015-08-28 01:29:34 +02:00
Cyril Soler
d7531b3dea Merge pull request #54 from cavebeat/coverity
travis/coverity tokens updated
2015-08-27 19:28:09 -04:00
Cyril Soler
92405128e6 Merge pull request #55 from AsamK/install_stylesheets
Install qss and chat stylesheets on Linux
2015-08-27 19:27:24 -04:00
AsamK
622e94223c Remove Thumbs.db files and add to .gitignore 2015-08-27 22:35:28 +02:00