Anthony Bilinski
a8fc6e5c6b
fix(chatform): include pressed key(s) when changing focus
...
Instead of just giving focus, give focus and add the key that was pressed. Also change from KeyRelease to KeyPress to avoid missing the second key pressed in the case of the second key being pressed before the first is released.
2018-04-05 16:00:02 -07:00
Anthony Bilinski
65d59ba6b7
fix(settings): add missing enableTestSound to settings
2018-04-05 15:00:34 -07:00
Anthony Bilinski
cb0f26356d
fix(ui): remove placeholder update UI
...
Auto-updates were disabled in 196529b8e8
Fix #5040
2018-04-05 01:30:25 -07:00
Anthony Bilinski
9216549d6e
refactor(call): Refactor toxcall and disconnect lambda on destruction
...
Fixes #3840
Move audio and video state into ToxCall which both ToxFriendCall and ToxGroupCall inherit from
2018-04-04 01:32:00 -07:00
Anthony Bilinski
b852809d0c
fix(history): don't save own messages when history is disabled
...
Fix #5036
2018-03-30 01:50:12 -07:00
Anthony Bilinski
703876c372
fix(login): Don't dereference null pointer
...
Fix #5032
2018-03-24 17:04:31 -07:00
sudden6
0be49c648c
Merge pull request #5027
...
Only merged one commit, because of an unnecessary merge of master
2018-03-24 18:11:52 +01:00
tox-user
23f6ad7047
fix: remove build date and time from main.cpp
...
This is the first step to having reproducible builds. It
should allow to make an identical build in the same environment
and increase privacy when sharing logs, because the build time
was not in UTC.
2018-03-22 23:09:17 +00:00
Anthony Bilinski
acea7c315f
fix(import): don't use java-style iterator before first element
...
Fix #4962
2018-03-21 14:29:25 -07:00
Anthony Bilinski
4951f90964
fix(offlinemsg): make faux offline messages purely event based
...
Since real offline message reliability issue was fixed in PR #4607 , now removing all the workarounds that had been added. Offline messages are now sent as soon as we see our friend come online, and at no other time. Fixes 2 minute wait time before attempting to send if message is entered while you or friend is offline, removes 2 minute constant retry timer, removes 250ms delay between seeing friend come online and sending offline messages.
2018-03-21 13:03:17 -07:00
sudden6
0170ccd6f7
refactor: remove some unused includes
...
thanks @iphydf for pointing that out
2018-03-21 19:39:28 +01:00
Anthony Bilinski
d2ad2107f2
fix(IPC): Update profileName to update IPC ID after login screen
...
Fix #4948
Fix #5025
2018-03-21 02:37:14 -07:00
DESKTOP-Z50-70\Arman
ebdc675cbc
fix(chattextedit): ChatTextEdit bug fix for issue #5020 Corrected
2018-03-21 12:39:17 +04:00
Anthony Bilinski
c2410e0a65
fix(name): Clear alias on name change so that name changes are visible
...
Temporary work around for #5013
2018-03-18 19:22:24 -07:00
Anthony Bilinski
09eee940cd
Merge pull request #5012
...
Horace Bianchon (1):
fix(avform): Audio/Video settings tab #5011 issue bugfix
2018-03-16 13:52:15 -07:00
Anthony Bilinski
bc18990fd2
fix(build): Remove unused vars, add default case for switch
...
Fix #5006
2018-03-16 12:59:51 -07:00
Anthony Bilinski
1afed5f72e
fix: don't use invalid reference after erasing element
...
Fix #5002
2018-03-16 10:54:53 -07:00
Horace Bianchon
ad6ddfc4f2
fix(avform): Audio/Video settings tab #5011 issue bugfix
...
Signed-off-by: Horace Bianchon <horace.bianchon@gmail.com>
2018-03-16 18:32:36 +04:00
Anthony Bilinski
8198940607
fix(widget): Fix double free crash on group leave
...
Fix #5004
2018-03-15 02:08:10 -07:00
Diadlo
2a0c71d0d4
fix: Fix crash on manipulation with friend
...
Fix #4991
2018-03-12 01:07:41 +03:00
Diadlo
e3726eade6
fix(avform): Hotfix for crash on video device change on 'None'
...
Fix #4994
2018-03-11 22:51:38 +03:00
Diadlo
0a590336b1
fix(group): Show correct count of user on first creation
...
Fix #4503
2018-03-05 22:20:39 +03:00
Diadlo
9b4972e045
fix(friendwidget): Use queued connection to avoid removing 'this'
...
Fix #4966
Since 'removeAction' can remove friend (who would have thought?) it must be
connectd queued to avoid use after free.
2018-03-05 09:06:20 +03:00
sudden6
1f8c9a2e2f
refactor: update displayed user name from the friend model
2018-02-28 17:51:00 +01:00
sudden6
a910d57824
refactor(friend): add an additional signal to Friend
2018-02-26 20:53:53 +01:00
Anthony Bilinski
e564b85e3c
fix(chatform): Broaden URL matching to include unicode
...
Fix #4853
Fix #4295
*Instead of searching strictly valid URIs, allow anything characters following scheme. This allows for UTF-8 characters used in other languages, as well as parentheses and other ASCII characters. This will over-match some invalid URLs.
*Ignored surrounding characters of URIs and ending punctuation
*Fix www-only links by adding http scheme to href
2018-02-25 01:48:25 -08:00
sudden6
d3d81bbdf3
feat: update to the new c-toxcore 0.2.0 conferences api
...
The old functions are disabled at compile time and should be removed
later.
2018-02-24 09:57:42 +01:00
iphydf
1111949f45
fix(core): Adapt qtox to new conferences state change callback.
2018-02-24 09:57:42 +01:00
Diadlo
e73dc10c7f
fix: Not quit on close if this setting is enabled
...
Fix #4949
2018-02-23 11:29:53 +03:00
Anthony Bilinski
d9118cfc71
fix(widget): Fix status pic alignment
2018-02-21 11:55:59 -08:00
Diadlo
aeb501240f
Merge pull request #4955
...
TriKriSta (12):
feat: add a button to search
feat: add form for search
feat: add text search
feat: edit load history for search
feat: remove search button and add line in context menu
feat: add search in text in group chats
feat: optimise search in history
feat: add hot keys for search
style: change code in searchInText
fix: add search symbol ' in history
refactor: rename hideButton to searchHideButton
refactor: add/delete checks in search code
2018-02-20 08:26:29 +03:00
Anthony Bilinski
9643e48ef1
fix(chatlog): Match multi-character emoticons again
...
Fixed after broken in https://github.com/qTox/qTox/pull/4940 . Single-character UTF-8 emoji still work without whitespace on either side, but multi-character emoticon patterns like 😄 or :) do require surrounding whitespace, to avoid matching punctuation or HTML tags.
2018-02-19 01:18:19 -08:00
TriKriSta
fe4dd83d10
refactor: add/delete checks in search code
2018-02-15 13:21:05 +02:00
TriKriSta
40cebd421b
refactor: rename hideButton to searchHideButton
2018-02-14 19:41:59 +02:00
TriKriSta
3e05279c09
fix: add search symbol ' in history
2018-02-14 11:30:38 +02:00
TriKriSta
f73021c376
style: change code in searchInText
2018-02-12 19:35:50 +02:00
TriKriSta
ffb51e8a0e
feat: add hot keys for search
2018-02-12 19:24:22 +02:00
TriKriSta
18fa8a745b
feat: optimise search in history
2018-02-12 01:02:28 +02:00
TriKriSta
7718734c9a
feat: add search in text in group chats
2018-02-11 23:09:13 +02:00
TriKriSta
8bb80c770c
feat: remove search button and add line in context menu
2018-02-11 17:38:05 +02:00
Diadlo
95f150e5f9
refactor: Move action handlers to slots
2018-02-11 12:12:07 +03:00
TriKriSta
de9c906117
feat: edit load history for search
2018-02-10 17:56:16 +02:00
TriKriSta
b881d32d1b
feat: add text search
2018-02-10 17:56:16 +02:00
TriKriSta
863c46c73d
feat: add form for search
2018-02-10 17:56:16 +02:00
TriKriSta
47d9da98cf
feat: add a button to search
2018-02-10 17:56:16 +02:00
Diadlo
0d2926e196
refactor: Remove ChatForm from Group
2018-02-08 09:01:23 +03:00
Diadlo
0586e65e72
refactor: Remove using 'Group::getChatForm'
2018-02-08 09:01:22 +03:00
Diadlo
f6bb71db93
refactor: Save GroupChatForm in Widget
2018-02-06 10:46:22 +03:00
Diadlo
42a3a27a58
refactor: Remove chatForm from Friend
2018-02-06 10:46:09 +03:00
Diadlo
b26255703d
refactor: Move using loadHistory out of Friend
2018-02-06 10:46:09 +03:00
Diadlo
254f5cc4b1
refactor: Remove using 'Friend::getChatForm'
2018-02-06 10:46:09 +03:00
Diadlo
61e0dff8a4
refactor: Remove 'FriendWidget::setChatForm'
2018-02-06 10:46:09 +03:00
Anthony Bilinski
5df63f9c2e
fix(chatlog): parse multi-length emoji properly
...
Before, when multi-length emoji were next to any other character, they would not be transformed into images. With this change, emoji are replaced with images no matter where they are in the string. Parsing is now done by checking to see if two-character blocks are valid as a single UTF-32 character, or if they are truly two distinct characters. Because we no longer need white space before emoji, I also removed our addition of spaces on either side of an emoji when a user sends them.
2018-02-05 14:19:03 -08:00
sudden6
0dea03906e
Merge pull request #4918
...
iphydf (1):
chore: Don't dereference Tox_Options, use getters instead.
2018-02-05 22:05:28 +01:00
sudden6
11f263ffc3
refactor(nexus): make loginscreen independent of nexus
2018-02-01 22:00:06 +01:00
sudden6
09ad16bc44
refactor: cleanup notifications and core
2018-02-01 22:00:00 +01:00
sudden6
d01999814e
chore: fix some compiler warnings
2018-02-01 20:32:39 +01:00
Diadlo
d2deec7c55
fix(core): Use new callback API for bitrate set
2018-01-31 09:39:43 +03:00
Diadlo
2c8f03dada
fix(core): Use new API for bitrate set
...
Fix #4935
2018-01-31 00:01:52 +03:00
Anthony Bilinski
b9845e1d23
perf(widget): don't save on setExpanded if categorywidget is unchanged
...
Fix #4932
2018-01-27 20:14:58 -08:00
Diadlo
7d5a59cf41
refactor: Use qFuzzyCompare to compare float values
...
Thanks @BiTOk for this tip
2018-01-22 17:13:09 +03:00
Diadlo
3b52402fa2
feat: Prefere new line as message break
...
Fix #4113
2018-01-20 14:07:22 +03:00
Diadlo
e74cc37a2d
fix: Use real channels number
2018-01-20 14:07:22 +03:00
Diadlo
e3f3d5e3b1
refactor: Override only 'doOutput' and 'captureSamples' in OpenAL2
2018-01-20 14:07:22 +03:00
Diadlo
c33592be06
style: Fix style
2018-01-20 14:07:22 +03:00
Diadlo
900f2a1ad3
fix: Allocate memory to input buffer
2018-01-20 14:07:22 +03:00
Diadlo
2353a66fde
fix: Call doAudio on timer timeout
...
Fix #4904
2018-01-20 14:07:22 +03:00
Diadlo
8c05399e41
fix: [un]subscribe output in avform
...
Fix sound test on AV settings tab
2018-01-20 14:07:22 +03:00
sudden6
c41de48a6b
Merge pull request #4913
...
tox-user (1):
feat(groupchat): mark blocked users with different color
2018-01-20 00:17:20 +01:00
sudden6
8ce1e31477
Merge pull request #4911
...
tox-user (1):
feat(UI): new status icons for message notifications
2018-01-20 00:16:38 +01:00
iphydf
2e645eb68c
chore: Don't dereference Tox_Options, use getters instead.
...
Depending on Tox_Options structure layout is deprecated. We will remove
it from the public API in the future.
2018-01-16 17:27:17 +00:00
Diadlo
3ca2ffd559
Merge pull request #4894
...
iphydf (1):
chore: Update to immutable TES API and one-big-lib change.
2018-01-16 12:54:37 +03:00
tox-user
a729f2f8c0
feat(groupchat): mark blocked users with different color
...
Marks blacklisted groupchat users with red color.
2018-01-14 21:24:50 +01:00
Pavel Karelin
74d470d428
chore: Reorganization of the context menu for chat
...
1. The action "Quote selected text" moved to top of the menu list.
We assume that this is the most used menu item.
2. The short keys for "Quote selected text" and
for "Clear displayed messages" now is visible in the context menu.
3. For action "Clear displayed messages" add message box
with confirmation of this operation.
2018-01-14 21:31:10 +03:00
iphydf
398ba415ce
chore: Update to immutable TES API and one-big-lib change.
2018-01-14 15:47:43 +00:00
tox-user
4288785d31
feat(UI): new status icons for message notifications
...
implements #4858
2018-01-13 22:16:14 +01:00
sudden6
1a06f85d3c
feat(l10n): add Macedonian translation
2018-01-11 22:20:17 +01:00
sudden6
a49e34589f
fix(UI): prevent deadlocks on logout and profile delete
...
fixes #4896
2018-01-11 12:10:30 +01:00
sudden6
c4fb495eb6
Merge pull request #4900
...
Pavel Karelin (1):
chore: Elide text for CallConfirmWidget
2018-01-11 11:33:21 +01:00
Pavel Karelin
6d14f09001
chore: Elide text for CallConfirmWidget
2018-01-09 16:41:40 +03:00
sudden6
ea6364ae02
Merge pull request #4886
...
Pavel Karelin (1):
fix: Correct display the call confirm window (CallConfirmWidget)
2018-01-04 23:05:59 +01:00
sudden6
196529b8e8
chore: disable broken autoupdater by default
2018-01-04 01:03:52 +01:00
Pavel Karelin
f4fe343eca
fix: Correct display the call confirm window (CallConfirmWidget)
...
With an incoming call, the confirmation window (CallConfirmWidget) is only displayed
when the caller is on the active tab. In other cases, the call confirmation window
is not displayed, as a result, the call cannot be answered.
The problem is manifested in Kubuntu 14.04 and Ubuntu 16.04 MATE (Qt 5.6.3/5.9.3)
2018-01-03 16:32:28 +03:00
Diadlo
0efa42d423
refactor: Update AboutFriend with new interface
2017-12-24 13:23:31 +03:00
Diadlo
b53569c362
refactor: Add using IFriendSettings in AboutFriend model
2017-12-24 13:23:31 +03:00
Diadlo
e4537c04bc
refactor: Add IFriendSettings
2017-12-24 13:23:31 +03:00
Diadlo
63bd3831ce
refactor: Use signal + slot to update view
2017-12-24 13:10:07 +03:00
Diadlo
87baf0e690
refactor: Improve interface
2017-12-24 13:10:07 +03:00
sudden6
ff2fc18be1
fix(video): improve debug message
...
Distinguish between "invalid" pixel format and "unknown" pixel format
due to unsupported platform
2017-12-22 21:33:57 +01:00
sudden6
81522deabd
fix(video): choose first available resolution in preview automatically
2017-12-22 21:33:57 +01:00
sudden6
a2927de27d
fix(video): use float framerates also for V4L2
...
also make -1 the default value for the framerate
2017-12-22 21:33:35 +01:00
sudden6
db7ee65d0e
fix(video): allow not integer framerates
...
Fix #4866 and #4764
2017-12-21 21:28:27 +01:00
Pavel Karelin
0869d3d8fd
fix: elimination of warning '-Wreorder'
2017-12-17 20:59:09 +03:00
sudden6
af1aebfd1a
fix(chatwidget): fix send file button not working
...
fixes #4854
2017-12-12 12:53:27 +01:00
Diadlo
8de8c14a76
fix(video): Fix square form of a video
...
Use right sign to compare NON-equal double numbers
2017-12-04 09:51:01 +03:00
Diadlo
8db61f96ec
fix(cpu): Reduce CPU usage by avatar render
...
Fix #4843
2017-12-03 00:26:25 +03:00
Diadlo
bb26485db6
feat(avatar): Add outline hightlight on mouse hover
2017-11-27 01:20:30 +03:00
Diadlo
73dcbd2e60
refactor: Make MaskablePixmapWidget allow to apply style
2017-11-27 01:20:30 +03:00
Diadlo
91dabf11d3
fix: Use epsilon to compare float
...
Fix #2394 (5)
2017-11-27 01:20:09 +03:00
Diadlo
a96fbf1923
refactor: Remove code duplication from GroupWidget
...
Fix #2394 (4)
2017-11-27 01:20:09 +03:00
Diadlo
1eb0c4af26
refactor: Add pure virtual methods for main actions in chat
2017-11-26 23:13:12 +03:00
Diadlo
e3bb4e735f
refactor: Move buttons style in ChatForm css
2017-11-26 23:13:12 +03:00
Diadlo
bf1c789fc1
refactor(style): Move chatFormHeader to chatForm
2017-11-26 23:13:12 +03:00
Diadlo
33736da543
refactor: Restruct code
2017-11-26 23:13:12 +03:00
Diadlo
6780331f40
refactor(chatform): Remove Nexus and Profile dependency from ChatForm
2017-11-26 23:12:48 +03:00
sudden6
2c9cc71f97
Merge pull request #4818
...
tox-user (2):
feat(settings): add an option to toggle identicons
fix(identicon): don't set identicon as an avatar
2017-11-25 21:24:06 +01:00
Diadlo
9ac5f881c6
refactor: Rename signal and remove unused params
2017-11-25 01:16:10 +03:00
Diadlo
7c76bebebe
fix(group): Send all parts of long message
...
Fix #4832
2017-11-25 01:16:10 +03:00
Diadlo
c0a7488c12
fix(friend): Add save friend alias on change
...
Fix #4706
2017-11-25 01:15:54 +03:00
Diadlo
5bc8ef4e74
fix(chatForm): Fix issue with mixing friend and group id
...
Fix #4828
2017-11-23 20:48:46 +03:00
tox-user
676be5f625
fix(identicon): don't set identicon as an avatar
...
Do not save user's identicon to a file like a normal avatar. This allows
'Use identicons' setting to affect user's own identicon.
2017-11-22 22:46:01 +01:00
Diadlo
c274cec87e
fix(ipc): Add check if IPC init failed
...
Also add error code to debug message.
Partially fix #4785
2017-11-22 22:59:51 +03:00
tox-user
905ca77086
feat(settings): add an option to toggle identicons
...
Solves #4741
Adds a setting to User Interface tab that allows to toggle displaying
identicons instead of default avatar picture.
2017-11-21 23:52:06 +01:00
Diadlo
d77fbb4b19
fix(chatform): Subscribe on accept and reject buttons once
...
Fix #4799
For every call was created new connection. First call was success. The second
call leaded to double answer: after the second core removes 'friendNum' from
'calls' list and cancels call. The third call leaded to triple answer, where the
first two same as before and the last one - tried to answer on call with removed
'friendNum' => assert failed.
2017-11-20 23:34:12 +03:00
Diadlo
f4a3bb2812
fix(chatform): Hide call confirm on call end
...
Fix #4799 (4)
2017-11-20 23:34:12 +03:00
Diadlo
78262b41bd
fix(core): Check that result of get peer name is successful
...
Fix #4802
2017-11-17 23:38:54 +03:00
Diadlo
2f9ba3c4d7
fix(group): Add second signal for titile changed
...
Fix #4800 .
In old implementation after Core title change notification, Group
updates self name and emit signal, core as subscribed on this signal and try to
change title twice.
In new implementation was added new signal to Group:
1. To notify core about user changes.
2. To notify views about core changes.
2017-11-15 09:17:22 +03:00
Diadlo
07ceb15e01
refactor: Move helper function in anonymus namespace
2017-11-14 21:24:36 +03:00
Diadlo
850e501acc
refactor: Use chatFormHead css
2017-11-14 21:24:35 +03:00
Diadlo
8c65aa6656
refactor: Extract button creation in function
2017-11-13 21:23:45 +03:00
Diadlo
62c60a89df
refactor: Remove unused 'SettingsWidget' from 'ContentDialog'
2017-11-13 15:25:02 +03:00
Diadlo
47da91d74f
refactor: Use loaded icons as cache, make getAsIcon const
2017-11-13 14:46:37 +03:00
Diadlo
fa21594902
perf(smileys): Cleanup smileys icons by timer
2017-11-13 14:46:37 +03:00
Diadlo
c640007775
perf(smileys): Use shared_ptr to automaticaly count references
2017-11-13 14:46:37 +03:00
Diadlo
d83400bcdc
perf(smileys): Use lazy smileys loading
2017-11-13 14:46:37 +03:00
Gavin Stark
d24d4fb8ea
feat(audio): microphone voice activation
...
adding volume based voice detection
2017-11-13 00:48:46 -06:00
sudden6
5d6ae9ae37
fix(video): don't use pointers to temporary objects
...
fixes #4764
2017-11-12 13:10:35 +01:00
Zetok Zalbavar
8a9c34d888
fix: add default return in Widget::getStatusIconPath to fix warning
...
Fixes warning produced with `-Werror=return-type` on GCC 5.4.0.
2017-11-11 16:00:57 +00:00
Diadlo
9731d95c57
refactor(avform): Inject settings in AVForh
...
Inject settings, core, audio, camera source
2017-11-10 23:27:06 +03:00
Diadlo
bc05d531a3
refactor(video): Add video settings interface
2017-11-10 23:27:06 +03:00
Diadlo
44258b01f5
refactor(audio): Add audio settings interface
2017-11-10 23:27:06 +03:00
Diadlo
0a58c2fa5b
refactor: Store buttons state and calculate style and tooltip
2017-11-10 14:08:03 +03:00
Diadlo
8aa372854f
refactor: Use repolish instead of setting same stylesheet
2017-11-10 14:08:03 +03:00
Diadlo
1f8a5619c8
refactor: Remove call type from callAccepted signal
2017-11-10 14:08:03 +03:00
Diadlo
7b893346f0
refactor: Use unique ptr for call confirm widget
2017-11-10 14:08:03 +03:00
Diadlo
ba1581005b
refactor: Extract head widget from GenericChatForm
...
Also fix #2749
2017-11-10 14:08:03 +03:00
sudden6
511b8af954
Merge pull request #4779
...
Jiachen Yang (1):
fix: using current setting in autoaccept dialog
2017-11-09 21:28:37 +01:00
noavarice
3ae1e2a25b
refactor: simplified applMarkdown()
2017-11-03 21:00:10 +03:00
noavarice
de108ce834
refactor: allow newline|space to appear after multiline code seq
...
Also added tests
2017-11-03 21:00:09 +03:00
noavarice
6ffe4cd8d8
fix: URL patterns based on RFC 3986
...
Also added const's and changed way of REGEX_TO_WRAPPER' initialization
2017-11-03 21:00:09 +03:00
noavarice
7b74cc5019
refactor: added separate regex for single slash and minor change
...
Also added lazy evaluator operator for single, double sign regex
and regex for multiline code for performance reason. Added missing
QStringLiteral
2017-11-03 21:00:08 +03:00
noavarice
d48a479a39
refactor: applyMarkdown() function logic is more rigorous
...
Brief list of changes:
- changed way of getting count of formatting symbols for captured
string: patternSignsCount() function replaced with constant index
which points to regex group that captures formatting symbols.
Regexes updated accordingly;
- updated docs for applyMarkdown() function;
- applyMarkdown() function refactored:
* changed var names;
* logic is more strict: get captured string -> crop formatting symbols
if necessary -> wrap captured string into HTML and replace in result.
2017-11-03 21:00:08 +03:00
noavarice
5e5352c268
refactor: changed markdown regexes and related constants
...
Brief list of changes:
- removed several headers;
- added single array of pairs for direct mapping regexes to HTML
wrapper strings;
- COMMON_PATTERN splitted into two regexes;
- wrapper for hrefs is a single constant.
2017-11-03 21:00:08 +03:00
noavarice
1ac21c07db
refactor: replace TextFormatter class with function
...
Brief list of changes:
- removed TextFormatter class and its unnecessary instantiation;
- added single method for applying markdown.
2017-11-03 21:00:08 +03:00
noavarice
e9209b06f9
refactor: independent URL highlighting
...
Brief list of changes:
- removed workarounds while applying markdown;
- URL highlighting now is independent for markdown support;
- URL patterns reverted to the state they were before.
2017-11-03 21:00:01 +03:00
anthony.bilinski
1394dd1b7f
fix(call): fix bugs introduced from ToxCall refactor
...
-inverted call active booleans
-audio subscription leak on move assignment
-NullVideoBitrate check
-return peers list by reference so that adding audio source in GroupCallCallback is persisted
-fix output muting for friend calls
2017-11-02 13:41:44 -07:00
Jiachen Yang
70b235f271
fix: using current setting in autoaccept dialog
...
This should fixes #4777
2017-11-02 02:05:54 +09:00
Diadlo
4af90a7f97
Merge pull request #4677
...
anthony.bilinski (1):
fix(logout): Synchronously call showLogin to avoid multiple deletion
2017-11-01 12:51:53 +03:00
Diadlo
d07f53f292
Merge pull request #4671
...
anthony.bilinski (1):
fix(settings): Delete dynamically allocated members on destruction
2017-11-01 12:45:13 +03:00
Diadlo
e4064ba8b1
docs(toxmedata): Add docs to functions
2017-10-31 17:51:26 +03:00
Diadlo
6a18ca5243
refactor(toxmedata): Use QJsonObject to parse and build json
2017-10-31 17:51:26 +03:00
sudden6
967dab8700
style: run format-code.sh on the files
2017-10-31 09:32:53 +01:00
sudden6
90bf0a7e2c
refactor(toxcall): make toxcall a class with getters and setters
2017-10-31 09:32:53 +01:00
sudden6
1dce8f6468
refactor(core): rename corestructs to toxfile.cpp
...
It only contains this struct now.
2017-10-31 09:32:53 +01:00
sudden6
cac25b4477
refactor(core): move Status class to core.h
2017-10-31 09:32:52 +01:00
sudden6
d2adfe4ca7
refactor: fix some warnings reported with "-Wall"
2017-10-31 09:32:52 +01:00
sudden6
2a15927a16
refactor(core): remove unused declaration
2017-10-31 09:32:47 +01:00
Zetok Zalbavar
641a80842e
feat(l10n): add Serbian (latin) translation to UI
2017-10-29 11:36:02 +00:00
Zetok Zalbavar
3c4b1f117d
feat(l10n): add Serbian translation to UI
2017-10-29 11:36:02 +00:00
Zetok Zalbavar
76df9a4535
feat(l10n): add Persian translation to UI
2017-10-29 11:36:01 +00:00
Zetok Zalbavar
37419825ca
fix: remove unnecessary semicolon to compile with -pedantic
flag
2017-10-29 06:36:31 +00:00
sudden6
b07ea763cd
refactor(toxcall): remove callId from ToxCall members
2017-10-28 11:47:56 +02:00
sudden6
4149b5b252
refactor(coreav): remove unused IndexedList
2017-10-28 11:47:56 +02:00
sudden6
ed4b063994
refactor(coreav): replace IndexedList with std::map
2017-10-28 11:47:51 +02:00
Diadlo
3c8bf628bd
refactor(callconfirm): Remove unused friend parameter
2017-10-26 16:59:26 +03:00
Diadlo
25ab974f1e
Merge pull request #4761
...
anthony.bilinski (1):
fix(profile): Fix status message and username signal connection typo
2017-10-26 16:58:10 +03:00
sudden6
fed7060270
fix(video): prevent segfault when ending videocall
2017-10-26 12:32:35 +02:00
anthony.bilinski
d41031bd15
fix(profile): Fix status message and username signal connection typo
...
Fixes #4760
2017-10-25 14:17:01 -07:00
Diadlo
92def839d0
fix(cameradevice): Save string in local variable to avoid errors
2017-10-23 21:04:34 +03:00
sudden6
ecea41045c
fix(video): reduce default video bitrate to make it more usable
2017-10-23 14:22:26 +02:00
sudden6
1d790190d8
Merge pull request #4747
...
anthony.bilinski (1):
fix(video): Set toxav video bitrate to 0 if answering audio-only call
2017-10-23 13:46:34 +02:00
sudden6
923fd48c33
Merge pull request #4748
...
anthony.bilinski (1):
fix(ui): Set tooltip colour and background for all tooltips
2017-10-23 13:43:45 +02:00
sudden6
acfe237e74
Merge pull request #4734
...
anthony.bilinski (1):
fix(preview): only downscale preview images, never upscale
2017-10-22 14:00:03 +02:00
anthony.bilinski
b1f40decd8
fix(ui): Set tooltip colour and background for all tooltips
...
Fixes #4667
2017-10-21 15:30:40 -07:00
anthony.bilinski
5046fc9010
fix(logout): Synchronously call showLogin to avoid multiple deletion
...
Fixes #4201
2017-10-20 14:14:37 -07:00
noavarice
5e45569973
fix: add missed <functional> header
2017-10-20 22:39:10 +03:00
anthony.bilinski
45b3575d79
fix(preview): only downscale preview images, never upscale
...
Fixes #4733
2017-10-20 12:01:34 -07:00
sudden6
6d1b1f62ab
fix(settings): prevent signed overflow and associated warning
2017-10-20 00:17:10 +02:00
anthony.bilinski
1613044c68
fix(video): Set toxav video bitrate to 0 if answering audio-only call
...
Before we would set the video bitrate to 0 if sending an audio-only call, but we would still set the video bitrate to default when receiving an audio only call. In bad network conditions, this caused tox to ask us to decrease video bitrate in audio-only calls.
2017-10-19 12:18:44 -07:00
sudden6
2f13796acc
fix(ffmpeg): don't use deprecated features
2017-10-19 00:41:57 +02:00
anthony.bilinski
7170b48589
fix(init): register AV connects and call after AV is ready
...
Fixes #4651
2017-10-13 15:22:24 -07:00
Diadlo
2f1bf10780
fix(toxme): Add #include <ctime> to toxmedata
...
Fix #4730
2017-10-13 17:10:10 +03:00
Diadlo
9a543548e0
refactor(toxme): Move json generation to ToxmeData class
2017-10-13 14:56:15 +03:00
Diadlo
ae7b47342d
refactor(profile): Move core connect from form to model
2017-10-13 09:12:42 +03:00
Diadlo
36adfc89e9
refactor(profileform): Integrate ProfileInfo in ProfileForm
2017-10-13 09:12:41 +03:00
Diadlo
49915c0a45
refactor(profileinfo): Move some methods in profile info class
2017-10-13 09:12:41 +03:00
Diadlo
4a11a0eb22
refactor(profileinfo): Add profile info model class
2017-10-13 09:12:41 +03:00
Diadlo
78966c1f02
refactor(profileform): Use new connect style
2017-10-13 09:12:41 +03:00
Diadlo
b41767d087
fix: Use correct initialization order
...
Fix #4727
2017-10-12 23:45:53 +03:00
Diadlo
6a87ff8853
docs(interface): Add docs to interface macroses
2017-10-11 08:51:32 +03:00
Diadlo
68813a37c3
refactor: Remove Settings from Core
2017-10-11 08:51:32 +03:00
Diadlo
7f2bd726ef
refactor: Integrate ICoreSettings in Core
2017-10-11 08:51:32 +03:00
Diadlo
4e3b2291f5
refactor: Create interface for core settings
2017-10-11 08:51:32 +03:00
Diadlo
0c8c16e743
refactor: Extract DhtServer in separate file
2017-10-11 08:51:32 +03:00
Diadlo
256b24ff21
refactor: Improve interface
2017-10-11 08:51:32 +03:00
sudden6
1fc7fe2d58
Merge pull request #4638
...
noavarice (1):
refactor(toxid): use left instead of mid
2017-10-10 13:08:15 +02:00
Zetok Zalbavar
c089c80e53
fix: remove unused variables
2017-10-08 12:44:56 +01:00
sudden6
b609a8f99a
Merge pull request #4697
...
tox-user (5):
feat(settings): Add audio quality setting
feat(settings): make audio quality setting persistent
refactor(settings): use constants in audio quality setting
refactor(settings): use a cleaner way to read and set audio bitrate
style(settings): change names of local constants to camel case
2017-10-08 00:18:06 +02:00
sudden6
003fc6b0b0
feat(identicon): use Identicons instead of empty avatars
...
fixes #711
2017-10-06 23:57:55 +02:00
sudden6
f82f57ec91
refactor: don't pass ToxPk as QString
2017-10-06 23:57:55 +02:00
sudden6
61b36d1bce
feat(identicon): add algorithm to create identicons
...
ported from https://github.com/sudden6/rust-identicon/blob/master/src/lib.rs
but slightly changed the algorithm
2017-10-06 23:57:51 +02:00
Vincas Dargis
729dc7740b
fix(platform): use result to remove -Wunused-result warning
...
Check for write() and read() results and abort in case of unexpected
failure.
2017-10-04 19:11:52 +03:00
tox-user
78c6869e4c
style(settings): change names of local constants to camel case
2017-09-30 17:22:35 +02:00
tox-user
e4b0c54965
refactor(settings): use a cleaner way to read and set audio bitrate
2017-09-30 15:49:11 +02:00
tox-user
b36a7bdec9
refactor(settings): use constants in audio quality setting
2017-09-30 12:52:09 +02:00
tox-user
7ed2d97aad
feat(settings): make audio quality setting persistent
2017-09-29 12:33:30 +02:00
sudden6
ab12555935
Merge pull request #4679
...
anthony.bilinski (1):
fix(IPC): don't double lock shared memory
2017-09-28 18:42:53 +02:00
tox-user
61eddc1f6b
feat(settings): Add audio quality setting
...
Fixes #4693
2017-09-28 16:14:36 +02:00
sudden6
ce0c102011
Merge pull request #4675
...
anthony.bilinski (1):
feat(login): Add command line argument to open login screen
2017-09-27 19:43:14 +02:00
Yuri
8522141b1e
fix(threads): Always stop the camera device thread
2017-09-26 22:42:48 -07:00
anthony.bilinski
0906b8eb1f
feat(login): Add command line argument to open login screen
...
Fixes #4673
2017-09-26 13:41:46 -07:00
Diadlo
f790747f2a
fix: ATOMIC_FLAG_INIT can't be used inside braces initializer
2017-09-26 21:00:49 +03:00
Diadlo
f97c776a87
fix: Return value
2017-09-26 21:00:39 +03:00
Diadlo
43c2308b7b
fix(ipc): Reorder initialize list
2017-09-26 21:00:39 +03:00
Diadlo
aa356bb73a
fix(audio): Fix signed and unsigned comparation
2017-09-26 21:00:39 +03:00
Diadlo
026517dc5a
chore(warning): Fix compile warnings
...
- change preprocessor warning on runtime qWarning
- add parentheses around ‘&&’ within ‘||’
2017-09-26 21:00:39 +03:00
anthony.bilinski
0bf27a000a
fix(IPC): don't double lock shared memory
...
Fixes #4678
2017-09-25 10:37:01 -07:00
anthony.bilinski
94cb6ce1c5
fix(settings): Delete dynamically allocated members on destruction
...
Fixes #4670
2017-09-21 13:29:20 -07:00
sudden6
6a5a7564aa
Merge pull request #4644
...
anthony.bilinski (1):
feat(paste): Implement pasting images from clipboard
2017-09-20 11:16:08 +02:00
sudden6
75438d46b2
Merge pull request #4643
...
anthony.bilinski (1):
feat(exif): Honour exif orientation tag
2017-09-20 11:14:42 +02:00
sudden6
ed634ae0f4
Merge pull request #4610
...
drswinghead (1):
feat(settings): add group chat local member black list
2017-09-19 21:23:55 +02:00
anthony.bilinski
414fa178b4
feat(exif): Honour exif orientation tag
...
Fixes #1848
2017-09-19 10:00:05 -07:00
anthony.bilinski
5fed37365f
feat(paste): Implement pasting images from clipboard
...
Fixes #1290
2017-09-19 09:56:34 -07:00
sudden6
9c01eec268
Merge pull request #4607
...
anthony.bilinski (1):
fix(receipts): Prevent double message send for received receipt
2017-09-17 23:19:24 +02:00
noavarice
b967d28465
refactor: use GroupInvite instead of set of parameters
2017-09-17 19:54:06 +03:00
noavarice
d514b48ef6
refactor: register GroupInvite as meta-type
2017-09-17 19:54:06 +03:00
noavarice
fd1fbebae0
refactor: more rigorous types for GroupInvite
2017-09-17 19:54:06 +03:00
noavarice
ad3584c469
refactor: GroupInvite moved to model directory
2017-09-17 19:54:01 +03:00
sudden6
d746ea9daf
Merge pull request #4650
...
anthony.bilinski (1):
feat(ui): output instructions when user tries to open a second instance
2017-09-17 11:24:34 +02:00
drswinghead
27ecace752
feat(settings): add group chat local member black list
2017-09-16 10:22:08 +08:00
anthony.bilinski
a601df31da
fix(exit): delete heap-based QApplication before exit
...
Fixes #4648
2017-09-14 00:01:38 -07:00
anthony.bilinski
48d65c269a
feat(ui): output instructions when user tries to open a second instance
...
Fixes #3483
2017-09-14 00:00:38 -07:00
Diadlo
c49959711e
Merge pull request #4620
...
anthony.bilinski (1):
fix(chatform): Hide author on history like on new messages
2017-09-11 08:42:42 +03:00
Diadlo
bd6516eab7
fix: Fix crash on auto accept click in AboutFriendForm
...
Fix #4600
2017-09-10 13:22:54 +03:00
Diadlo
aae23c4154
refactor: Make direct connection
2017-09-10 13:21:33 +03:00
Diadlo
2020f7c4f8
refactor: Add signals in settings
2017-09-10 13:21:33 +03:00
Diadlo
a626888daa
refactor(interface): Add connectTo_* virtual method instead of signals
2017-09-10 13:21:33 +03:00
Diadlo
918cdf1368
refactor: Add using AboutFriend model in AboutFriendForm
2017-09-10 13:21:33 +03:00
Diadlo
b0a591e0f0
refactor(aboutfriend): Add AboutFriend model and interface
2017-09-10 13:21:33 +03:00
Diadlo
8368f2413d
refactor: Rename AboutUser to AboutFriendForm
2017-09-10 13:21:32 +03:00
Diadlo
c6d76da0dd
refactor: Use ToxPk instead of ToxId
2017-09-10 13:21:32 +03:00
noavarice
6b93a41a40
refactor: removed unused constant
2017-09-09 23:06:53 +03:00
noavarice
28aed05d0a
refactor: removed unused quitGroupChat method
...
`removeGroup` is used instead of this method
2017-09-09 23:06:53 +03:00
Diadlo
b87248c36b
Merge pull request #4581
...
Vincas Dargis (1):
fix(platform): handle terminating POSIX signals
2017-09-09 23:05:01 +03:00
Diadlo
b0d11b442f
Merge pull request #4632
...
anthony.bilinski (1):
fix(friends): Friend request button target location
2017-09-09 22:37:56 +03:00
Diadlo
549738dc9e
Merge pull request #4634
...
anthony.bilinski (1):
fix(popup): Don't create two error popups for friend requests
2017-09-09 22:31:25 +03:00
Diadlo
e67713527c
Merge pull request #4630
...
anthony.bilinski (1):
fix(avatar): Don't invert default avatar colour on connect
2017-09-09 22:30:15 +03:00
noavarice
b7323e3164
refactor(toxid): use left instead of mid
2017-09-09 22:25:39 +03:00
Vincas Dargis
32b97cb927
fix(platform): handle terminating POSIX signals
...
Add PosixSignalNotifier utility class to covert POSIX signals to
Qt signals and allow qTox to quit appropriately on Linux, FreeBSD
and macOS.
Might protect from data corruption bugs when application is being
terminated during I/O.
Fixes : #4470
2017-09-09 17:19:51 +03:00
anthony.bilinski
e9d63397e1
fix(receipts): Prevent double message send for received receipt
...
Fixes #2726
Register for receipt handling only once, cache receipts that are received before message is writen to history and mark a message as sent once both its receipt has been received and it has been writen to history
2017-09-06 23:35:42 -07:00