Commit Graph

1613 Commits

Author SHA1 Message Date
thunder2
70f4846061 fixed compiling error of last commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2942 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 18:50:55 +00:00
defnax
d357459d96 set a default size for Links Cloud tree items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 18:09:35 +00:00
thunder2
a8c4b3b107 - moved the chat setting to the section [Chat]
- cleaned some comments of the settings classes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 18:02:51 +00:00
defnax
3e968b68c3 removed sectionGroup for Chat settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 10:48:21 +00:00
defnax
e981dffc8c redesigned SubFileItem Layout.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2938 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 23:21:32 +00:00
thunder2
42f728a483 removed call to :clone in refill of threads in ForumsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2937 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 21:42:18 +00:00
defnax
4380251c08 moved Post Button to header and fixed Subscribe Buttons Icon to not stretch the Button in cleanlooks style.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2936 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 21:30:56 +00:00
defnax
bea26895ef set minimum size for channel items to 22 for bether display and moved Post Button to top header
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2934 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 21:20:11 +00:00
defnax
daa363409f changed some stylesheet colors for Blogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2930 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 20:05:38 +00:00
defnax
ab0bc5ccf9 added display Blog logo's for BlogsDialog, and stylesheet color switch when its own, subscribed or public Blogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2929 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 18:10:48 +00:00
thunder2
84a48d2c80 fixed load and save of window state again, i used the wrong class, now it's ok
please delete following files if exist
- MainWindow
- MessengerWindow
- BandwidthGraph
- HelpBrowser

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 10:48:59 +00:00
defnax
7e409c0b79 fixed Mispelling in Wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2921 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 22:06:49 +00:00
csoler
5a65dabc09 - suppressed some errors in printf commands with uint64_t - apparently, the cap function in QRegExp takes a non const in some Qt versions. I had to copy the const parameter to a local variable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2918 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 20:06:04 +00:00
thunder2
48d2007f81 MessengerWindow::insertPeers:
- memory leak - return of takeTopLevelItem and takeChild are not deleted
- possible crash, when child has disappeared

fixed load and save of window state, i forgot to give the name of the window to the settings class

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 11:10:13 +00:00
defnax
93cd5e67f8 renaming Button string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2915 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 11:04:58 +00:00
csoler
5b119ca4ba Corrected typo, Replaced Ok Button by anabled Apply button in settings, suppressed double click action for download in Shared File lists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2914 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 09:54:21 +00:00
thunder2
9606dce758 removed QMenu*
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2912 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-15 18:31:16 +00:00
defnax
0ea28c37ce fixed some wrong spelling errors
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2911 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-15 13:47:19 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +00:00
defnax
91dde5b8b8 added [Chat]group category when store/load Chat settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2908 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 17:58:13 +00:00
defnax
24e4058bee store the font change on PeersDialog too
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2907 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 16:54:30 +00:00
defnax
07a9d1c0ae added to display channel logo's for each channel item's
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2906 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 16:33:35 +00:00
chrisparker126
26a808b3e7 added group icon support for blogs and channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2905 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 13:06:58 +00:00
defnax
47de2af50c added storing and loading Chat Font
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 12:42:31 +00:00
csoler
bed286030e suppressed weird characters at the beginnign of this file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2902 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 11:48:20 +00:00
thunder2
e8f5bb5167 PeersDialog: "QPixmap picture" not needed as member
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 11:17:19 +00:00
thunder2
84a87fa11b New methods for calculating the count of peers and messages. It should be faster than getting all data in std::list.
Now used in MainWindow.cpp, MessagesDialog.cpp and peerstatus.cpp

void p3Peers::getPeerCount (unsigned int *pnFriendCount, unsigned int *pnOnlineCount);
void p3Msgs::getMessageCount(unsigned int *pnInbox, unsigned int *pnInboxNew, unsigned int *pnOutbox, unsigned int *pnDraftbox, unsigned int *pnSentbox);


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 19:20:40 +00:00
defnax
e5667a915d fixed bug with ShareDialog loading
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 12:11:03 +00:00
defnax
604fd1872a fixed to add a new line when retroshare link is added
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 09:38:24 +00:00
thunder2
946d09cb72 Fixed crash and endles loop with refill in forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2892 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-12 22:23:05 +00:00
thunder2
b242b73f31 Memory leaks:
- ftController::copyFile -> buffer and file pointer leaks in case of error
- PeersDialog::insertSendList -> new QTreeWidgetItem for all online peers, this function is not ready yet
- PeersDialog::insertPeers -> gpg_item = new QTreeWidgetItem(0); in case of no more accept connection
- pqissl::reset -> missing SSL_free of ssl_connection

Missing return:
- IntroPage::nextId


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2891 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-12 20:10:22 +00:00
leander-256
faace1f322 Memory leak fix
Instantiate the smiley pop-up window (and all its buttons) only once.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-12 19:03:30 +00:00
leander-256
988c6c31f5 Fixes two problems in the current group chat:
- the parser fails to embed two links in the same sentence
- the parser can potentially put smileys in the middle of <a> tags

Solution:
Since the message is in HTML, it is parsed into a DOM tree, then that DOM tree
is traversed and only the text nodes are parsed (see HandleRichText.cpp for
details).

Bonus fixes:
- missing std:: for endl (which was falling back to its Qt counterpart)
- commenting useless code in PeersDialog::smileyWidgetgroupchat()
- replacing int by size_t
- RetroShare.pro now queries gpgme-config for its include path


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-12 00:17:10 +00:00
thunder2
6b3f51c626 Bugfix: Attach a file in message dialog inserts the link at current cursor position and does not overwrite the whole message text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2887 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:53:21 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +00:00
defnax
2f8d21ab76 clean up some compile warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-10 20:38:59 +00:00
thunder2
c5cebce587 MessagesDialog:
- columns in messages list in MessagesDialog changed to defines
- fixed sort of a non date column with same id, date is used as second compare

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2884 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-10 19:55:59 +00:00
thunder2
465cd42463 Memory leak:
- getLocalInterfaces -> iptable = (MIB_IPADDRTABLE *) malloc(dwSize);
- main -> RshareSettings  *_settings = new RshareSettings();

ExtAddrFinder::~ExtAddrFinder - use free for pointer allocated with malloc


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2882 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-09 21:58:28 +00:00
csoler
23a0b60e59 fixed chat bug that was truncating some messages, due to using a uint16_t to store a local size. Totally backward compatible. This fix might also affect blog messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2880 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-09 20:06:19 +00:00
thunder2
20908b2c48 Count of new messages in systemtray tooltip corrected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-09 08:01:52 +00:00
chrisparker126
4a410fbfb6 removed references to qblogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2869 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-08 17:03:28 +00:00
chrisparker126
c5e8669ec0 Channels
- removed settings button 
 - deals with hashing of its own files
 
 subfileitem
 
 - absolved from file hashing responsibility 
 - added play button functionality(taken from transfer dialog, thanks)
 
 blog
  
  - removed file attachments feature (only for blogging ), will add pic support later
  
 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-08 16:21:57 +00:00
thunder2
a640995298 Memomry leak:
- Member _settings on some settings pages was not deleted


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2864 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-07 23:58:17 +00:00
thunder2
f239e7e4d4 Improved MessagesDialog:
- corrected calculation of message counts
- p3MsgService::checkOutgoingMessages -> notify when message was sent
- refill of message list without clear, selected messages and scroll position are not changed
- corrected sorting of date with only time for today
- changed context menu in message list

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-07 22:23:38 +00:00
defnax
c611cdf6b9 set GroupChat default font size to 11 pt.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-06 17:22:30 +00:00
defnax
5de5cf2fa5 Added a MessagesBox Question when removing a Friend
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-06 17:04:09 +00:00
thunder2
aae947ecd8 Workaround for erroneously accept of Qt::Key_Delete on QAbstractItemView
see http://bugreports.qt.nokia.com/browse/QTBUG-8270

solved for PeersDialog, MessagesDialog and TransfersDialog


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-06 14:39:50 +00:00
leander-256
47f97e20b9 Missing include for uint32_t type with GCC 4.4.3
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2857 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-06 13:01:40 +00:00
thunder2
086c5f8e53 Bugfix: show correct signed / unsigned state of forum messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-05 23:06:05 +00:00
thunder2
c3d92dc472 Source code maintenance
Memory leaks:
- NotifyQt::UpdateGUI -> popup messages (toaster) stay hidden in memory
- p3disc::handleIncoming -> item was not deleted when RsDiscHeartbeat (memory leak every tick)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2852 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-05 22:03:43 +00:00