Commit Graph

1714 Commits

Author SHA1 Message Date
defnax
f746306975 added to use on xp default style windows xp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 23:44:23 +00:00
thunder2
74978b77b7 some optimizations in PeersDialog::insertPeers
do not call too much into the libretroshare

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 21:56:34 +00:00
defnax
d7b8e9cb7c Added Search Filter for Contacts View
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 19:05:10 +00:00
defnax
3d09acf96b added splitter to channelFeed and changed the minimum size for the channel tree
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 16:25:37 +00:00
thunder2
334c9b61d3 moved rsGlobalShutDown from MainWindow::doQuit to main
rsGlobalShutDown now cleans the threads and some memory on exit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3028 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 15:14:25 +00:00
csoler
b80aef1228 Suppressed the possibility for browsable only files to be searched by hash from turtle router.
This avoids that an attacker that captures a broadcast hash request can also ask for the file.

This needed to add back explicit sources in SearchDialog and private chat transfer. I dynamically search
for sources in file lists just before calling FileRequest.

When RS links anchorClick() will work properly with Qt, we can remove the search flag "EXTRA" from the
tunnel digging in p3turtle.cc, otherwise, people having this bug can't transfer files in private chat by
copy+paste of a RS link.
    
	Also:
	    - added missing mutexes in search requests into fimonitor.cc
		- suppressed some debug info in connect manager
		- added check for write fails when dumping config files



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 13:17:09 +00:00
defnax
6dd4e0e617 fixed wrong spelling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 17:29:21 +00:00
thunder2
c8a805b8e7 added trash in msgservice and trash folder in MessagesDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 14:42:54 +00:00
defnax
3196f1d0e7 when Edit is called then set Window Title "Edit Tag"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3013 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 23:21:18 +00:00
thunder2
fa05813283 missing new files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3011 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 19:55:29 +00:00
thunder2
5b4985e3d3 tag feature in MessagesDialog
its disabled until the msgId is static

uncomment the define STATIC_MSGID in MessagesDialog.h for testing 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 19:48:52 +00:00
defnax
3ff6fce00f removed not needed channel logo button and label from CreateForum Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 16:06:07 +00:00
defnax
79688674ec changed Messages Context menu order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-26 15:20:31 +00:00
chrisparker126
84da8eb074 added key share list to channels
fixed problem with other channels not showing except top 5

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 22:53:35 +00:00
defnax
f44de1146a added Format Menu entry
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3003 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 22:30:25 +00:00
defnax
c621cc5474 moved Quote Action as Last entry in ToolBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3001 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 17:21:37 +00:00
defnax
c9fe6dee6b moved Horizontal text Splitter to Insert Menu and added Paragraph ComboBox instead of Lists ComboBox, Lists needs a own Format Menu not more use as ComboBox.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3000 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 17:18:12 +00:00
defnax
ff32924d73 removed one Blockquoute Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 16:16:28 +00:00
defnax
b99617d523 clean up unused functions in PeersDialog and set minimum size for items to 26.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2998 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 15:47:12 +00:00
defnax
18aa8bca8e store by default for Save File menu and Save Button to draft
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 13:22:42 +00:00
thunder2
12af62d54f disabled the new read/unread state in MessagesDialog
reason: the member msgId is not static yet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 12:05:14 +00:00
defnax
097caf6e98 Added File Menu entry Save as Draft for MessageComposer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 10:41:26 +00:00
thunder2
b0c1467abe improvement MessagesDialog:
- enabled draft box

bugfix MessagesDialog:
- correct from and to in list and message header

changes MessageComposer:
- cleaned channel part


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 09:32:14 +00:00
defnax
6b76aa81b0 moved Reply Forum Message Button to right Frame Header
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2988 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-24 01:00:47 +00:00
defnax
d0ef2c335d Added Search Friend Filter for Messenger Window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2987 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-24 00:59:12 +00:00
defnax
b4a4ce07af Enabled Post to Forum for ForumNewItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 23:02:15 +00:00
defnax
c3e1a71279 cleaning up source code removed GeneralMsgDialog and ConnectDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 22:35:51 +00:00
thunder2
591a141a18 - removed MessagesPopupDialog
- click in MessageToaster shows the MainWindow and activates the MessagesDialog


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 21:32:58 +00:00
defnax
1fb7fb005c rename class and source ChanMsgDialog to MessageComposer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 19:13:41 +00:00
defnax
75349f4fe8 fixed to use ", " instead ";" to for distance to next peer name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2977 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 18:31:40 +00:00
defnax
718ed562ca set for Attachments column to display a icon and fixed size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2976 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 18:17:08 +00:00
thunder2
cef2c1218f improvements MessagesDialog:
- new read/unread state - stored locally
- show all recipients in Outbox, Sentbox and Draftbox


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 17:21:30 +00:00
defnax
a5cc8d7ba2 Added for Peer name own Label to display bether Friend's names for News Feed's PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-22 00:23:13 +00:00
defnax
f79afbf7c3 Added to use now only the default Message Composer for MsgItem and PeerItem too, GeneralMessage needs to be removed soon.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2971 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 23:49:01 +00:00
defnax
5b9b0aba96 fixed to attach multiple links for Create Forum Message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2970 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 23:45:25 +00:00
csoler
0634e461fb implemented a safety check for low disc space, and safe drop of disk access if too low
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2968 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 20:49:48 +00:00
defnax
4d99495361 when no channel selected display default channel logo.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2967 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 15:50:29 +00:00
defnax
df6dfd9f3c Added Message settings Page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2966 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 13:54:40 +00:00
defnax
a387ff5ae1 enabled Blogs checkbox in Notify settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2965 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 12:48:58 +00:00
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
defnax
e68e6b54ef fixed Blogs border colors for the logo label and added a new stylesheet when no Blog is selected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:21:13 +00:00
defnax
d2baf4902d Added Blog New Item to News Feed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2962 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:00:59 +00:00
defnax
5df17295b8 added to display on New Channel Feed Item Channel logo when available
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 22:43:13 +00:00
chrisparker126
ee1477df10 added restore admin/publ keys to channels (todo: forums, blogs)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 22:43:07 +00:00
defnax
3e1c18fac3 added search icon label for Messages Filter Line Edit.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2956 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 21:33:10 +00:00
defnax
8de48d3b74 added for search filter own frame header
moved the new forum search filter to the top Header

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 21:02:43 +00:00
thunder2
c2f7f7935e improved ForumsDialog:
- new filter for threads tree
- saved layout of dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2954 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 20:17:43 +00:00
thunder2
8673924374 removed unnecessary method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 19:44:06 +00:00
thunder2
4cf10ee99a fixed compiling error, damn case sensitive file names
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2947 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 22:41:44 +00:00
thunder2
71b3783a9a improved MessagesDialog:
- saved state of files view, filter column, state of message tree and splitter position
- initial selection of inbox
- new filter mode: content

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2946 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 22:37:18 +00:00
thunder2
6fbf0d4bbe removed unused default font for chat, now using the default font from the system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2943 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-18 19:22:07 +00:00
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