1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

325 Commits

Author SHA1 Message Date
krepa098
ddf955afd3 fixed #255 2014-09-09 18:28:07 +02:00
apprb
aa2f67c983 code cleanup 2014-09-07 19:17:47 +07:00
apprb
9970fe293d files renaming 2014-09-07 00:28:26 +07:00
apprb
b68cc66ede scroll fix 2014-09-07 00:21:47 +07:00
apprb
db4c84a222 cleanup 2014-09-07 00:21:47 +07:00
apprb
0fe14953c8 somehow working example 2014-09-07 00:21:47 +07:00
apprb
25ee6a24d9 new chat beginning 2014-09-07 00:21:39 +07:00
apprb
502229a6f2 cleanup 2014-09-05 23:35:29 +07:00
apprb
2826e83cef addMessage moved to parent class 2014-09-05 23:03:26 +07:00
apprb
522d570e62 code cleanup 2014-09-05 23:03:26 +07:00
apprb
02da6803f1 initial merging common parts of chatforms' widget 2014-09-05 23:03:08 +07:00
Tux3 / Mlkj / !Lev.uXFMLA
627f58087c Disable status button when disconnected 2014-09-03 00:01:04 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
bedc995659 Merge pull request #248 from apprb/chat_widget
FriendWidget and GroupWidget improvements
2014-09-01 21:24:30 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3c8f39c2ca Merge pull request #244 from apprb/dev
fix #243 : Smileys are broken
2014-09-01 19:48:12 +02:00
apprb
e76464a320 further GroupWidget and FriendWidget unification: activeFriendWidget and activeGroupWidget pointers replaced by the unified activeChatroomWidget pointer 2014-09-01 23:58:01 +07:00
apprb
35b7ad3a58 Chatroom: common parts moved to the parent class 2014-09-01 23:57:51 +07:00
apprb
24971f50e9 fix #243 : Smileys are broken 2014-09-01 18:55:07 +07:00
krepa098
7e6c4f5129 cleanup 2014-09-01 12:27:41 +02:00
krepa098
1cd954ba42 compatibility with old widgets 2014-09-01 11:16:41 +02:00
krepa098
26c028f416 removed ClickableLabel, EditableLabelWidget, ElideLabel, EscLineEdit,
CopyableElideLabel
2014-09-01 11:08:02 +02:00
krepa098
7c0cdd710f editable CroppingLabel 2014-09-01 11:00:06 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
c54cfd6ff3 Reduce precision of human readable, now more readable! 2014-08-31 23:07:07 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
73309d8b90 Fix #235, Fix #84 2014-08-31 22:26:45 +02:00
apprb
fd4c47cba3 Widget code cleanup: removed isFriendWidgetActive and isGroupWidgetActive 2014-08-31 23:49:15 +07:00
Tux3 / Mlkj / !Lev.uXFMLA
76971f5238 Make notifications consistent
Notify of AV and FT requests if we're selected but not active or minimised, and add sound (consistent with how message notifications work)
2014-08-31 18:30:04 +02:00
apprb
f0c8be43db change status light on incoming file request 2014-08-31 22:02:08 +07:00
apprb
a3785f3c27 Widget::updateFriendStatusLights moved to FriendWidget 2014-08-31 22:02:08 +07:00
apprb
7fe938a7ca filenames and paths processing little fix 2014-08-31 22:02:08 +07:00
Tux3 / Mlkj / !Lev.uXFMLA
6668cdc1e7 Never use [-]9.9e[+|-]999 format for human readable numbers 2014-08-31 13:27:42 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
4a66026676 Fix #174, was only partially fixed 2014-08-31 12:49:58 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f97729261a Clean & remove old code and dependencies
We don't use QtMultimedia and OpenCV_imgproc anymore

Fixes #218
2014-08-30 15:15:23 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5b617dd4fb Always unmute mic when a call ends
Since the mute mic button will be disabled
2014-08-29 19:28:22 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3fc9cc0d83 Fix #219, handle av media changes
Can now start or stop video on demand of the peer
2014-08-29 19:20:34 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
bd1ca80ffd Fix #213 2014-08-29 18:16:16 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ccdb3b57fd Remove all Qt video code 2014-08-29 14:42:38 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
938650fa40 Color compatibility with uTox 2014-08-29 14:33:19 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6348976df7 Switch network camera to OpenCV 2014-08-29 14:20:32 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f4b1b64ae6 Switch self cam view to OpenCV 2014-08-29 13:40:37 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2612073842 Fix #215, update translations 2014-08-29 11:56:42 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
74e9d7a4f5 Fix division by 0 when receiving from empty files
Like /dev/zero.
2014-08-28 19:21:48 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
af9c370169 Forbid sending sequential files
They aren't seekable, and tend to be infinitely big..
2014-08-28 19:06:51 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8602327d16 Term deadlocked threads on exit
To prevent deadlocking the whole thing when we really just want to exit

Qt w/ pulseaudio can deadlock internally on call start if it fails to connect to the PA context. Awesome.
2014-08-28 13:09:26 +02:00
apprb
11c6dd7bec sort the friendlist by contact Status 2014-08-23 02:12:37 +07:00
midnight079
ec1facccf8 fixed some bugs with micButton 2014-08-19 21:49:35 +02:00
midnight079
b474ff2c2b realized micButton for calls 2014-08-19 21:49:32 +02:00
midnight079
ca9a9b79cb micButton and volButton were added to chatForm, but micButton for some
reason is blinking
2014-08-19 21:46:59 +02:00
krepa098
75f15dd349 fixed null dereference 2014-08-18 17:35:43 +02:00
krepa098
01c3124722 use trimmed() 2014-08-18 15:56:48 +02:00
krepa098
7e67078187 fix issue #184 2014-08-18 10:58:51 +02:00
krepa098
eefa8d8ae6 only show tooltip if required 2014-08-16 19:27:16 +02:00
krepa098
1f92ad18a8 CroppingLabel, fixes issue #184 2014-08-16 19:27:16 +02:00
krepa098
2cbbfb7037 this actually belongs here 2014-08-16 19:27:16 +02:00
apprb
5f4c282215 Fix #102 (Greentext only lines with ">") 2014-08-14 18:55:04 +07:00
krepa098
e5f0ac7c91 moved scrollbar to the left, cleanup 2014-08-11 19:46:14 +02:00
krepa098
9c0d85da0c Merge branch 'style' 2014-08-11 17:25:45 +02:00
krepa098
1c27b55470 use Style::get 2014-08-11 17:23:41 +02:00
krepa098
0d748b93d6 consider scrollbar's width 2014-08-11 17:06:57 +02:00
krepa098
5304621e86 fixed warnings 2014-08-11 14:13:13 +02:00
krepa098
6bb85c65b8 save/restore status of the splitter 2014-08-11 14:07:27 +02:00
krepa098
c9d04748dd put back the not so native window decoration, status panel respects
friendlist width, some tweaks to the layout
2014-08-11 13:56:52 +02:00
krepa098
921b8478f6 removed "the super ugly hack", Widget derives from QMainWindow 2014-08-11 10:00:08 +02:00
krepa098
af4623695c styling cleanup 2014-08-10 18:14:50 +02:00
krepa098
1a88b079e2 tweaked page button 2014-08-10 15:11:59 +02:00
krepa098
d0b11074eb use the new signal slot syntax as they are checked at compile time 2014-08-10 14:47:46 +02:00
krepa098
58b1f043e2 show smiley widget only if there are smileys to show 2014-08-10 14:38:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
c0f1f196b1 Merge pull request #176 from krepa098/smileys
Smileys
2014-08-01 16:06:05 +02:00
krepa098
51ac007baf default settings 2014-08-01 14:46:28 +02:00
krepa098
566402a1bf a shiny new widget 2014-08-01 14:32:51 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2a04fcfcf9 Merge pull request #175 from krepa098/smileys
Smileys
2014-07-31 18:04:35 +02:00
krepa098
6fed143048 cleanup 2014-07-31 17:36:55 +02:00
krepa098
f0306bb25f cleanup 2014-07-31 16:08:44 +02:00
krepa098
f7a357d671 wire up the emote button 2014-07-30 22:07:26 +02:00
krepa098
0d493f4bcf ability to detect smileyPacks 2014-07-30 09:18:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
cc65aa4fd5 Merge pull request #166 from krepa098/smileys
Smileys
2014-07-28 13:41:22 +02:00
Bill Winslow
22375e3b8f Randomized the bootstrap table, to distribute load away from the first 5 2014-07-27 15:55:22 -05:00
krepa098
e01467e386 basic support for smileys 2014-07-25 14:52:14 +02:00
Kevin Flynn
f7e462272a Fix friendList mixed horizontal & vertical scroll, improved scrollbar theme on OS X 2014-07-23 19:05:14 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
fdfe799886 Merge pull request #161 from dubslow/master
two minutiae, one of which is an updated bootstrap that's more useful to me
2014-07-24 02:28:54 +02:00
Marcel
9c0af06c0b use default invite message as placeholder text 2014-07-23 23:52:55 +02:00
Marcel
f080eb12e7 added placeholder text for chat input widget 2014-07-23 23:41:05 +02:00
Bill Winslow
7e208e3302 updated bootstrap.sh so I don't have to not-add it and other minutiae 2014-07-23 05:00:55 -05:00
Bill Winslow
e14b7d66d4 Merge branch 'master' of https://github.com/dubslow/toxgui 2014-07-22 02:54:18 -05:00
Bill Winslow
e31b4457c9 Check that file transfer target is writable 2014-07-22 02:51:20 -05:00
Kevin Flynn
88cc57f4bc Fix #142 2014-07-20 11:17:06 -07:00
dubslow
1644f8c139 Updated the completed transfers widget to work as advertised 2014-07-15 21:37:08 -04:00
dubslow
4bb2ec3356 Add tooltips to user-provided text (helps to accomodate too-long names and msgs)
Ideally this would be done only if the widget is too small for the message, but
that can be quite difficult
2014-07-15 12:04:26 -04:00
Kevin Flynn
ece497b722 Fix status on F1ynn's theme, notify on non-active window (like uTox) 2014-07-13 19:57:09 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
ed0616dd91 Add option to make qTox portable 2014-07-12 22:59:36 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f173a5dfa9 Fix FT progressbar int overflow 2014-07-12 18:40:01 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e63153bfa6 Fix crash on file transfer completed 2014-07-12 18:05:25 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
dc2d7f1085 Various improvement
Aka this commit is a mess, if you're bissecting this, good luck :)
2014-07-12 17:42:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
941a237d4d Preparation for large file transfers 2014-07-12 17:36:38 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ae1ce8ec88 Preparation for new file transfer 2014-07-12 17:29:56 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
29f0520e98 Improve video playing speed 2014-07-12 15:21:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
96268a28d0 Add experimental RGB32 -> YUV420P conversion 2014-07-12 14:41:42 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5458b4b3ee Drop video frames when lagging
Aka, all the time. We only drop received frames, we never stop sending
2014-07-12 14:10:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
457a54d591 Fix video sending 2014-07-12 12:50:40 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2af720877f Merge pull request #126 from dubslow/master
Add the files transfered Widget
2014-07-12 11:55:59 +02:00
dubslow
5cad5fb265 devil's in the details 2014-07-12 05:38:36 -04:00
dubslow
ba2bc21489 *tweaks, omg. The vagaries of version control... 2014-07-12 05:31:10 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
f10e1b5868 Register vpx_image meta type 2014-07-12 10:55:12 +02:00
Bill Winslow
310fd21123 A few teaks... sadly, it doesn't quite work for now
See the comment in filesform.cpp
Also Flynn, a better matching icon is required
2014-07-11 18:07:00 -04:00
Bill Winslow
e0b6fd1e13 Remove username and status message from settings, instead use Core 2014-07-11 16:38:39 -04:00
Bill Winslow
34e596641a Fixed bug the first (still needs everything tested though) 2014-07-11 13:14:56 -04:00
Bill Winslow
806b8ea7c3 cleanup 2014-07-11 12:17:37 -04:00
Bill Winslow
26f2f143fa Initial commit for activating the file transfer button
It compiles, but is in fact untested (and requires one small new icon)
2014-07-11 12:05:18 -04:00
Arne Böckmann
a164e7a991 FIX: updated username and status message on editingFinished() instead of textEdited(). I.e. if the user presses return or the widget loses focus. 2014-07-07 19:10:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6ba8be3503 Fix stack smashing, QTimer threading
QTimer CAN NOT be handled from a different thread, we needed to push them to the Core's thread

Allocating a large video frame buffer on the stack is a Bad Idea(tm), this commit fixes a bad buffer overflow

Also improve our QTimer handling during calls, no need to disconnect/reconnect on call start/end, once is enough, and no need to keep them on the stack
2014-07-07 00:12:07 +02:00
Kevin Flynn
a2815e76f0 Fix buttons on OS X 2014-07-06 14:43:02 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
af4706a892 Merge pull request #109 from F1ynn/fix-104
Fix #104
2014-07-06 19:46:05 +02:00
Kevin Flynn
7d15ae48aa Fix #104 2014-07-06 10:40:59 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
1f3c28c173 Merge pull request #106 from dubslow/master
Added GPL header to all source files
2014-07-06 18:45:33 +02:00
Bill Winslow
14a7d298f4 Added GPL header to all source files 2014-07-06 12:19:45 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
4dcccb8a08 Fix status icon not set on startup 2014-07-06 15:52:02 +02:00
Bill Winslow
27bf913a27 Add a missing connect and missing tr() 2014-07-06 05:51:01 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
cb7f0f8df6 Merge pull request #95 from retuxx/master
Use TOX_FRIEND_ADDRESS_SIZE from tox.h to calcualte length of a valid Tox ID
2014-07-06 07:53:30 +02:00
marcel
4372fea9ea calculate tox id length from definition in tox.h instead of setting it manually 2014-07-06 02:29:57 +02:00
Flynn
b52df4f17e Fix buttons on OS X (hopefully) 2014-07-05 16:39:35 -07:00
Kevin Flynn
c5c0f35f59 Small fixes to status button 2014-07-05 15:03:53 -07:00
Kevin Flynn
0b45edbfd1 Fix spacing in file transfer widget 2014-07-05 14:00:22 -07:00
Kevin Flynn
46784cc1cc Improved status button 2014-07-05 13:54:27 -07:00
Kevin Flynn
a31304d9e2 Added proper status button
Pixels in status image are shifted slightly, but since this involves
changing the .ui file it's better to merge sooner rather than later.
2014-07-05 12:30:00 -07:00
Kevin Flynn
d1a3a42d88 Removed debug code accidentally included in last commit 2014-07-05 01:04:16 -07:00
Kevin Flynn
e6b17b470c Fix segfault when using custom window borders 2014-07-05 01:01:19 -07:00
Kevin Flynn
898a366cdd Fix bug #58, clean up some uneeded code 2014-07-04 23:50:18 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
0ea28fb109 Remove streches of size 0 2014-07-05 07:33:11 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a8dde773f5 Add special error message on NXDOMAIN 2014-07-05 07:28:15 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8e46c78068 Merge pull request #80 from F1ynn/fix-widget-win8
Small widget improvements
2014-07-05 07:22:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
fce95e9637 Don't write tox_save when unnecessary
Fixes #76 and makes the GUI noticeably faster on slow hard drive.
2014-07-05 06:25:17 +02:00
Flynn
b5eddef8a9 Fix bug in new file transfer widget 2014-07-04 18:55:19 -07:00
Flynn
9c7998d38b Improve file transfer dialog 2014-07-04 16:59:11 -07:00
Flynn
352b8396ae Fix QSplitter handle color on Windows 2014-07-04 13:55:53 -07:00
Flynn
404be4b635 Make label readable on windows system.
Works properly on Win8.1 i686
2014-07-04 13:18:36 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
c3f985db8a Add greentext 2014-07-04 21:30:59 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f9289438af Add option to disable translations 2014-07-04 19:22:43 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3aae8dcde7 Improve Tox ID display in settings
Fixes #42
2014-07-04 18:49:30 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ddab801262 Include math.h for log() (fix for OSX) 2014-07-04 17:47:38 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
365b5f6d59 Fix #72 2014-07-04 16:41:29 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
0a41c0d712 Merge PR57 2014-07-04 16:24:27 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
7c4531cdf9 Enable french translation
On french computers only, obviously
2014-07-04 15:30:47 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2c9d077787 Fix some translation strings, prepare french 2014-07-03 22:15:38 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
537d55bd7f Makes toxgui translatable 2014-07-03 21:42:23 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6a57888771 Add Busy status 2014-07-03 20:00:14 +02:00
Kevin Flynn
16df8e553e Save on event instead of timer trigger 2014-07-03 10:38:30 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
056cf1d658 Context menu to set status
Closes #62
2014-07-03 19:33:08 +02:00
Kevin Flynn
f1d30cbc14 Fix window resize bug 2014-07-03 10:10:49 -07:00
Arne Böckmann
1d216d0ee3 FIX: const correctness 2014-07-03 09:22:12 +02:00
Kevin Flynn
6f30308a2c Fix missing groupchat icon, clean up some code 2014-07-03 00:06:20 -07:00
Kevin Flynn
94fb31633e Fix QSplitter color to match mockup 2014-07-02 23:53:14 -07:00
Kevin Flynn
a34e28518f Added resizable friendList
Not perfect, but a good start. Note that the editable name&status labels
disappeared, QDesigner seems to have turned them into regular QLabels
(no idea why).
2014-07-02 23:43:23 -07:00