tux3
a232e5afd6
Merge branch 'pr1489'
...
Removes chat history of friend when removed, fixes #1486
2015-05-10 01:04:00 +02:00
tux3
8407bbada9
Limit outbound avatar size to 64kB
2015-05-10 00:56:41 +02:00
tux3
67e09de085
Save memory with lazy loading
...
Load the setting's cameria preview opengl context lazily and destroy it when done. Only preallocte Core's video buffer if we have any calls active, free up when all calls are done
2015-05-10 00:05:30 +02:00
tux3
1f926b3e6c
Fix small memory leak cleaning up video calls
2015-05-09 22:56:15 +02:00
tux3
a01e0db7ba
Fix some memory leaks and mismatches
2015-05-09 22:35:58 +02:00
llya Kowalewski
9d9fa90271
Include: complex -> cstdlib
2015-05-08 01:10:33 +03:00
llya Kowalewski
275f2a97f1
Fixing clang build on OSX
...
std::abs() is function from <complex>, current HEAD doesn't build on OSX with latest clang because of missing include. This commit fixes the build.
2015-05-08 00:31:42 +03:00
tux3
e79d40e356
Merge branch 'pr1446'
...
Conflicts:
src/chatlog/chatlog.cpp
src/chatlog/content/filetransferwidget.cpp
src/core.cpp
src/core/coreencryption.cpp
src/toxdns.cpp
src/widget/form/chatform.cpp
src/widget/form/genericchatform.cpp
src/widget/friendwidget.cpp
src/widget/widget.cpp
2015-05-07 22:00:50 +02:00
tux3
19bf083b41
Merge branch 'pr1515'
2015-05-07 21:39:32 +02:00
tux3
ad4ef7f53f
Merge branch 'pr1579'
2015-05-07 21:32:57 +02:00
tux3
04d102160f
Merge branch 'pr1577'
2015-05-07 21:30:11 +02:00
tux3
649ea371ee
Merge branch 'pr1576'
2015-05-07 21:25:57 +02:00
tux3
19d0465efe
Merge branch 'pr1574'
2015-05-07 21:21:04 +02:00
tux3
a61f222411
Merge branch 'pr1573'
2015-05-07 21:17:11 +02:00
kushagra
5e5da24ad3
Implemented search of contacts
2015-05-07 20:37:26 +02:00
tux3
9fa9fafe75
Use old Qt connect syntax for QTimer::singleShot
...
The new syntax is for Qt>=5.4 only, but we need to support back to Qt 5.2
2015-05-07 20:36:11 +02:00
Stefan Merettig
f14c399297
Screen grabber: Fix flying-flyout bug when resizing window while open
2015-05-07 20:11:32 +02:00
Stefan Merettig
f982938919
Screen grabber: Hide the flyout when the chat form is hidden.
2015-05-07 20:01:02 +02:00
Stefan Merettig
ffa1628f38
Screen grabber: Make sure the flyout is hidden on leave
...
When the user moved from right to left in moderate speed, the flyout
didn't get the mouse leave event.
2015-05-07 20:00:21 +02:00
Stefan Merettig
0a68cff60c
Screen grabber: Hide mid-animation when leaving file button
...
The flyout is now more responsive and will start collapsing while it's
expanding, when the user leaves the attach file button mid-animation.
2015-05-07 20:00:21 +02:00
Stefan Merettig
f0d524e960
Screen grabber: hide() the flyout at first
...
I don't remember why I did show() at first, but works fine without, and
fixes the issue of a 1px wide flyout showing up somewhere in the
chatform
2015-05-07 20:00:21 +02:00
Stefan Merettig
f4610c41f9
Screen grabber: Only show flyout if the attach button is enabeld
...
Fixes the bug that the flyout was shown in group chats.
2015-05-07 20:00:21 +02:00
Stefan Merettig
f032df223f
Screen grabber: Fix position of handles with negative selection
...
When you clicked, and then move towards top-left with the cursor,
and release, the handles were displayed inside the resulting rectangle,
instead of outside.
2015-05-07 20:00:21 +02:00
Stefan Merettig
076609afb9
Screen grabber: Calculate bounding rect, fixes some drawing issues
...
This commit should fix drawing artifacts occuring when quickly clicking
on the screen while moving the cursor in circles.
2015-05-07 20:00:21 +02:00
Stefan Merettig
db8b70e225
Screen grabber: Show correct tooltip for selected/no-selection states
...
When the user just clicks somewhere, and thus rejects the selection due
to the previous commit, show the initial 'nothing selected' helper
tooltip again.
2015-05-07 20:00:21 +02:00
Stefan Merettig
96a1cf93d5
Screen grabber: Reject small selections (< 2px width/height)
...
When the user just clicks, or moves the cursor barely (less than 2px),
auto reject the region and show no selection.
2015-05-07 20:00:20 +02:00
Stefan Merettig
1149ed1f91
Screen grabber: Modified helper tooltip texts
...
The english texts are now more coherent
2015-05-07 20:00:20 +02:00
Stefan Merettig
be194e6fa8
Screen grabber: Don't wait for the flyout to collapse
...
The menu is now collapsed in the background half a second after
the user clicked on the screenshot button. This is to let the WM have
some time to open the fullscreen window, which itself is now shown
immediately.
2015-05-07 20:00:20 +02:00
Stefan Merettig
e83aac7af7
Screen grabber: Remove forced redraw
...
If this doesn't help we'll need to split the screen capture display
into tiles and display those instead, allowing Qt to only draw
a few of them instead of everything.
2015-05-07 20:00:20 +02:00
Stefan Merettig
9539a38f15
Screen grabber: Moving from button -> flyout -> button doesn't collapse
2015-05-07 20:00:20 +02:00
Stefan Merettig
7ab64d5628
Screen grabber: Wait for the flyout to collapse before grabbing
...
After clicking the "Screenshot" button in the file flyout, the flyout
now collapses and then triggers the screenshot functionality. This adds
a delay of ca. 1/3 seconds between the click and the action.
2015-05-07 20:00:20 +02:00
Stefan Merettig
04dc650596
Screen grabber: Flyout menu for the screenshot button
...
When hovering over the "attach file" button in the chat form, an
additional button for the screenshot functionality will 'fly out'
to the left, showing a computer monitor as icon. Leaving the attach
file or the take screenshot button will collapse the fly out again.
Bug: Moving the mouse over the fly out and then back again to the
attach button collapses the fly out. Will sort this out later.
Also used the opportunity to rename headers from hpp -> h extension
I added earlier.
2015-05-07 20:00:20 +02:00
Stefan Merettig
c6d5b4cc55
WIP: KSnapshot-like screenshot grabber
...
WIP of a screenshot grabber accessible from the chat form to allow
users to easily send a part of a screenshot
2015-05-07 19:55:28 +02:00
tux3
4e1dd74269
Make tool buttons inactive when showing profile
2015-05-07 19:47:18 +02:00
Rohil Surana
084b6c9300
Added tool menu active button indicator.
...
Disable active button to remove repainting of ui each time it is pressed.
2015-05-07 19:39:46 +02:00
PKEv
91c192487a
Add_www_link_possibility
2015-05-07 19:17:09 +02:00
PKEv
d697e06b56
fix drag and drop in chat history (windows)
2015-05-07 19:13:49 +02:00
tux3
39fd870ef0
Merge branch 'pr1470'
2015-05-07 19:09:41 +02:00
tux3
9cdff0a21a
Merge branch 'pr1460'
2015-05-07 19:05:13 +02:00
Jookia
1d58f476f7
Add keyboard bindings for cycling contacts.
...
I've moved the key bindings in the main widget instead of the chat form given it
doesn't seem to be the chat form's responsibility to handle switching between
conversations it shouldn't know about in the first place. I've also included new
shortcuts to provide a more familiar feel to most people.
All in all this provides Ctrl+Tab and Ctrl+Shift+Tab for cycling as well as
Ctrl+PgUp and Ctrl+PgDown for cycling. This mimics common application behaviour.
2015-05-07 19:02:18 +02:00
Jookia
f6a2925331
Tabs with modifiers are passed up from chat boxes.
...
In Qt chat boxes filter out events related to text editing, including tabs.
Unfortunately tabs with modifiers like those used to cycle through contacts are
being filtered despite not being used for anything.
This fixes the keybind for cycling forward through contacts (Ctrl+Tab).
2015-05-07 18:46:08 +02:00
Jookia
59a8ea13e7
Implemented cycling through contacts.
...
I've implemented this by having the contacts list container return all contact
widgets in the order they appear each time it's time to cycle. It's perhaps
inefficient but given cycling isn't done often I don't see a need to optimize.
This code does make the assumption that the friends list isn't empty, which I'd
guess would be the case if there's an active conversation.
2015-05-07 18:46:08 +02:00
Rohil Surana
0b1d3e3d3d
Added chat room status to window title
2015-05-07 18:28:51 +02:00
Mario Preksavec
4eeabbbe85
Unhide faux offline messaging checkbox
2015-05-04 19:27:40 +02:00
Mario Preksavec
ecee27b31d
Respect configured emoticon size
2015-05-04 06:01:02 +02:00
Mario Preksavec
220fea66a0
Make dropdown menus look better on high dpi
2015-05-04 02:12:02 +02:00
Mario Preksavec
b874f31b0d
Fallback XFCE detection
2015-05-04 01:03:58 +02:00
Mario Preksavec
f88f8dc3cb
Remove StatusNotifier dependency
2015-04-28 17:28:21 +02:00
tux3
542cae85d3
Give appropriately scary name to dangerous function
...
"isPathWritable" didn't convey really well the meaning of "let's try to open it, wipe everything the hell out, and see if it worked"
2015-04-26 17:39:39 +02:00
tux3
0e65d150e3
Don't show call buttons in text-only groupchats
...
I'm not sure why there are text-only groupchats in the first place, but that's fixed.
2015-04-25 01:50:35 +02:00
tux3
8b6ef7ab9d
Merge branch 'pr1524' into back_in_the_game
...
Conflicts:
src/widget/form/groupchatform.cpp
2015-04-24 23:04:11 +02:00
tux3
1c51cd788b
Merge branch 'pr1509' into back_in_the_game
2015-04-24 22:37:01 +02:00
tux3
f8eb90f74d
Merge branch 'pr1498' into back_in_the_game
2015-04-24 22:34:21 +02:00
kushagra
b4f72b620d
fixes action bugs
...
1) action received gets modified on restart
2) sender's name is written twice if action is sent using offline messaging
3) /me is written when action is sent in groupchat having one peer
4) /me is not saved in last message variable in friendd chat
2015-04-24 22:20:52 +02:00
Yuri
11883bab85
Added Ctrl+Q shortcut.
2015-04-24 21:44:48 +02:00
tux3
ea417d3688
Update lock when renaming profile
2015-04-24 19:19:01 +02:00
Zetok Zalbavar
92f3b6a20f
Code style improvements
2015-04-24 15:43:57 +02:00
tux3
e4859efe18
Refactor Core
...
Refactor Core's file transfer callbacks into their CoreFile class and files
Move all core*.{h|cpp} into a core/ folder
2015-04-24 02:32:09 +02:00
tux3
e03d80392a
Fix GUI refresh when creating new profile
...
Previously the username/status, and the combobox in profileForm weren't refreshing themselves
2015-04-23 23:42:50 +02:00
tux3
228398d5de
Initial porting to the new Tox API
...
Builds and runs, but some features will be missing, may crash with an assert, or silently fail with broken QObject connections
We're back in the game.
2015-04-19 23:12:44 +02:00
PKEv
55d33fbcc0
correct after CppCheck
2015-04-13 00:49:24 +03:00
Rohil Surana
fb97662b5d
Added add friend on window on first start
2015-04-07 14:19:55 +05:30
Rohil Surana
a5919dc767
Typing indicator shows up once typing is resumed
2015-03-31 02:57:52 +05:30
kushagra
07ba0c9ae0
Removes chat history of friend when removed, fixes #1486
2015-03-29 13:35:39 +05:30
Dubslow
885dc0638a
No more PRs shall be merged until the new_api branch in my repo is merged. Contributions are welcome.
...
This commit fixes some minor style issues with #1406
2015-03-27 17:36:35 -05:00
Dubslow
72e78ff6cd
Merge branch 'pr1480'
...
Conflicts:
src/widget/form/addfriendform.cpp
2015-03-27 17:36:08 -05:00
Dubslow
2e388f03df
Merge branches 'pr1474', 'pr1406', 'pr1463' and 'pr1472'
2015-03-27 17:33:53 -05:00
Dubslow
5d129b471f
Possibly fix an old segfault that may or may not be a problem
2015-03-27 15:01:42 -05:00
Rohil Surana
b98af21456
On add friend clicked pastes Tox Id from clipboard if there is one
2015-03-27 22:13:25 +05:30
PKEv
4f650b3177
System menu translation
2015-03-26 23:02:08 +03:00
Rohil Surana
5a4443b7bb
Set focus to toxId Line edit on add friend window
2015-03-26 16:53:20 +05:30
kushagra
b2481fc1d8
proper splitting in friends chat,fixes #1375
...
what happened was- When message exceeded TOX_MESSAGE_LENGTH, the whole message was inserted in sender's chatlog X times.
if length of message is N,
X = (N/TOX_MESSAGE_LENGTH) + 1
There is no bug in recieving end. Receving end gets X messages (splitted).
In the sample case provided, the message had whitespaces in the end, so the reciever thought the message is empty.
2015-03-26 11:15:05 +05:30
PKEv
9857f5b60b
#1402 duplicate of the sender's name
...
set if interval more 5 minuts, sender name repet
not tested for group chats!!!
2015-03-26 00:31:39 +03:00
Dubslow
bab280a0ea
Change default datetime formats (d/m m/d agnostic), style fixes, removed unnecessary signals
2015-03-25 11:45:58 -05:00
Dubslow
14a565bc3a
Merge branch 'pr1393'
2015-03-25 11:32:05 -05:00
Dubslow
27f58c9ca6
Style fixes
2015-03-25 11:27:33 -05:00
kushagra
86bbe537bc
autocomplete will work for : also,fixes #1377
2015-03-23 23:11:28 +05:30
zero-one
a1e228e60d
style fixes to conform to Allman style
2015-03-23 02:38:24 -07:00
zero-one
c15cc60137
Merge branch 'master' into friend_list
2015-03-23 02:35:20 -07:00
zero-one
de8eb5293c
Merge branch 'master' into friend_list
...
Conflicts:
src/widget/form/settings/generalform.cpp
2015-03-23 02:34:12 -07:00
Dubslow
f55fd40ec6
Merge branches 'pr1452', 'pr1453', 'pr1456' and 'pr1457'
2015-03-22 16:17:00 -05:00
PKEv
72c45a65fa
Correct #1448
2015-03-22 23:44:42 +03:00
Jookia
e3bdd6d221
Added option to disable notification sounds.
2015-03-23 07:27:44 +11:00
PKEv
becd923c09
#1441 correct
2015-03-22 02:26:17 +03:00
agilob
5f15bc8b75
iso date
2015-03-21 15:48:43 +00:00
agilob
77e333ab05
long time format
2015-03-21 15:47:09 +00:00
Zetok Zalbavar
f3aa3073b0
Fix coding style and add copyright header
...
* added copyright header to src/platform/statusnotifier/enums.c
* 'switch(' → 'switch ('
* use Allman style
----
for / if / while / switch () {
↓
for / if / while / switch ()
{
----
----
for / if / while ()
{
1_line;
}
↓
for / if / while ()
1_line;
----
----
for / if / while ()
1_line;
line_out_of_loop;
↓
for / if / while ()
1_line;
line_out_of_loop;
----
2015-03-21 08:59:28 +00:00
Zetok Zalbavar
f95291af3e
Some style fixes
...
"if(" → "if ("
"for(" → "for ("
"while(" → "while ("
2015-03-20 18:38:10 +00:00
agilob
a873bb571f
generalsettings: time and date format from qlocale
2015-03-20 08:17:18 +00:00
Dubslow
9079b334b9
Merge branches 'pr1433', 'pr1435', 'pr1436', 'pr1438' and 'pr1439'
2015-03-19 23:02:02 -05:00
PKEv
e940459596
Correct for Maximized window
2015-03-19 22:41:31 +03:00
kushagra
cb8d892724
fixed display of contact_dark.svg
2015-03-18 21:21:58 +05:30
Dubslow
6a43aa8680
Merge branches 'pr1419', 'pr1420', 'pr1421' and 'pr1424'
2015-03-18 08:21:19 -05:00
kushagra
41dc562b64
fixes #1091
2015-03-18 14:15:51 +05:30
TheLastProject
6164426b13
Oops, forgot about groups
2015-03-18 00:51:22 +01:00
TheLastProject
ebf4af830d
Fix #1204
2015-03-18 00:45:57 +01:00
isn0gud
de423571eb
add friend on enter key pressed #1404
2015-03-17 13:23:34 -05:00
Dubslow
99e8d71fca
Merge branch 'pr1400', with style fixes @agilob
...
Conflicts:
src/widget/form/profileform.cpp
2015-03-17 13:18:47 -05:00
Dubslow
9d5b77aa61
Fix qr label wordwrap
2015-03-17 11:14:16 -05:00
Dubslow
42fe29e83d
Merge branch 'pr1397'
2015-03-16 17:53:00 -05:00