Commit Graph

5956 Commits

Author SHA1 Message Date
thunder2
e95725ea2c - Fixed crash because of a memory overwrite
The static arrays in RsDiscSpace were to small for RS_PGP_DIRECTORY (0x0003)
  Added new constant RS_DIRECTORY_COUNT
- Added missing fclose to PGPHandler::encryptTextToFile
  Used ops_teardown_file_write instead of ops_writer_close and ops_create_info_delete
  Windows cannot move a file when it is still open

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-26 23:12:09 +00:00
csoler
b84930b157 Added multiple security tests to pgp keyring against disk full and exceeded quota.
- copy files to tmp before appending new keys, then rename back to original.
- always check for disk full before syncing keyrings
- use tmp file to sync keyring
- new RsDirUtil::fileExists() method
- check system for disk space in pgp directory
- added RsPGPDirectory() method to RsInit


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-25 20:05:31 +00:00
csoler
d6104c0aa7 fixed memory leak in distrib item read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:43:22 +00:00
csoler
fced5af60c fixed memory leak in key signature verification
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:35:19 +00:00
thunder2
a823cc9edc Fixed some utf8 issues in identities.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 14:33:47 +00:00
thunder2
7330ab894c Fixed memory leak in RsDataService::retrieveNxsGrps when no group is available.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 11:51:23 +00:00
thunder2
9d61832a86 Fixed some memory leaks and double frees in RsGxsNetService.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 22:04:24 +00:00
csoler
504ab562cc doubled data chunk for signature in chat links. Apparently some keys need more than 287 bytes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 20:57:05 +00:00
thunder2
6dc9dcd49d Fixed some memory leaks in RsGxsNetService.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 12:17:50 +00:00
thunder2
a2ab72fed3 Added frame to title bar in NewsFeed page.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 09:24:36 +00:00
thunder2
c3303a1969 GXS:
- fixed some possible crashs with dynamic_cast
- fixed memory leak in p3GxsCircles::cache_load_for_token and p3Posted::background_loadMsgs

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 01:31:36 +00:00
thunder2
fef4a87c7c Simplify layout of NewsFeed dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 19:14:49 +00:00
thunder2
83f0920721 Fixed layout of forums dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 16:20:26 +00:00
csoler
9e7d6aa00b changed welcome message in broadcast chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 12:34:05 +00:00
csoler
b105d02524 updated strings for translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 11:59:36 +00:00
csoler
a42b3fdbd4 fixed memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 20:52:54 +00:00
csoler
d43a43963f fixed layout in NewsFeed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:52:48 +00:00
csoler
b1bc66b319 added missing delete when RsDiscReply item is rejected because of service permissions, causing memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:20:12 +00:00
thunder2
f5218cdfc3 Fixed crash after last commit in p3idservice.cc.
Fixed memory leaks and possible crashs in ::getGroupData
- p3gxschannels
- p3gxscircles
- p3gxsforums
- p3idservice
- p3posted
- p3photoservice


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 01:50:13 +00:00
thunder2
3730645808 Fixed layout of forums dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 17:30:58 +00:00
csoler
11cfb1dc5c fixed memory leak in group item not being deleted after being received and treated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 12:36:57 +00:00
thunder2
024479d518 GXS:
- Enabled generate of mass data for forums and channels

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-19 21:06:19 +00:00
csoler
5090913630 updated changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-19 19:03:08 +00:00
csoler
15f1df9e63 added more help panels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-19 18:36:09 +00:00
csoler
d7e25e24e5 Remorked GUI layout a little bit:
- made all pages have a bar with full width
- added help button to each of them (needs adding text)
- improved help system so that it's easy to register a new help button
FriendsDialog still needs some cleaning.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6518 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-19 12:18:58 +00:00
thunder2
9c40fb878f GxsChannels:
- cleaned source code
- added auto refresh
- added todo button
- removed some debug output
Updated english translation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-19 09:48:51 +00:00
csoler
2b9a211184 fixed memory leak in cert signature verification at connect (Patch from Phenom). Also removed some unused variables reported by gcc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 22:10:30 +00:00
csoler
0b0010ff59 improved completion for chat (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 21:50:32 +00:00
csoler
a07e8d889a added help system to the MainPage class. Each page can now derive its own help string and show it using a two-states help button. To try it, I have implemented it on the NewsFeed page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 19:32:12 +00:00
csoler
7c6a7edfde Sorted out the mess in friends list:
- removed entries from rightmost menu:
	* add friend: removed, already on the left bar
	* add group, recommendations and service perms => moved to context menu in friend list
	* create chat lobby: removed. Not relevant.
	* avatar and state string: removed. Can be done right at right, by clicking on the things.
- removed rightmost menu
- icons in context menu still need fixing.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 22:33:45 +00:00
csoler
09971a06c6 removed messenger button from mainWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 21:35:49 +00:00
csoler
36ea99da03 add date to chat msg if it is mroe than 1 day old
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 21:14:48 +00:00
csoler
ed9b6e0784 removed dual window in NetworkDialog. Changed checkbox name to something more accurate.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 21:08:09 +00:00
csoler
d215ca1af9 renamed known people into keyring
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6508 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 20:00:46 +00:00
thunder2
f4ee02bb01 TokenQueue:
- fixed stop of TokenQueue polling when events are locked

RsProtectedTimer:
- switched to faster poll when events are locked


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-16 00:03:20 +00:00
thunder2
4edcec6fe9 Posted Links:
- cleaned source code
- added auto refresh
Updated english translation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-15 18:39:39 +00:00
thunder2
11d2701edc GxsForums:
- added automatic refresh after subscribe/unsubscribe
- removed some debug output
- moved GxsForumsDialog.* to gui/gxsforums

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6505 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-15 14:22:33 +00:00
thunder2
6ac95b28cd Circles:
- cleaned source code
- added auto refresh
- added todo button
- fixed utf8 issues
- added new strings to translation
Updated english translation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6504 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-15 01:03:39 +00:00
thunder2
621c8037bc GXS:
- added three new classes for automatic refresh of ui
  - RsGxsUpdateBroadcastBase
  - RsGxsUpdateBroadcastWidget
  - RsGxsUpdateBroadcastPage
- prevent call to :singleShot on RsProtectedTimer
- extend RsGxsUpdateBroadcast
- added automatic refresh to Identity and Forums (except subscribe/unsubscribe)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6503 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 18:48:40 +00:00
csoler
14890ef007 added ACK system to make sure the secured tunnels for distant chat are actually working, before one starts using it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 13:59:38 +00:00
csoler
2e32892a27 moved all files related to file transfer in gui/FileTransfer/
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 12:53:38 +00:00
thunder2
9eeacf7f83 GxsForums:
- optimized steps of the progressbar when loading
- added UIStateHelper
- removed debug output
- added Todo button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-12 17:24:11 +00:00
csoler
06b68e4e31 updated comment. no actual change.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 21:53:30 +00:00
csoler
4c53d8dc5b removed MT19937 which is not used anymore. Changed N from 624 to 1024 to reduce cost
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 20:59:18 +00:00
thunder2
207d86543c Fixed some spaces in the sourcecode.
Updated english translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6496 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 08:14:38 +00:00
thunder2
f02cc51409 Identity:
- Redesigned dialog
- Fixed high CPU usage when showing reputation list
- Added todo button

UIStateHelper:
- Added new base class for easier handling of ui elements with token request (show "Loading", set enable state, ...)

RsProtectedTimer:
- Fixed compile on Windows

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-10 21:57:23 +00:00
csoler
e36557d542 added Specific protected timer class RsProtectedTimer to avoid passwd deadlock.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-10 21:11:11 +00:00
thunder2
c0cc792300 Added filter of items to RSTreeWidget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-09 11:58:55 +00:00
thunder2
249f2ff2e0 Added new method cancelActiveRequestTokens to TokenQueue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-09 11:57:57 +00:00
csoler
6ee0aa9b3f fixed bug in distant chat accepting tunnels for collecting invites with same hash
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-07 20:43:37 +00:00