Commit Graph

44 Commits

Author SHA1 Message Date
thunder2
026cadfe13 Fixed compile of FeedReader plugin 2020-11-08 23:03:09 +01:00
csoler
4124585b55
removed unused print methods in some RsItems since now print is handled by serializer 2020-02-29 12:14:37 +01:00
Phenom
b80d7cb5ae Fix Warnings for class 'RsGxsForumGroup' was previously declared as a
struct

../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:40:1:
warning: class 'RsGxsForumGroup' was previously declared as a struct [-
Wmismatched-tags]
class RsGxsForumGroup;
^
../../../trunk/libretroshare/src/retroshare/rsgxsforums.h:55:8: note:
previous use is here
struct RsGxsForumGroup : RsSerializable
       ^
../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:40:1: note:
did you mean struct here?
class RsGxsForumGroup;
^~~~~
struct
2019-02-14 23:15:54 +01:00
csoler
456845fc8c
fixed licenses in FeedReader 2018-11-11 14:24:46 +01:00
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
csoler
861dc165f7 switched VOIP to new serialization 2017-05-02 22:05:54 +02:00
csoler
cecd9a3368 merged upstream/master 2017-04-30 20:14:23 +02:00
csoler
e2d9152b22 moved converted serialisation files into new directory rsitems/, leaving serialiser/ for the serialisation classes 2017-04-18 21:11:37 +02:00
Phenom
76f7573659 Fix Clang warnings: comparison of array != a null pointer is always true
warning: comparison of array 'known_zones[i].tzName' not equal to a null
pointer is always true [-Wtautological-pointer-compare]
                        for (int i=0; known_zones[i].tzName != 0; i++) {
2017-04-17 21:58:19 +02:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
csoler
927f782bef pass over compiler warnings 2016-06-05 10:43:57 -04:00
sehraf
24b3da06ef add names to feedreader threads 2016-06-01 17:01:43 +02:00
thunder2
504bbc00f1 Fixed memory leak in p3FeedReaderThread::processXPath.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:39:05 +00:00
thunder2
ceb2825f83 FeedReader: Added check for forum author.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-09 18:03:09 +00:00
electron128
a78e80b9f8 fixed another x64 serialisation bug in FeedReader (see rev8396)(thanks to Eugene Tooms)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-08 12:20:17 +00:00
electron128
17a76071b6 attempt to fix FeedReader not saving config on Linux x64 (untested)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-08 07:56:21 +00:00
csoler
e9b9dce9f5 created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
thunder2
069e8e490a Enabled creating forum messages in FeedReader plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-24 22:40:29 +00:00
thunder2
31962ea0c5 FeedReader plugin:
- Added check of feed parent id in loadList
- Trimmed downloaded xml string to process xml strings with leading spaces

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-09 23:12:03 +00:00
csoler
71a02003be fixed compilation of FeedReader plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-23 20:48:02 +00:00
thunder2
cedbd051ac Deactivated code for old forum handling in FeedReader plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7091 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-04 22:06:33 +00:00
thunder2
76b3ccc1a5 Added service pointer for forums to the plugin interface.
FeedReader:
- Used the forums pointer from the plugin interface instead of the global pointer

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-03 15:05:48 +00:00
thunder2
dddc4356f1 Changes for Windows compile:
- removed some unnecessary libraries from retroshare_plugin.pri
- FeedReader
  - updated external libraries to libxml2-2.9.1 and curl-7.34.0
  - enabled ssl in libcurl
  - removed debug output

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6976 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-28 23:49:50 +00:00
thunder2
a497157110 FeedReader:
- added new setting to save the config in the background for slow systems
- fixed memory leak in p3FeedReader::saveList

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6349 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-01 21:16:46 +00:00
thunder2
ef49000b9a FeedReader:
- Added error handling to xml functions
- Added xslt transformation
- Added retransform of existing messages
- Redesigned preview dialog
- Enabled embed images for forum feeds
- Changed config format, switching back to an older version results in a loss of all data of the FeedReader

Added new base class RSPlainTextEdit with placeholder text.
New library libxslt needed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-22 00:11:43 +00:00
thunder2
13f2863569 FeedReeder:
- Fixed memory leak in xpath processing
- Stop long loops when closing the preview dialog or shutdown
- Added drag and drop to xpath lists in preview dialog
- Fixed save of xpaths lists

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6074 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-16 23:20:47 +00:00
thunder2
ddc4a37a93 FeedReader:
- Recalculate message count of the user notify when a feed with new items is deleted.
- Set deleted message to read and !new.
- Added test feed item in notify settings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-14 22:41:31 +00:00
thunder2
6f7c424b1f FeedReader:
- Fixed process of pubDate

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-11 16:33:16 +00:00
thunder2
3df3850655 FeedReader:
- Added favicon

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-10 22:51:04 +00:00
thunder2
edd8a2c0ec Added patch from AsamK
- Support link in attribute href of the link node, e.g. <link href="..." />

Support author in creator node

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-09 12:17:05 +00:00
thunder2
f488dbd15a Added new option for GxsForums and FeedReader - Open all forums/feeds in new tab.
Option=on (standard)
- no standard tab
- new tab by single click
- no menu entry "Open in new tab"

Option=off:
- standard tab (not closeable)
- open in standard tab by single click
- menu entry "Open in new tab"
- open new tab with middle mouse button


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6060 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-06 02:30:10 +00:00
thunder2
e099389528 FeedReader:
- Fixed crash when removing a feed displayed in the main tab.
- Fixed reading author of ATOM feeds.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-02 21:02:39 +00:00
thunder2
c44d10a6a1 FeedReader:
- Changed compare of node names to case insensitive. More feeds should be supported now.
- added ATOM format

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-02 20:18:42 +00:00
thunder2
4804f950af FeedReader
- fixed crash at startup
- added some toolbar icons
- added QTimer to message navigation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6052 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-28 00:42:27 +00:00
thunder2
0f26b85a88 FeedReader:
- Remove "sid=" from link
Moved stringToUpperCase and stringToLowerCase from rsinit.cc to util/rsstring.cc


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-22 21:01:45 +00:00
thunder2
13ac670eec Changed config type of the FeedReader. There was a conflict with general config.
Added warning in p3ConfigMgr::addConfiguration when a config type is used twice.
Removed checkbox for "Experimental Features" in general page without function.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-22 00:02:40 +00:00
thunder2
0a499634dd FeedReader:
- added notify in main window, systray icon and settings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-20 13:30:16 +00:00
thunder2
5f27f64ad3 FeedReader:
- enabled for Windows compile
- removed internal stylesheets
- added missing header for Linux compile

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6014 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-18 13:41:36 +00:00
thunder2
c7ed9c6df7 FeedReader plugin
- reserved service id
- reworked error codes
- added xpath manipulation and basic gui elements in preview dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-04 23:53:04 +00:00
thunder2
f51af0d4de FeedReader plugin:
- added new classes for XML/HTML parse and modify
- added basic error handling
- added new GUI for a preview and a tree to show the structure of the page (will be continued)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 21:35:11 +00:00
thunder2
148d1310a2 Added new button to open the link of the message in browser or copy the link of the message.
Added "RSS: " for the forum feeds.
Parse the feedburner:origLink in the rss feed.
Moved download functions to a new class CURLWrapper for easy use.
Added two new functions (currently only for local feeds for testing):
- embed images into the message (works for Qt 4.7 and higher)
- save complete web page

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-10 18:06:29 +00:00
thunder2
f710dba2c6 FeedReader plugin:
- fixed compile on Linux
- added compatibility with iconv

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-04 01:15:40 +00:00
thunder2
09b5d7a8c6 Added the first version of the FeedReader plugin.
Added a new method to RsPlugInInterfaces to stop the plugins at shutdown of RetroShare.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 13:17:53 +00:00