Commit Graph

14488 Commits

Author SHA1 Message Date
csoler
ad2c4c506f
Merge pull request #1862 from b1rdG/patch-1
Expose JSON API DistantChatConnexion methods
2020-04-19 17:58:29 +02:00
csoler
02e939ac8f
replaced a bunch of explicit icons, mostly in abstract items models, by cached ones 2020-04-19 17:41:13 +02:00
defnax
70975b30d9 Display the avatar for the Wire author
Display the avatar for the Wire author
2020-04-19 16:09:42 +02:00
csoler
c84016c3b0
force Qt to use implicit data sharing in icons and pixmaps by using our own cache, and apply this to GxsChannelPostItem 2020-04-19 13:10:30 +02:00
Phenom
c0ce5c7088 Fix SIGSEGV on RsThread::start
mTid could be null while pError is null too.

This happens to me always with "gxs integrity".
2020-04-19 11:24:57 +02:00
Phenom
b529de29e6 Add Ability to undock a chat lobby to a window. 2020-04-18 15:37:54 +02:00
csoler
2a046eacb3
have GxsChannelPostItem only keep a copy of the group meta data instead of the full group data to save memory 2020-04-18 13:45:55 +02:00
sehraf
f19d933ff1
Partially revert bea6769a4e.
Currently the log is flooded with messages about "unkown" packets which are actually just deprecated ones. Add back the code to gracefully handle them (= delete them).
2020-04-18 11:45:35 +02:00
b1rdG
d100e53470
Improve parameter description 2020-04-17 22:09:40 +00:00
b1rdG
d265e61b06
Expose JSON API closeDistantChatConnexion and initiateDistantChatConnexion 2020-04-17 21:56:58 +00:00
csoler
27bbd50f1f
Merge pull request #1860 from csoler/v0.6-ImprovedGUI_5
fixed bug causing forums to collapse when browsing messages
2020-04-17 23:51:32 +02:00
csoler
678bcf5830
improved efficiency of channel posts loading 2020-04-17 23:23:59 +02:00
defnax
519fb01536 Added icons for create & post to pulse
* Added icons for create & post to pulse
* Changed Subscribe strings to Follow/Unfollow
* Added Label for Follow list
2020-04-17 21:57:44 +02:00
csoler
27f2a191c8
Merge pull request #1830 from defnax/removing-some-default-stylesheet
Removing some default stylesheet froms Messages & ChatWidget & icon changes
2020-04-17 17:16:18 +02:00
csoler
e351b0353d fixed bug causing forums to collapse when browsing messages 2020-04-17 17:12:23 +02:00
csoler
fa8968797c
added some tests to insertGroupData() to avoid inconsistent calls 2020-04-16 21:35:57 +02:00
csoler
ac02b68b34
first step of partial channel loading: only load all posts from meta data 2020-04-15 21:55:16 +02:00
csoler
b03ddda6c3
Merge pull request #1858 from csoler/v0.6-ImprovedGUI_4
attempt to fix bug in forum search
2020-04-15 20:10:51 +02:00
csoler
d31f5d1159
attempt to fix bug in forum search 2020-04-15 11:31:26 +02:00
csoler
915e197223
Merge pull request #1857 from csoler/v0.6-GxsDbFix
Quick fix to allow plugin loading
2020-04-15 11:09:05 +02:00
csoler
59508d4c7e
fixed plugin loading 2020-04-14 21:38:52 +02:00
csoler
05e3ab9dcd
Merge pull request #1854 from PhenomRetroShare/Fix_ForumMarkAllAsRead
Fix Forum Mark All As Read.
2020-04-14 21:22:41 +02:00
csoler
1d875d13fa
Merge pull request #1855 from PhenomRetroShare/Fix_MessageDeleteButton
Fix Message Delete Button.
2020-04-14 21:11:03 +02:00
csoler
87790fe82b
Merge pull request #1856 from PhenomRetroShare/Fix_HideRSImageBlockWidgetWhenChangingForumPost
Hide RSImageBlockWidget when changing Forum Post.
2020-04-14 21:08:51 +02:00
Phenom
92b4097fe5 Hide RSImageBlockWidget when changing Forum Post. 2020-04-14 16:13:51 +02:00
Phenom
69a0fa64da Fix Forum Mark All As Read.
Now only mark changed post to reduce DB access.
2020-04-14 14:32:53 +02:00
Phenom
2dc2b3598d Fix Message Delete Button.
Now, frame is cleared and next message selected.
2020-04-14 14:29:37 +02:00
Gioacchino Mazzurco
f54fb046e4
Use a a loop instead of std::trasform as suggested by Cyril 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
37854c8f23
Fix compiler error on 32bit platforms 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
7d388c3090
Solve non compatible 32/64bit file handle API 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
2a369cb785
Fix noisy compiler warning 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
a4950aca66
Safer checks in type serializer 2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
0c3fd6f27c
Explicit type as requested by Cyril 2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
b701ca8da3
Keep 10 extra unassigned slots for event types
Proper error reporting + cruft removal
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
76d492b4aa
Add forgot authorship in rsbase64* 2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
05f65e9211
Fix missing paramether direction in Doxygen doc 2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
13e0179812
Readd struct disappeared in rebase + fix warning 2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
612d47908d
Fix JSON API breakage introduced in cf7a77e512 2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
8cb46e5937
Fix compilation on Android arm64 2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
7d1efa7ed9
Fix compiler warnings 2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
dc9ba74bdd
Add missing postToObjcted in RsGxsUpdateBroadcast
Deprecate RsGxsUpdateBroadcast each service should handle its own event
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
4c0baa1ec3
Fix JSON API event handler registering behavior
As a bonus the behaviour is now homogeneous between C++ API and JSON API
Fix a bunch of compiler warning
RsEvents implementation is now safer
mHandlerMaps size is known at compile time, so use an std::array instead
  of vector
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
ce5f5faa97
Fix Android compilation after rebase on master 2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
b42c0410f1
Expose pgpIdFromFingerprint to JSON API
+ missing explicit in one paramether costructor
2020-04-14 12:17:04 +02:00
Gioacchino Mazzurco
9d325e3d17
Fix mail in rsjsonapi.h copyright header 2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
0d1524aa12
Fix crash due to RsChatAvatarItem uninitialized pointer
Caught signal 11 (SIGSEGV)
stack trace:
retroshare( 0xbbd2da)[0x558ccf46a2da]
retroshare(CrashStackTrace::abortHandler(int) 0xeb)[0x558ccf471c5c]
/lib64/libc.so.6( 0x38f80)[0x7f6ef6facf80]
/lib64/libc.so.6(realloc 0x54)[0x7f6ef6fffef4]
retroshare(RsTypeSerializer::RawMemoryWrapper::serial_process(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&) 0x5d4)[0x558ccfcddad0]
retroshare(std::enable_if<std::is_base_of<RsSerializable, RsTypeSerializer::RawMemoryWrapper>::value, void>::type RsTypeSerializer::serial_process<RsTypeSerializer::RawMemoryWrapper>(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&, RsTypeSerializer::RawMemoryWrapper&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0x9d)[0x558ccfb3da66]
retroshare(RsChatAvatarItem::serial_process(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&) 0x84)[0x558ccff90ba6]
retroshare(RsServiceSerializer::deserialise(void*, unsigned int*) 0x403)[0x558ccfcd96e9]
retroshare(RsSerialiser::deserialise(void*, unsigned int*) 0x38e)[0x558ccfb5a1a8]
retroshare(pqiSSLstore::readPkt(RsItem**) 0x3f9)[0x558ccfad329f]
retroshare(pqiSSLstore::GetItem() 0xbb)[0x558ccfad2d9f]
retroshare(pqiSSLstore::getEncryptedItems(std::__cxx11::list<RsItem*, std::allocator<RsItem*> >&) 0x3e)[0x558ccfad2c26]
retroshare(p3Config::loadAttempt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<RsItem*, std::allocator<RsItem*> >&) 0xf8)[0x558ccfab20d0]
retroshare(p3Config::loadConfig() 0xeb)[0x558ccfab1d69]
retroshare(p3Config::loadConfiguration(t_RsGenericIdType<20u, false, (RsGenericIdType)2>&) 0x1c)[0x558ccfab1c7c]
retroshare(p3ConfigMgr::loadConfig() 0x97)[0x558ccfab17f3]
retroshare(p3ConfigMgr::loadConfiguration() 0x18)[0x558ccfab1758]
retroshare(RsServer::StartupRetroShare() 0x4407)[0x558ccfb02fab]
retroshare(main 0x17e2)[0x558ccf46d291]
/lib64/libc.so.6(__libc_start_main 0xeb)[0x7f6ef6f97e9b]
retroshare(_start 0x2a)[0x558ccf438c9a]
D 1585687209 void RetroDb::closeDb() sqlite3_close return: 0
D 1585687209 void RetroDb::closeDb() sqlite3_close return: 0
Memory still in use at end of program: 24776 bytes.
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
0187bf2f2f
Suppress eccessive VLQ debugging 2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
d7f23ce21c
Deprecate unreliable Channels features
Fix licensing years
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
198fa7d8bc
RsFiles::parseFilesLink support old link formats 2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
8b4fcbe9e0
Remove unused constant from rsfiles.h 2020-04-14 12:17:03 +02:00