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

340 Commits

Author SHA1 Message Date
Diadlo
3edd84c4d8
refactor(videomode): Move implementation in cpp file 2016-07-27 00:40:15 +03:00
Nils Fenner
0b2dfc0305
refactor(avform): improve code flow
* rename file avsettings.ui -> avform.ui, introducing seamless switching between UI/Code
* switch to "private multi-inheritance" pattern, which has several advantages
2016-07-20 23:49:12 +02:00
Zetok Zalbavar
2d06b9960c
fix(qtox.pro): don't depend on GTK in order to build on Linux 2016-07-06 10:40:44 +01:00
sudden6
279225cd2d
chore(qtox.pro): enable maximum ressource compression
This change reduces memory usage during compilation from ~1.2GB to ~600MB.
Additionally it reduces the size of a dynamically linked qTox binary from
~10MB to ~6MB.
2016-06-20 22:33:50 +02:00
Colomban Wendling
5f34a959fc refactor: replace CapsLockIndicator with new PasswordEdit widget
Introduce a new PasswordEdit widget extending QLineEdit that takes care
of all the specifics of a QLineEntry when it is used to input a
password, including echo mode and caps lock indicator.

Also optimize the event handling to only listen to global events when
it is actually needed, e.g. when a password field is actually visible.
2016-06-17 21:55:27 +02:00
sudden6
7ca98093a2
Merge pull request #3257
Diadlo (10):
      feat(capslock): Added caps lock checker
      feat(loginform): Added caps lock indicator to newPass
      feat(loginscreen): Created new CapsLockIndicator class
      feat(capslockindicator): Added tooltip
      fix(platform): Added checkCapsLock OSX implementation
      docs(INSTALL.md): Added libX11 in dependencies
      refactor(loginscreen, capslockindicator): Caps Lock indicator class was made independent
      fix(capslockindicator): Tooltip color was changed. Tooltip translation was added
      style(capslockindicator): Fixed code style
      fix(capslockindicator): Fix position of capslock indicator
2016-06-12 00:31:40 +02:00
Diadlo
af497a9efd
refactor(loginscreen, capslockindicator): Caps Lock indicator class was made independent 2016-06-07 11:27:58 +03:00
Diadlo
35a0e1fb6f
fix(platform): Added checkCapsLock OSX implementation 2016-06-07 11:27:58 +03:00
Diadlo
97f95e7e91
feat(capslock): Added caps lock checker 2016-06-07 11:27:58 +03:00
Nils Fenner
792103f8b0
refactor(filter_audio): completely remove filter_audio dependency
The filter_audio API is not working for qTox/Tox and thus disabled by default via compiler switch. In current qTox UI, it is not configurable, even when this switch is enabled. According to issue #3194 the library is no longer maintained as well. I don't see any reason to keep it in qTox.
2016-06-04 22:12:27 +02:00
tux3
0a976c7a50
fix(build): Link qrencode statically on Jenkins 2016-06-03 14:45:42 +02:00
tux3
9de833ad39
fix(build): Jenkins ffmpeg link order 2016-06-02 20:14:43 +02:00
tux3
790f9ffc67
fix(build): Fix jenkins static builds 2016-06-02 15:48:32 +02:00
sudden6
e0961722bf
Merge pull request #3302
Diadlo (1):
      refactor(android): All android code is removed
2016-05-15 13:37:55 +02:00
Diadlo
6ed16db5fd
refactor(android): All android code is removed
Closes #3168.
2016-05-15 02:42:20 +03:00
initramfs
8e9a065f16
refactor(hidpi): enable HiDPI support if Qt supports it
Previously HiDPI support is conditionally enabled based on compilation
parameters as well as environmental variables which makes binary
distribution difficult. This commit automatically enables runtime DPI
scaling if Qt supports it (version 5.6 and beyond).
2016-05-04 18:31:24 +08:00
PKEv
9ea25d1fbd feat(importProfile): Add way to import profile
close  #1872
change based on pr #2140 by @agilob
2016-04-25 21:12:31 +03:00
Jason Papakostas
218228b696 feat: install icons with make install on unix
qmake doesn't have a straightforward way to change filenames when installing
files so I moved them into subfolders.

issue #2903
2016-04-05 09:54:59 -05:00
sudden6
0330cd7627
Merge pull request #2990
Erik Edrosa (3):
      remove hard coded system tray include paths
      Update list of dependencies with pkg-config
      add ffmpeg libraries to PKGCONFIG
2016-03-26 10:45:47 +01:00
Erik Edrosa
44e7655546 add ffmpeg libraries to PKGCONFIG 2016-03-25 14:18:26 -04:00
sudden6
78551e970e
Merge pull request #2978
sudden6 (12):
      Revert "Revert changes from merge of  #2092 pull request"
      port groupinvitform to new ui
      fix segfaults
      adapt groupinviteform to existing conventions
      Fix notification opening wrong form
      notify on friendrequest and groupchat invite
      fix layout of friendrequest form
      fix segfault when logging out and in again
      reject multiple friend requests from one person     makes https://github.com/TheSpiritXIII/qTox/commit/
      fix wrong text on button
      fix friend request notification if friendrequestform is hidden
      fix notification if friendrequest tab is visible, don't display     friendrequests with html
2016-03-24 20:37:35 +01:00
Zetok Zalbavar
116cc9366c
feat: disable building with filter_audio by default
Given that currently `filter_audio` doesn't help qTox users to improve
quality of their conversations, there's little to no point in making
qTox build with it by default. This might change when (if?)
`filter_audio` support in qTox gets improved/fixed.

BREAKING CHANGE: Disabling of `filter_audio` was done by passing
`DISABLE_FILTER_AUDIO=YES` to `qmake`. With this change `filter_audio`
is disabled by default, and in order to enable it,
`DISABLE_FILTER_AUDIO=NO` has to be passed to `qmake`.
2016-03-21 20:19:40 +00:00
Erik Edrosa
1ebe2a62df add PREFIX variable 2016-03-07 22:44:10 -05:00
Erik Edrosa
be2f9501f8 remove hard coded system tray include paths 2016-03-05 16:02:53 -05:00
sudden6
44ea20f921 port groupinvitform to new ui 2016-02-21 00:45:18 +01:00
sudden6
a89b673b40 Revert "Revert changes from merge of #2092 pull request"
This reverts commit 06611d618e.
2016-02-20 22:32:57 +01:00
Rowen Stipe
a05310e155 Added case for /Application Support/Tox already existing
I tried to get it done without bash… But this was the simplest method
that works for this special case scenerio.
2016-01-20 01:22:25 -05:00
Rowen Stipe
f7c262fb07 Touchups
This commit has several touch ups that only effect the OS X clients.

`info.plist` and `qt.pro` are now configured to create an automatic
short version to help distinguish between clients clearly and include a
referenced file not put into the build when compiled.
`./img/icon/qtox_profile.icns’

`info.plist` also had it’s bundle version to be  updated to the 1.2.2
tag and supported languages added and fixed referenced file.

The default save location has also been moved to comply with the Tox
Client Standard. (Previous location was ~/Library/Prefrences/tox )

A basic bash profile mover has also been included to show I did think
of that.
2016-01-18 14:36:35 -05:00
Andrew Novikov
985def25ff Implemented screen capturing support for Mac OS X 2015-12-23 15:31:28 +03:00
Andrew Novikov
cc64db3f27
Implemented listing and setting video modes on Mac OS X 2015-12-21 01:27:38 +01:00
Andrew Novikov
1dac0d09c8
Rearranged link dependencies. 2015-12-21 01:27:01 +01:00
Andrew Novikov
cf6623cfc8
Implemented enumeration of video devices. 2015-12-21 01:26:18 +01:00
tux3
4f20947ae2
Fix sqlcipher linking order on Windows 2015-12-19 15:58:15 +01:00
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
qTox will automatically import the old history on startup.

This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.

The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
tux3
faa1c3a5d5
Update windows link libs 2015-12-12 15:27:18 +01:00
tux3
d67e6c7449 Improve integrated update code to match the rest
We're doing updates over HTTP until we get a domain name and a cert, but
this is not at all an issue since updates are still signed and checked.
2015-12-10 18:46:07 +01:00
tux3
05c02cee5d
Merge branch 'pr2547' 2015-12-05 15:32:57 +01:00
tux3
2223640fcb
Add Linux install target for qtox and qtox.desktop
Implement the idea in #2622

Thanks to @subliun for the original code
2015-12-05 02:25:53 +01:00
agilob
5ec6840384
Add aboutwindow in qtox.pro 2015-11-09 20:55:31 +00:00
tux3
f45256baf1 Implement group calls 2015-10-23 17:52:45 +02:00
tux3
2b888ddc05 Better data structure for tox calls 2015-10-23 17:19:16 +02:00
Nils Fenner
a2a32b61c4
Audio: persistent volume sliders, mic feedback and volume 2015-10-18 22:21:08 +02:00
agilob
d875221e53
remove unused code, removed unused checks 2015-10-18 10:18:06 +01:00
agilob
266c0fb989
Merge branch TheSpiritXIII:video 2015-10-10 13:49:30 +01:00
Zetok Zalbavar
2acfeaf7c4
Change references to tox.im to tox.chat 2015-09-19 08:55:28 +01:00
TheSpiritXIII
97bdaa5e5f Multi-window: OS X window list, fix OS X translations 2015-09-12 19:07:45 +02:00
TheSpiritXIII
fa3ab02cec Multi-window: Tabbed interface 2015-09-12 19:07:44 +02:00
TheSpiritXIII
22fcc3f7a0 Multi-window capabilities for all chats and menus 2015-09-12 19:07:44 +02:00
Zetok Zalbavar
06611d618e
Revert changes from merge of #2092 pull request
That pull request made qTox crash in a number of ways, with no quick fix
available.

Hopefully there will be a way to fix crash, so that this commit could be
reverted, and fix applied.
2015-08-30 21:28:53 +01:00
agilob
d6b176d955
Merge remote-tracking branch 'TheSpirit/requests'
merge awaiting friend requests, fix formatting conflict
2015-08-30 14:25:46 +01:00
rku
74d98fd0c2 This dialog solves all confusion that arose from current verification method and is accident-proof. Current method asks if
user also wants to remove chat history. However confused user may not carefully read message and click "no" because he does
not want to remve contact. However in this case contact is in fact removed but history is preserved. It is also open to
possiblity that key smashing deletes contact by accident. This is very inconvenient because tox ids are long and hard to
memorize. If someone removes contact by accident then he would need to find id of that contact in order to contact him/her.
Sometimes this may be difficult.

New contact removal confirmation dialog prompts use to enter "YES" in the text boxin order to enable "OK" button so removal
can be accepted. It also has checkbox for history removal. Dialog will work with translations. Russian user would need to
enter "Да" in order to accept removal.
2015-08-22 12:17:04 +03:00
TheSpiritXIII
2043908e15 Remove dialog for group invites 2015-08-21 10:32:00 -04:00
TheSpiritXIII
50041a3140 Video: Initial video when call starts 2015-08-18 17:44:34 -04:00
TheSpiritXIII
814bd922ca Video: Group audio view avatars 2015-08-18 13:40:11 -04:00
TheSpiritXIII
1522d3848c Video: Show avatar, clean ups 2015-08-13 09:31:15 -04:00
TheSpiritXIII
9d12c295be Keep aspect ratio of inner video 2015-08-11 14:01:49 -04:00
TheSpiritXIII
1b10672179 Video: Embed video into chat 2015-07-20 17:57:46 -04:00
tux3
79a9928c75
Link with -ffmpeg libav* sonames 2015-06-27 02:02:27 +02:00
TheSpiritXIII
d9d6f20bf7 Circles: Fix convention, crash and activity cycling 2015-06-26 10:54:49 +02:00
TheSpiritXIII
15f10c2f34 Recent list (right click empty list to test) 2015-06-26 10:54:49 +02:00
tux3
33a33ef051 Rebase on master 2015-06-26 10:54:49 +02:00
Daniel Hrabovcak
e0b9e81938 Minor circle widget base class cleanup 2015-06-26 10:54:00 +02:00
Daniel Hrabovcak
a0b312dd97 Fixed group and circle illegal chars, inline renaming for friend list widgets, sort circles alphabetically 2015-06-26 10:53:59 +02:00
Daniel Hrabovcak
3fc9dd1070 Fixed sorting within contact groups 2015-06-26 10:53:01 +02:00
Daniel Hrabovcak
631148cdae Basic contact grouping 2015-06-26 10:51:04 +02:00
tux3
a2cf456f1d
Merge branch 'pr1843' 2015-06-24 21:23:48 +02:00
tux3
c8f7748c1c
Update JENKINS linux build config 2015-06-23 02:05:22 +02:00
tux3
a5d0acaf53
Merge branch 'pr1895' 2015-06-22 13:59:29 +02:00
David Zero
be1efb9e65 Added a proper About page. Closes #1668
The license text was removed from the Advanced section of the settings
menu and placed into its own About section. Users can now also discover
the commit hash of the build they are running through the UI, instead of
having to comb through logs, or use git.
2015-06-20 03:59:46 -07:00
jx
4bfe03edbd Add ffmpeg include to compile on Fedora 22 2015-06-17 20:32:21 +02:00
TheSpiritXIII
b83b5dbe59 Show edge markers for notifications
Add margin for edge notification marker

Fix conventions

Make AdjustingScrollArea not final
2015-06-10 13:20:52 -04:00
tux3
443df45d21
Disable RTTI 2015-06-07 20:24:55 +02:00
tux3
13bea16292
Add encrypting profile settings serializer
We now use a binary serialized format to save space and allow clean encryption of the user settings.
All the settings can (and should) be edited from the GUI so there is no loss of functionnality.

It can still read the old .ini format, and will seamlessly upgrade to the new format.

Fixes #1810
2015-06-06 20:15:50 +02:00
tux3
0a04c48f33
Move adjustingscrollarea.cpp 2015-06-06 02:16:52 +02:00
tux3
20f254651d
Reorganize files 2015-06-06 01:44:47 +02:00
tux3
192d9a5e29
Cleanup main() a bit 2015-06-05 12:44:22 +02:00
tux3
6bf0317e3e
Translate all GUI, not just Widget 2015-06-05 12:26:04 +02:00
tux3
7d6167d90c Scan profiles for login screen 2015-06-04 21:34:12 +02:00
tux3
6b5f0e6ad7 Disable login screen on Android 2015-06-04 21:34:12 +02:00
tux3
9ebfc9eb77 Create login screen UI 2015-06-04 21:34:12 +02:00
tux3
639e71d0a3
Don't compile linux files on mac 2015-06-04 21:18:31 +02:00
tux3
ba206d3a8b Only compile v4l2 support on *nix 2015-06-03 02:10:53 +02:00
tux3
fe4838bb83 Video modesetting for v4l2 2015-06-03 02:10:53 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
27bb71f195 Implement video modesetting for dshow 2015-06-03 02:10:52 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f0f069114c Implement DirectShow video dev listing
We can now get the list of video devices with the dshow ffmpeg device
(so, on Windows). Most of this patch is adapted from libavdevice's dshow
private internal interface, which retrieves useful info but is only
designed to log it to stdout. We reimplement that to get an actual list
of devices names/descriptions, that we can then open with ffmpeg the
refular way.
2015-06-03 02:10:52 +02:00
tux3
63fe107c2e Disable exceptions support
With -fno-exceptions

Now if we could just get -fno-rtti
2015-06-03 02:10:52 +02:00
tux3
d53b426750 Replace OpenCV with FFmpeg 2015-06-03 02:10:52 +02:00
Ansa89
f716027180 Fix needed to compile on slackware64 14.1 (with multilib) 2015-05-24 14:33:51 +02:00
marcel
08e6004361 added separate class for ToxId 2015-05-17 21:23:52 +02:00
tux3
76cbaf18f1
Fix incorrect copyright headers
The qTox Project is not associated with the Tox Project in any ways, with the exception of "qTox" using the Tox Projet's "toxcore" collection of libraries.
In particular, the Tox Projet does not own copyright over the qTox Project's "qTox" collection of software, source code, and assets.
The qTox Project's assets are under the sole copyright of the qTox contributors, and no partiular rights are granted to the Tox Project.
2015-05-12 04:12:53 +02:00
sudden6
0e91d59454 rework the logging and debug output 2015-05-11 15:37:56 +02:00
Ilya Kowalewski
6c8b130a25 Redesign draft for settings pane and proper UX for Mac 2015-05-11 00:41:34 +03: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
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
66cb02d1c3
Fix qTox Android build 2015-04-27 17:59:44 +02:00
tux3
bd5eebbc2e
Cache avatar sending, fix image file preview
- Add AvatarBroadcaster, in charge of making sure our friends have our avatar without spamming file transfers

- Fix file sending code not closing the file after transfer, which prevented file previews, and make the QFile a shared_ptr to fix the obvious memory leak

Some small additions to Core to support AvatarBroadcaster
2015-04-25 16:51:58 +02:00
tux3
bbf75aefb9
Profile locking 2015-04-24 18:53:19 +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
Dubslow
34e927560a
Add -lqrencode to JENKINS 2015-03-16 17:26:09 -05:00